通达信私募敢死队1源码
IF(CURRBARSCOUNT<INTPART(PPART(94)*100/2),CONST(COSTEX(REF(CLOSE,94),REF(CLOSE,95))),DRAWNULL),COLORBLUE;
IF(CURRBARSCOUNT<INTPART(PPART(95)*100/2),CONST(COSTEX(REF(CLOSE,95),REF(CLOSE,96))),DRAWNULL),COLORBLUE;
IF(CURRBARSCOUNT<INTPART(PPART(96)*100/2),CONST(COSTEX(REF(CLOSE,96),REF(CLOSE,97))),DRAWNULL),COLORBLUE;
VAR1:=IF(CURRBARSCOUNT<INTPART(PPART(1)*100/2),CONST(CLOSE),DRAWNULL);
VAR2:=IF(CURRBARSCOUNT<INTPART(PPART(1)*100/2),CONST(CLOSE)*1.03,DRAWNULL);
VAR3:=IF(CURRBARSCOUNT<INTPART(PPART(4)*100/2),CONST(COSTEX(REF(CLOSE,3),REF(CLOSE,4))),DRAWNULL);
VAR4:=IF(CURRBARSCOUNT<INTPART(PPART(4)*100/2),CONST(VAR3*1.03),DRAWNULL);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
私募密线:EMA(COST(95),9),COLORYELLOW,LINETHICK2;
上界线:MA(LOW,20)*1.2,CROSSDOT,COLORMAGENTA;
妖股线:MA(LOW,20)*1.1,COLORRED,LINETHICK2;
MA5:MA(CLOSE,5),COLORWHITE;
VAR5:=(COST(16)+COST(34)+COST(49))/3;
DRAWTEXT_FIX(1,0.42,5,0,1),COLORMAGENTA;
VAR6:=STRCAT(HYBLOCK,2);
VAR7:=STRCAT(VAR6,DYBLOCK);
VAR8:=STRCAT(VAR7,2);
DRAWTEXT_FIX(ISLASTBAR,0,0.04,0,STRCAT(VAR8,GNBLOCK)),COLORYELLOW;
- 上一篇公式:通达信神星操盘线源码
- 下一篇公式:多空对比精准买点公式