信号准确,无未来,副图,另一公式用在盘中预警选股
源码:
20,POINTDOT;
80,POINTDOT;
VAR1:=(2*C+H+L)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
AA:EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5),COLORRED;
BB:EMA(AA,5)COLOR00FFFF;
DRAWBAND(AA,RGB(200,0,0),BB,RGB(0,200,200));
DRAWICON(CROSS(AA,BB),BB-5,1);
DRAWICON(CROSS(BB,AA),AA+5,2);
STICKLINE(AA<20,2,7,1,1),COLORFF00FF;
STICKLINE(AA>80,92,97,1,1),COLOR00FFFF;
IF(AA>=BB,100,108);
IF(AA
DRAWICON(BB>AA,-8,2);
STICKLINE( CROSS(AA,BB),-8,15,1,0),COLORRED,LINETHICK2;
STICKLINE( CROSS(AA,BB),1,6,1,0),COLOR00FFFF,LINETHICK2;
DRAWICON(CROSS(AA,BB),13,13);
STICKLINE( CROSS(BB,AA),108,85,1,0),COLOR00FF00,LINETHICK2;
STICKLINE( CROSS(BB,AA),94,99,1,0),COLORFF00FF,LINETHICK2;
DRAWICON(CROSS(BB,AA),85,14);
《准确控盘》预警选股源码:
买:=IF("KDJ.J"<0,10,0);
条件:=CROSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
MA1:=MA(VAR4,2);
AA:=STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORRED;
BBB:=STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,3,1),COLORRED;
CROSS(9.9,买);