各位高手帮我这个通达信指标改个选股公式吧

要求选出前一天的下极点,指标如下: N1:=10;N2:=10;DISP:=2; K:=IF(PERIOD=5,1,{日} IF(PERIOD=6,1,{周} IF(PERIOD=7,1,{月} IF(PERIOD=8,1,{多分钟} IF(PERIOD=9,1,{多日} IF(PERIOD=10,1,{季} IF(PERIOD=11,2,{年} IF(PERIOD=4,1,{60F} IF(PERIOD=3,1,{30F} IF(PERIOD=2,1,{15F} IF(PERIOD=1,1{5F},1{1F})))))))))))/10; P1:=PEAK(1,K*N1,1); P2:=PEAK(1,K*N1,2); WP1:=PEAKBARS(1,K*N1,1); WP2:=PEAKBARS(1,K*N1,2); T1:=TROUGH(2,K*N2,1); T2:=TROUGH(2,K*N2,2); WT1:=TROUGHBARS(2,K*N2,1); WT2:=TROUGHBARS(2,K*N2,2); TJ1:=P1>T1 AND P2>T2 ; ZD:=MAX(T1,T2); ZG:=MIN(P1,P2); LL:=MIN(T1,T2); HH:=MAX(P1,P2); TJ2:=FILTER(ZG>ZD,2); TJ3:=ZG=REF(ZG,BARSLAST(TJ2)) OR ZD=REF(ZD,BARSLAST(TJ2)); TJ4:=TJ1&&TJ2&&NOT(TJ3); TJ5:=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4),1))); TJ6:=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4),1))); TJ7:=ZG>REF(ZG,REF(BARSLAST(TJ4),1))&&ZD TJ8:=TJ4&&NOT(TJ5 OR TJ6 OR TJ7); ZSD:=IF(TJ8,ZD,DRAWNULL); ZSG:=IF(TJ8,ZG,DRAWNULL); ZSH:=IF(TJ8,HH,DRAWNULL); ZSL:=IF(TJ8,LL,DRAWNULL); STICKLINE(TJ8,ZSH,ZSL,0,-1),COLORMAGENTA; STICKLINE(TJ8,ZSD,ZSG,IF(DISP=1,3,0),1),COLORMAGENTA; DRAWTEXT(DISP=2,ZSH,'中枢'),COLORWHITE; 太长了,写不下

第1个回答  2020-10-05
{DXH-多信号}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);MCDA金叉:=DIFF>DEA;
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);KDJ金叉:=K>D;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))/(SMA(ABS(CLOSE-LC),9,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),26,1))/(SMA(ABS(CLOSE-LC),26,1))*100;
RSI金叉:=RSI1>RSI2;
VARA1:=LLV(LOW,10);VARA2:=HHV(HIGH,25);
趋势:=EMA((CLOSE-VARA1)/(VARA2-VARA1)*110,4);
顶底:=趋势>=REF(趋势,1);
BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
BBI金叉:=CLOSE>BBI;
VAR1:=1;VAR2:=((((2*CLOSE)+HIGH)+LOW)/4);
VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);
C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1);
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1);
AA:=C1>=C2
;BB:=C2>C1;抢反弹:=C1>=C2;
VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,10);
成交量:=MAVOL1>MAVOL2;
周K:=MA("KDJ.K#WEEK"(9,3,3),5);
周D:=MA("KDJ.D#WEEK"(9,3,3),5);
周J:=MA("KDJ.J#WEEK"(9,3,3),5);
周KD金叉:=周K>=周D;
周K拐点:=周K>=REF(周K,1);周J拐点:=周J>=REF(周J,1)
;
DXHXG:周K拐点
AND
周J拐点
AND
周KD金叉
AND
MCDA金叉
AND
KDJ金叉
AND
RSI金叉
AND
顶底
AND
BBI金叉
AND
抢反弹
AND
成交量;
属于多信号的选法。通过测试。{个人看法,仅供参考。}

请高手帮我把这个通达信指标改写成条件选股公式
综合:笑脸 AND 出击;{无未来函数,上面共三个公式,复制可用}

通达信指标改为选股公式(筹码方面)
HSL:=EMA(VOL\/CAPITAL,3);ZDL:=HHV(HSL,240);ZXL:=LLV(HSL,240);XS:=MA(C,33);锁定筹码:=EMA((HSL-ZXL)\/ZXL*XS,13);浮动筹码:=EMA((ZDL-HSL)\/HSL*XS,13);力量对比:=锁定筹码-浮动筹码,COLORSTICK;XG:力量对比>150;{力量对比大于150的个股} A7:=C-REF(C,1);A8:=100*EMA(EMA...

求助 通达信指标改选股公式
A1:=REF(V,1);A2:=DVOL;A3:=A2\/A1;LNX:=A3-REF(A3,1);E1:=REF(C,1);E2:=DCLOSE;E3:=(E2-E1)\/E1*100;QMX:=E3-REF(E3,1);XG:CROSS(LNX,500) AND CROSS(QMX,10);

谁能帮我改通达信指标改为选股公式
A:=(EMA(((O+H+L+C)\/4),21)+EMA(((O+H+L+C)\/4),34)+EMA(((O+H+L+C)\/4),55))\/3;RANGE(A,REF(A,1),C) AND REF(V,1)<REF(V,2);周期 选为周线即可。从图中可以看出,这一周是在绿线之上,而不是红线之上,故选不出来。———原二楼辩解 ...

各位高手帮我这个通达信指标改个选股公式吧
{DXH-多信号} DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MCDA金叉:=DIFF>DEA;RSV:=(CLOSE-LLV(LOW,12))\/(HHV(HIGH,12)-LLV(LOW,12))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);KDJ金叉:=K>D;LC:=REF(CLOSE,1);RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))\/(SMA(...

求高手将这个通达信指标改为选股公式,选出获利盘%上穿主力的股票_百度...
主力:=EMA(WINNER(C)*100,5);获利盘%:=WINNER(CLOSE)*100;X:CROSS(获利盘%,主力);

请高手将这个通达信指标改成选股公式,当天选出底下出现小黄柱的股票...
MA5:=EMA(C,5);MA13:=EMA(C,13);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0);DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),...

请高手将这个通达信指标改为选股公式。选出当天资金流入强度大于0,并且...
CLOSE*0.9))*80,3);{\/\/散户筹码估算} ZSHTL:=SHCM\/(ZLCM+SHCM)*100;{\/\/散户套牢筹码比率} ZZLKP:=ZLCM\/(ZLCM+SHCM)*100;{\/\/主力控盘筹码比率} ZZLJJ:=EMA(ZZLKP,89);{\/\/主力警戒} ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{\/\/资金流入强度} XG:REF(ZJLRQD<0,1) AND ZJLRQD>0;

请高手将这个通达信指标改成选股公式。选出当天主力控盘系数大于60的股...
ZLCM:=EMA(WINNER(CLOSE)*70,3);{\/\/主力筹码估算} SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{\/\/小筹码估算} ZZLKP:=ZLCM\/(ZLCM+SHCM)*100;{\/\/主力控盘筹码比率} 主力控盘系数:INTPART(ZZLKP)>60;

求个高手把通达信指标改成选股公式红柱
通达信指标改成选股公式红柱如下:VBB1:=TROUGHBARS(3,15,1)VBB2:=PEAKBARS(3,15,1)VBB3:=IF(VBB1=1,50,0);VBB4:=IF(VBB2=1,50,0);底部:=IF(VBB3=50,10,0);头部:=IF(VBB4=50,20,60);买入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,-30,-50);...

相似回答
大家正在搜