通达信单日反转副图指标
源码
AA:=REF(C,1)/REF(O,1) 0.96;
BB:=C/O 1.03;
CC:=C REF(O,1);
TJ1:=AA AND BB AND CC;
X1:=REF(C,1)/HHV(H,20) 0.82;
DN:=O
X2:=COUNT(DN,7)
X3:=C=HHV(C,3);
XG1:=TJ1 AND X1 AND X2;
XG2:=X1 AND X2 AND X3;
XG:=XG1 OR XG2;
STICKLINE(XG ,0,20,3,0),COLOR00FFFF;
DRAWTEXT(XG,20,'反转'),COLOR00FFFF;
X11:=REF(C,1)/HHV(H,20) 0.82;
X22:=(MIN(C,O)-L)/(H-L) 0.67;
X33:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW) 0.33;
X44:=ABS(C-O)/C 0.01;
DOWN:=O
X55:=COUNT(DOWN,7)
XG11:=X11 AND X22 AND X33 AND X44 AND X55;
STICKLINE(XG11 ,0,30,4,0),COLOR0000FF;
DRAWTEXT(XG11,25,'螺旋'),COLOR0000FF;