手机端
当前位置:爱约股 > 公式技巧 > 将均线、CCI等选股公式编成tdx主图

将均线、CCI等选股公式编成tdx主图

各位老师好,本人最近自己把网上一些指标组合成自己的一选股公式,但在实战看盘中感觉不方便,恳请各位老师帮忙将指标编成主图提示,买入提示即为选股指标,卖出点为破五天线即卖出。 操盘线向上:=MA(C,20)>REF(MA(C,20),1); 五日线向上:=MA(C,5)>REF(MA(C,5),1); 股价:=DYNAINFO(7)>MA(CLOSE,5); 现价:=DYNAINFO(7) =MA(C,120) AND MA(C,120)>=MA(C,250) ; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; MAVOL1:=MA(V,5); MAVOL2:=MA(V,30); {N:2,100,14} TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)); XG: 现价 AND 操盘线向上 AND 五日线向上 AND 股价 AND CCI>=100 AND DTPL AND K>D AND MACD>0 AND MAVOL1>=MAVOL2 AND DYNAINFO(7)>MA(C,20) AND DYNAINFO(13)>0.05 AND DYNAINFO(37)>0.05 AND ((MA(C,5)>=MA(C,20))) ; 再次谢谢各位老师!

爱约股解答:

MA5:MA(C,5); MA10:MA(C,10);MA20:MA(C,20);
操盘线向上:=MA(C,20)>REF(MA(C,20),1);
五日线向上:=MA(C,5)>REF(MA(C,5),1);
股价:=DYNAINFO(7)>MA(CLOSE,5);
现价:=DYNAINFO(7) <30;
虚拟成交量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
DTPL:= MA(C,60)>=MA(C,120) AND MA(C,120)>=MA(C,250) ;
K:="KDJ.K";
D:="KDJ.D";

MAVOL1:=MA(V,5);
MAVOL2:=MA(V,30);
{N:2,100,14}
CCI:="CCI.CCI";

AA1:= 现价 AND 操盘线向上 AND 五日线向上 AND 股价 AND CCI>=100 AND DTPL
AND K>D AND MACD>0 AND MAVOL1>=MAVOL2 AND DYNAINFO(7)>MA(C,20)
AND DYNAINFO(13)>0.05 AND DYNAINFO(37)>0.05 AND ((MA(C,5)>=MA(C,20))) ;

BB:= 现价 AND 五日线向上 AND 股价 AND 虚拟成交量>=REF(V,1)*1.9
AND K>D AND MACD>0 AND MAVOL1>=MAVOL2 AND DYNAINFO(7)>MA(C,20)
AND DYNAINFO(37)>0.03 AND DYNAINFO(13)>0.05 ;

DRAWICON(AA1,L*0.98,1);
DRAWICON(BB,L*0.95,7);
KK:=CROSS(MA5,C);
DRAWICON(KK,H*1.03,8);

TAG:
分享至:

相关推荐