「翔博精选指标」百战不殆,无未来函数源码分享 (通达信公式 副
2020-06-22原创 编 辑:翔博软件
{百战不殆副图}
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,30);
VAR4:=MA(CLOSE,60);
VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC:=INTPART(VARB*100)/100;
VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE:=EMA(VARD,9);
VAR13:=REF(VARE,1);
VAR14:=VARE;
VAR15:=VAR14-VAR13;
VAR16:=REF(VARD,1);
VAR17:=VARD;
VAR18:=VAR17-VAR16;
黑马剑:=IF(O<=VAR1 AND O<=VAR2 AND O<=VAR3 AND C>=VAR1 AND C>=VARC AND VAR15>0 AND VAR18>0,0.8,0);
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
MA13:=MA(C,13);
MA20:=MA(C,20);
百战不殆:=REF(EVERY(C>VAR1,5),3) AND L<MA20 AND CROSS(C,MA13) AND BBUY AND 黑马剑;
STICKLINE(百战不殆,0,1*1.1,2,0),COLORWHITE;
STICKLINE(百战不殆,2,1,2,0),COLORRED;
STICKLINE(百战不殆,0,1*0.8,4,0),COLORCYAN;
STICKLINE(百战不殆,0,1*0.4,8,0),COLORFFCC66;
STICKLINE(百战不殆,0,1*0.2,10,0),COLORFF00FF;
STICKLINE(百战不殆,0,1*0.1,10,0),COLORBLUE;
DRAWTEXT(百战不殆,1.5,'**百战不殆'),COLORYELLOW;
{百战不殆选股}
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,30);
VAR4:=MA(CLOSE,60);
VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC:=INTPART(VARB*100)/100;
VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE:=EMA(VARD,9);
VAR13:=REF(VARE,1);
VAR14:=VARE;
VAR15:=VAR14-VAR13;
VAR16:=REF(VARD,1);
VAR17:=VARD;
VAR18:=VAR17-VAR16;
黑马剑:=IF(O<=VAR1 AND O<=VAR2 AND O<=VAR3 AND C>=VAR1 AND C>=VARC AND VAR15>0 AND VAR18>0,0.8,0);
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
MA13:=MA(C,13);
MA20:=MA(C,20);