最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 把“短线王”改写成“BS买卖点”

    正文概述    2024-04-14 08:44:06  

    九毛八公式指标

    请老师把下面源码中 ——— 1:以“短J5”上穿“V30A”时(如下图H1红剑头所示)作为“B点”,以“短J5’”下穿“V30”时(如下图H2蓝剑头所示)作为“S点”写个可加到均线系统后的“BS买卖点”公式; 2:在“短J5”上拐时(如下图H3红剑头所示)写个条件选股;先谢! 乖离率:=(C-MA(C,250))/MA(C,250)*100,COLOR00FFFF,LINETHICK2; MA乖离率5:=EMA(乖离率,5),COLOR4080FF; MA乖离率20:=EMA(乖离率,20),COLORRED; N1:=BARSLAST(CROSS(C,MA(C,250))); N2:=BARSLAST(CROSS(MA(C,250),C)); 长期趋势:=IF(N10,VAR1,0),COLORRED, LINESTICK; 下跌浪: IF(VAR1<0,VAR2,0),COLOR00FF00,LINESTICK; S1:=V/MA(V,20); XG:IF(S1>2 AND C>REF(C,1) AND V>REF(V,1),30,0),STICK,COLORFFFFFF, LINETHICK2; DRAWTEXT(S1>2 AND C>REF(C,1) AND V>REF(V,1),40,'大'),COLORFF00FF; DRAWTEXT(S1>2 AND C>REF(C,1) AND V>REF(V,1),55,'量'),COLORFF00FF;

    公式模块:

    乖离率:=(C-MA(C,250))/MA(C,250)*100,COLOR00FFFF,LINETHICK2;

    MA乖离率5:=EMA(乖离率,5),COLOR4080FF; MA乖离率20:=EMA(乖离率,20),COLORRED; N1:=BArslAST(crOSS(C,MA(C,250))); N2:=BARSLAST(CROSS(MA(C,250),C)); 长期趋势:=IF(N1<N2,N1+1,0),COLOR0000FF; 峰值乖离:=HHV(乖离率,长期趋势),COLOR00FF00; N1A:=BARSLAST(CROSS(C,MA(C,13))); N2A:=BARSLAST(CROSS(MA(C,13),C)); 短线跟踪:IF(N1A<N2A,N1A+1,0),COLORFFFFFF,LINETHICK1,LINESTICK; V0:0,COLORFFA2AF; RSV5:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100-50; 短K5:=SMA(RSV5,3,1); 短D5:=SMA(短K5,3,1); 短J5:3*短K5-2*短D5,COLORAAAAAA; RSV27:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100-50; 中K27:SMA(RSV27,3,1),LINETHICK3,COLORFFFFFF; RSV89:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100-50; K89:=SMA(RSV89,13,1); 长D89:SMA(K89,3,1),LINETHICK3,COLORFF00FF; V50:50,COLOR00FF00;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 把“短线王”改写成“BS买卖点” 加入收藏