以下是通达信【分时买卖提示】适合分时T+0操作主图源码(无源码的请下载附件导入)
{分时买卖提示主图}
VAR1:=DYNAINFO(3);
VAR2:=DYNAINFO(5);
VAR3:=DYNAINFO(6);
VAR4:MA(REF(HHV(C,30),1),2),COLORGREEN,CIRCLEDOT;
VAR5:MA(REF(LLV(C,30),1),2),COLORMAGENTA,CIRCLEDOT;
VAR6:=MAX(VAR1,VAR2);
VAR7:=MIN(VAR1,VAR3);
VAR8:=VAR6-VAR7;
VAR9:=VAR7+VAR8*0.875;
VAR10:=VAR7+VAR8*0.0625;
VAR11:=CROSS(VAR10,C);
VAR12:=LONGCROSS(VAR10,C,2);
VAR13:=LONGCROSS(C,VAR9,2);
STICKLINE(VAR11,VAR10,VAR9,3,0),COLORYELLOW;
DRAWICON(VAR12,VAR10,34);
DRAWICON(VAR13,VAR9,35);
88366395.jpg
|