永发信息网

请给下面指标里出现:信号做个选股公式 (出手就赢和同时出现红色箭头黄竖线 线 去除)

答案:2  悬赏:80  手机版
解决时间 2021-01-26 12:00
  • 提问者网友:沦陷
  • 2021-01-25 14:11
请给下面指标里出现:出手就赢和同时出现红色箭头黄竖线信号做个选股公式吧然后加上 去除
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
STICKLINE(VAR9>-150,0,VAR9,3,0), , COLORFF00FF;
底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;
STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , COLORFFFFFF;
先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;
可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;
短线获利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,0,2,0),COLOR0000FF;
VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VARK2:=REVERSe(VARK1);VARK3:=SMA(VARK1,3,1);
波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;
波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;
趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,COLORFF6666,LINETHICK2;
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV9,3,1);
DK1:=K1-REF(K1,1),COLORSTICK;
出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0), STICK,COLORYELLOW;DRAWICON(出手就赢>0,50 ,1);
买点准备:IF(趋势线<=10,0,10), COLORFF9933,LINETHICK3;STICKLINE( CROSS(趋势线,10),0,73,6,0), COLOR3366FF,;
DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORWHITE ;
DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'$备钱'),COLOR33FFCC,;
DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,50,'短买'),,,,COLORRED ,;
DRAWTEXT(CROSS(底部吸筹指标,-24),80,'抄底'),COLORWHITE ,;

然后加上去除
去除
PN1:=DYNAINFO(8)>0;
PN2:=DYNAINFO(17)>0;
PN3:=DYNAINFO(22)>0;
PN4:=DYNAINFO(23)>0;
ST:=IF(NAMELIKE('ST')=1,0,
IF(NAMELIKE('S ST')=1,0,
IF(NAMELIKE('*ST')=1,0,1)));
去除: PN1*PN2*PN3*PN4*ST; {只选非ST类和当天非停牌的股------用于配合选股公式};
最佳答案
  • 五星知识达人网友:西风乍起
  • 2021-01-25 14:26
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV9,3,1);
DK1:=K1-REF(K1,1);
出手就赢:=DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9;
{去除}
PN1:=DYNAINFO(8)>0;
PN2:=DYNAINFO(17)>0;
PN3:=DYNAINFO(22)>0;
PN4:=DYNAINFO(23)>0;
ST:=IF(NAMELIKE('ST')=1,0,IF(NAMELIKE('S ST')=1,0,IF(NAMELIKE('*ST')=1,0,1)));
去除:=PN1*PN2*PN3*PN4*ST;
XG:出手就赢 AND 去除;
全部回答
  • 1楼网友:山君与见山
  • 2021-01-25 15:36
diff:=(ema(close,12) - ema(close,26)); dea:=ema(diff,9); macd2:=(2 * (diff - dea)); du0:=cross(diff,0); ud0:=cross(0,diff); tdu0:=barslast(du0); tud0:=barslast(ud0); du3:=ref(du0,1); ud3:=ref(ud0,1); tdu3:=barslast(du3); tud3:=barslast(ud3); udgline:=if((tdu3 < tud3),ref(hhv(high,2),tdu3),ref(llv(low,2),tud3)); jdu0:=(((ref(close,1) <= ref(udgline,1)) and (close > udgline)) and (tdu0 < tud0)); jud0:=(((ref(close,1) >= ref(udgline,1)) and (close < udgline)) and (tud0 < tdu0)); jdu1:=(jdu0 and (count(jdu0,tdu0) = 1)); jud1:=(jud0 and (count(jud0,tud0) = 1)); jdu2:=(jdu1 and (ref(barslast(jud1),1) < ref(barslast(jdu1),1))); jud2:=(jud1 and (ref(barslast(jud1),1) > ref(barslast(jdu1),1))); jdu3:=(jdu1 and (ref(barslast(jud1),1) > ref(barslast(jdu1),1))); jud3:=(jud1 and (ref(barslast(jud1),1) < ref(barslast(jdu1),1))); bsline:=if((barslast(jdu2) < barslast(jud2)),if(ref(cross(0,macd2),1),llv(low,2),ref(llv(low,2), barslast(ref(cross(0,macd2),1)))),if(ref(cross(macd2,0),1),hhv(high,2),ref(hhv(high,2), barslast(ref(cross(macd2,0),1))))); stickline((macd2>=0),0,macd2,1,1),color0000ff; stickline(((macd2>=0) and (macd2 < ref(macd2,1))),0,macd2,1,0),colorred; stickline((macd2<0),0,macd2,1,0),colorffff00; stickline(((macd2<0) and (macd2 > ref(macd2,1))),0,macd2,1,1),colorcyan; dif:diff,linethick2,color00ffff; def:dea,color00ff00; macd:macd2,linethick0,colorffff00; defut:=barslast(cross(macd2,0)); defdt:=barslast(cross(0,macd2)); deful:=if((macd2 >= 0),hhv(macd2,(defut + 1)),ref(hhv(macd2,(defut + 1)),(defdt + 1))); defdl:=if((macd2 < 0),llv(macd2,(defdt + 1)),ref(llv(macd2,(defdt + 1)),(defut + 1))); defu2l:=ref(deful,(defut + 1)); defd2l:=ref(defdl,(defdt + 1)); buy1:=((((hhv(macd2,4) < 0) and (macd2 > ref(macd2,1))) and (ref(macd2,1) < ref(macd2,2))) and (ref(macd2,2) < ref(macd2,3))); buy2:=((((jud1 or (barslast(jdu1) > barslast(jud1))) and (macd2 >= 0)) and (ref(macd2,1) < ref(defu2l,1))) and (macd2 > defu2l)); buy3: buy1 or buy2; 以上是完整的选股公式,通达信测试通过,新建一个用户技术指标,然后在综合选股里找到该指标才能执行选股。 必须新建在“用户技术指标”里,不要建在“条件选股”里,同花顺是建在条件选股里的,不一样。我已经在通达信里试过了,选出140多个股票。
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯