通达信阴线买预警源码
阴线买 (副图 选股 预警)
MA17:=EMA(C,17);
MA5:=MA(C,5);
MA10:=MA(C,10);
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
CYC∞:=IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
XG:C>CYC∞ AND C>MA17 AND CROSS(MA10,MA5);
阴线买 (主图。。。。。。。。。。)
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
分界:IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
EMA7:分界,COLORRED;
IF(EMA7>REF(EMA7,1),EMA7,DRAWNULL),COLORRED,LINETHICK2;
IF(EMA7<REF(EMA7,1),EMA7,DRAWNULL),COLORGREEN,LINETHICK2;
趋势:EMA(C,17);
EMA11:趋势,COLORRED;
IF(EMA11>REF(EMA11,1),EMA11,DRAWNULL),COLORRED,LINETHICK2;
IF(EMA11<REF(EMA11,1),EMA11,DRAWNULL),COLORGREEN,LINETHICK2;
MA5:=MA(C,5);
MA10:=MA(C,10);
XG:=C>分界 AND C>趋势 AND CROSS(MA10,MA5);
DRAWICON(XG,趋势*0.97,9);
- 上一篇公式:通达信金牛主图指标源码
- 下一篇公式:通达信布林线主图买卖点源码