怎样把通达信的指标公式改为大智慧指标公式,条件选股公式,进行预警?

就是好爱Jay 2024-05-19 08:46:43
最佳回答
{ok。主图通过测试}均价线:amount/v/100,pointdot;c2:=ref(c,1);涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);stickline(涨停,open,close,8,0),colorred;stickline(涨停,open,close,5,0),coloryellow;stickline(涨停,h,l,0,0),coloryellow;b1:='┄┄┄┄┄';drawtext(均价线 and 涨停,均价线,b1),colorgreen;b3:='┄┄┄┄┄';drawtext((o+c)/2 and 涨停,(o+c)/2 ,b3),colormagenta;b2:='┄┄┄┄┄';drawtext(涨停,l,b2),colorgray;ma13:ma(c,13),colorgray;ma21:ma(c,21),colorwhite;支撑线:(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4,colormagenta;lc:=ref(close,1);操作线:sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100,colorwhite,linethick0;趋势线:sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100,colorgray,linethick0;震仓线:45,colormagenta,linethick0;震仓线2:50,colorgray,linethick0;逃命线:80,colorred,linethick0;抄底线:20,colorgreen,linethick0;绝底线:5,colorblue,linethick0;pp2:=操作线<震仓线2 and ref(操作线,1)>震仓线2 ;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;pp3:=操作线<抄底线 and ref(操作线,1)>抄底线;hh:=count(涨停,13)>=1;stickline(pp2 and hh,open,close,8,0),colorblue;stickline(pp and hh,open,close,8,0),colorblue;stickline(pp3 and hh,open,close,8,0),colorblue;a:=sma(l,4,3) ;stickline(a and ref(pp,1) and hh ,a*0.9999,a*0.9979,8,0),colorgreen;partline(l,a and ref(pp,1) and hh,rgb(250,0,0)),circledot; drawicon(a and ref(pp,1) and hh,l*0.98,1);stickline(a and ref(pp3,1) and hh ,a*0.9999,a*0.9979,8,0),colorgreen;partline(l,a and ref(pp3,1) and hh,rgb(0,250,0)),circledot;drawicon(a and ref(pp3,1) and hh,l*0.98,1); hd:=count(涨停,21)>=1;a1:=sma(h,4,3);stickline(a1 and hd ,a1,a1*1.001,8,0),colorwhite;博金投资:indexadv,color0000ee,linethick0; ========================{副图显示}lc:=ref(close,1);操作线:sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100,colorwhite,linethick0;趋势线:sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100,colorgray,linethick0;震仓线:45,colormagenta,linethick0;震仓线2:50,colorgray,linethick0;逃命线:80,colorred,linethick0;抄底线:20,colorgreen,linethick0;绝底线:5,colorblue,linethick0;pp2:=操作线<震仓线2 and ref(操作线,1)>震仓线2 ;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;pp3:=操作线<抄底线 and ref(操作线,1)>抄底线;涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);hh:=count(涨停,13)>=1;stickline(涨停 and hh,0,0.8,4.5,0),coloryellow;drawtext(涨停 and hh,1.3,'涨'),coloryellow;drawtext(涨停 and hh,1,'停'),coloryellow;aa:=ref(pp,1) and hh;stickline(pp and hh,0,0.8,2,0),colorred;drawtext(pp and hh,1.3,'预'),colorred;drawtext(pp and hh,1,'警'),colorred;stickline(ref(pp,1) and hh,0,3,0.5,0),colorgreen;drawicon(ref(pp,1) and hh,3.3,1);bb:=ref(pp3,1) and hh;stickline(pp3 and hh,0,0.8,2,0),colorred;stickline(ref(pp3,1) and hh,0,3,0.5,0),colorgreen;drawicon(ref(pp3,1) and hh,3.3,1);黄色涨停板:pp,linethick0,coloryellow;红色预警:pp,linethick0,colorred;绿色买入:pp,linethick0,colorgreen;====================={预警选股}{1}lc:=ref(close,1);操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;趋势线:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;震仓线:=45;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);hh:=count(涨停,13)>=1;ref(pp,1) and hh;====================={2}涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);hh:=count(涨停,13)>=1;涨停 and hh;========================={3}lc:=ref(close,1);操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;抄底线:=20;pp3:=操作线<抄底线 and ref(操作线,1)>抄底线;涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);hh:=count(涨停,13)>=1;pp3 and hh; 20210311
汇率兑换计算器

类似问答
  • 通达信主图指标公式 改成条件选股公式
    • 2024-05-19 01:57:22
    • 提问者: 未知
    买线:=(c,2); 卖线:=(slope(c,21)*21+c,42); buy:(买线,卖线);
  • 请人把 大智慧操盘线改为通达信指标公式
    • 2024-05-19 07:15:18
    • 提问者: 未知
    bu:=cross(high,sar(3,1,20));sel:=cross(sar(3,1,20),low);var1:=barslast(high(3,1,20));var2:=barslast(low>sar(3,1,20));stickline(low>sar(3,1,20)and o>c,high,open,...
  • 怎样把分时突破指标公式改为条件预警公式?
    • 2024-05-19 12:00:09
    • 提问者: 未知
    w1:=c=hhv(c,20);w2:=barslast(w1);w3:=if(w2>0,ref(c,w2),ref(c,w2));w4:=cross(c,ref(w3,1));分时压力:=ma(ref(hhv(c,30),1),2),colormagenta;分时支撑:=ma(ref(llv(c,30),1),2),colorblue;drawicon(w4 and count(w4,5)...
  • 通信达指标公式改成选股公式
    • 2024-05-19 15:23:36
    • 提问者: 未知
    aa:=winner(close+close*15/100)*100;bb:=winner(close+close*0/100)*100;cc:=aa-bb;dd:=(winner(close-close*0.1/100)-winner(close-close*15/100))*100;ee:=cc<3 and dd<0.5 and open!=low;a1:=dyna**(6);a2...
  • 麻烦老师把这通达信的指标公式,改成选股和预警公式!谢谢!
    • 2024-05-19 11:39:47
    • 提问者: 未知
    {绿线买}lc:=ref(close,1);操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;趋势线:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;震仓线:=45;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;涨停:=if(ref(c,1)...
  • 通达信指标公式改成选股公式
    • 2024-05-19 11:37:33
    • 提问者: 未知
    命:=ema(c,6);命c:=ema(命,6);变异1:=命+命-命c;变异线1:=ema(变异1,6);变异2:=变异1+变异1-变异线1;变异线2:=ema(变异2,6);cg:=变异线2;地1:=llv(cg,12);天1:=hhv(cg,12);fs3:=if(cg>地1,(cg+(cg-地1)),cg);买方:=(fs3-天1)/天1*100;pp:=(fs3-天1)/天1*10...
  • 怎样把通达信的指标公式改为条件选股公式,进行预警
    • 2024-05-19 16:25:38
    • 提问者: 未知
    通达信指标公式与选股公式最主要的区别是,指标公式可以有多个输出,而选股公式只能有一个输出。要把指标公式改成选股公式最简单的办法是把你不需要的输出语句改成赋值语句就可以了。 va:=if(close>ref(close,1),vol,-vol); obv:sum(if(close=ref(close,1),0,va),0); maobv:ma(obv,m); range((((obv-maob...
  • 求高手将这个大智慧指标公式修改为通达信指标
    • 2024-05-19 00:52:27
    • 提问者: 未知
    必须把公式全部发上来才可以帮你。
  • 通达信指标公式改选股公式?
    • 2024-05-19 11:54:40
    • 提问者: 未知
    可以修改这段通达信代码,但无法测试。因为你没提供所引用的扩展数据。
  • 帮我把通信达指标改成选股公式
    • 2024-05-19 17:15:27
    • 提问者: 未知
    dif:=ema(close,12)-ema(close,26); dea:=ema(dif,9);macd:=(dif-dea)*2;根据思路编写公式,修改公式。盘中预警,条件选股。公式解密,去除时间限制。点下方图 像可 (私) 信 订 公式。
汇率兑换计算器

热门推荐
热门问答
最新问答
推荐问答
新手帮助
常见问题
房贷计算器-九子财经 | 备案号: 桂ICP备19010581号-1 商务联系 企鹅:2790-680461

特别声明:本网为公益网站,人人都可发布,所有内容为会员自行上传发布",本站不承担任何法律责任,如内容有该作者著作权或违规内容,请联系我们清空删除。