通达信波段宝剑 超短稳赢买点副图指标源码

通达信波段宝剑 超短稳赢买点副图指标 源码 附图
周DIF:="MACD.DIF#WEEK";
周DEA:="MACD.DEA#WEEK";
周MACD:="MACD.MACD#WEEK";
AA4:=周DIF>REF(周DIF,1);
周K:="KDJ.K#WEEK";
周D:="KDJ.D#WEEK";
周J:="KDJ.J#WEEK";
AA2:=周K>REF(周K,1);
AA6:=周J>REF(周J,1);
YH1:=C>MA(C,2) AND REF(C,1)<MA(C,2) OR C>MA(C,13) AND REF(C,1)<MA(C,13) OR C>MA(C,29) AND REF(C,1)<MA(C,29) AND AA4;
YH2:=C>MA(C,2) AND REF(C,1)<MA(C,2) OR C>MA(C,6) AND REF(C,1)<MA(C,6) OR C>MA(C,26) AND REF(C,1)<MA(C,26) AND AA2;
买入:YH1 AND YH2,COLORRED;{原XG}

{卖出------------------------永不倒移植}
VAR55:=EMA(EMA(EMA(CLOSE,8),13),62);
VAR56:=((REF(HIGH,1) + REF(LOW,1)) / 2);
VAR57:=(MA(CLOSE,20) + (2 * STD(CLOSE,20)));
VAR58:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),7,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),7,1)) * 100);
卖出1:=FILTER(CROSS(79,VAR58),4);
MA21:=REF(CLOSE,1);
ZX:=((SMA(MAX((CLOSE - MA21),0),6,1) / SMA(ABS((CLOSE - MA21)),6,1)) * 100);
卖出2:=CROSS(84,ZX),COLORFF00FF;
卖出3:=CROSS(90,RSI);
卖出:{=}卖出1 OR 卖出2 OR 卖出3,COLORGREEN;{永不倒:对应四季变天图的跑步小黄人};

{永不倒:以下是RSI自的顶底}
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE-LC),0),3,1) / SMA(ABS((CLOSE-LC)),3,1))*100);
DRAWTEXT(CROSS(RSI,15),0.1,'↖RSI 底'),COLOR00FFFF;
DRAWTEXT(CROSS(88,RSI),0.1,'↓←RSI 顶'),COLORCYAN;

XA_1:=(CLOSE-MA(AMOUNT,13)/MA(VOL,13)/100)/(MA(AMOUNT,13)/MA(VOL,13)/100)*100;
XA_2:=MA(MA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3),3);
XA_3:=3*MA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3)-2*XA_2;
XA_4:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100/2+22;
波段宝剑2:(IF(XA_1 AND (CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100<XA_4-2,1,0) AND CROSS(CLOSE,REF(MA(DMA((HIGH+LOW+CLOSE*2)/4.15,0.9),3),1)) AND XA_3<30)*0.5,COLORMAGENTA;

{超短稳赢}
TJ1:=REF(O/C>1.04,1);
TJ2:=O<=REF(C,1) AND C>REF(H,1);
TJ3:=IF(O>EXPMA(C,10),O/EXPMA(C,10)<1.05,O*0.97<EXPMA(C,10) AND C*1.03>EXPMA(C,10));
TJ4:=EXPMA(C,10)>EXPMA(C,60) AND EXPMA(C,10)/EXPMA(C,60)<1.25;
超短稳赢买点:TJ1 AND TJ2 AND TJ3 AND TJ4,COLORWHITE;
 



未来函数检测结果如下:
该公式包含未来函数:#WEEK
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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