以下是通达信阴线买预警公式
通达信阴线买预警公式
(建议半仓操作买入第二天如果产生三个交易日最低价继续补仓。第四个交易日破止损价立即止损,执行止损继续关注,股价重新突破止损价夺回你失去的损失)
阴线买 (副图 选股 预警)
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);