通达信MACD瞄准冲锋指标公式

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORFFFFFF;
DEA:EMA(DIFF,9),COLOR00FFFF;
macd:(2)*(DIFF-DEA),COLORSTICK,COLOR00FF00;
AT1:=BArslAST(REF(crOSS(DIFF,DEA),1));
BIT1:=(REF(CLOSE,AT1+1)>CLOSE) AND (REF(DIFF,AT1+1)<DIFF) AND CROSS(DIFF,DEA);
DRAWTEXT(IF((BIT1>0),1,0),0.279,'大战役'),COLOR00FFFC;
RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
AT2:=BARSLAST(REF(CROSS(K,D),1));
B2:=(REF(CLOSE,AT2+1)>CLOSE) AND (REF(K,AT2+1)<K) AND CROSS(K,D);
DRAWTEXT(IF((B2>0),1,0),0.233,'瞄准'),COLOR6C8CCF;
LC:=REF(CLOSE,1);
rsi1:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(Abs(CLOSE-LC),6,1)))*(100);
RSI2:=((SMA(MAX(CLOSE-LC,0),12,1))/(SMA(ABS(CLOSE-LC),12,1)))*(100);
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=(REF(CLOSE,A3+1)>CLOSE) AND (REF(RSI1,A3+1)<RSI1) AND CROSS(RSI1,RSI2);
DRAWTEXT(IF((B3>0),1,0),(-0.01),'瞄准'),COLORFF05FF;
SIQ1:=(OPEN<MA(CLOSE,20.5)) AND (CLOSE>MA(CLOSE,20.5));
SIQ2:=(MA(CLOSE,8)<MA(CLOSE,20.5));
SIQ3:=(MA(CLOSE,20.5)<MA(CLOSE,41));
SIQ5:=(vol>(MA(VOL,5))*(1.01)) AND (VOL>(MA(VOL,10))*(1.01));
SIQ:=SIQ1 AND SIQ2 AND SIQ3 AND SIQ5;
DRAWTEXT(SIQ,0.2,'冲锋'),COLORFF00FF;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图