通达信一招制敌副图指标 源码 贴图
VAR1:=(HIGH-MAX(CLOSE,OPEN))/(MIN(CLOSE,OPEN)-LOW)>=3;
VAR2:=HIGH/LOW>=1.03;{公式网WWW.GPXIAZAI.COM}
VAR3:=MAX(CLOSE,OPEN)/MIN(CLOSE,OPEN)<=1.03;
VAR4:=VAR1 AND VAR2 AND VAR3;
VAR5:=OPEN<REF(HIGH,1);
VAR6:=MAX(CLOSE,OPEN)/MIN(CLOSE,OPEN)>=1.03;
VAR7:=(CLOSE-REF(CLOSE,1))/REF(HIGH-MAX(CLOSE,OPEN),1)>=0.7;
VAR8:=VAR5 AND VAR6 AND VAR7;
VAR9:=VAR8 AND REF(VAR4,1);
STICKLINE(VAR9,0,1,0.3,0),COLOR000099;
STICKLINE(VAR9,0,1,0.2,0),COLOR0000CC;
STICKLINE(VAR9,0,1,0.1,0),COLOR0000FF;
STICKLINE(VAR9,0,1,0,0),COLORCC66FF;
DRAWTEXT(VAR9,0.8,'一'),COLORYELLOW;
DRAWTEXT(VAR9,0.6,'招'),COLORYELLOW;
DRAWTEXT(VAR9,0.4,'制'),COLORYELLOW;
DRAWTEXT(VAR9,0.2,'敌'),COLORYELLOW;
|