买卖控制通达信公式 副图 源码附图

X_1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*10; X_2:=SMA(X_1,5,1); X_3:=X_2>MA(X_2,8); X_4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*10; X_5:=SMA(X_4,3,2); X_6:=SMA(X_5,10,6); X_7:=MA(X_6,3); X_8:=SMA(X_7,3,1); 买入:X_6>=X_7,COLORRED,LINETHICK2; X_9:=X_7>REF(X_7,1); 卖出:NOT(买入),COLORGREEN; X_10:=LLV(LOW,6); X_11:=HHV(HIGH,12); 趋势线:EMA((CLOSE-X_10)/(X_11-X_10)*4,4),COLORLIBLUE,LINETHICK2; IF(趋势线>=REF(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK2; GMA:MA(趋势线,3); 资金运转:STICKLINE(趋势线>GMA,趋势线,GMA,3,1),COLORRED; 资金流失:STICKLINE(趋势线<GMA,趋势线,GMA,3,1),COLORGREEN; S1A:3.5,POINTDOT,COLORLIGRAY; SA:3.3,POINTDOT,COLORLIRED; BA:0.3,DOTLINE; B2A:0.5,POINTDOT; B3A:1.3,POINTDOT; X_12:=CLOSE>REF(CLOSE,4); X_13:=BARSLASTCOUNT(X_12); X_14:=X_13=9; X_15:=ISLASTBAR AND BETWEEN(X_13,5,8); X_16:=(BACKSET(X_14>0,9) OR BACKSET(X_15>0,X_13))*X_13; DRAWTEXT(X_16>0,趋势线,VAR2STR(X_16,0)),COLORWHITE; DRAWTEXT(X_13=9,趋势线,1),COLORLICYAN; X_17:=CLOSE<REF(CLOSE,4); X_18:=BARSLASTCOUNT(X_17); X_19:=X_18=9; X_20:=ISLASTBAR AND BETWEEN(X_18,5,8); X_21:=(BACKSET(X_19>0,9) OR BACKSET(X_20>0,X_18))*X_18; DRAWTEXT(X_21>0,趋势线,VAR2STR(X_21,0)),COLORGRAY; DRAWTEXT(X_18=9,趋势线,1),COLORLIMAGENTA; X_22:=EMA(CLOSE,2); X_23:=EMA(CLOSE,150); X_24:=X_22-X_23; X_25:=EMA(X_24,100); X_26:=2*(X_24-X_25); X_27:=POW(X_26,3)*0.1+POW(X_26,1); X_28:=IF(X_26>0.1,X_27,0)*5; X_29:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100; X_30:=CLOSE>MA(CLOSE,250); X_31:=X_28>REF(X_28,1); X_32:=X_29>REF(X_29,1); X_33:=CROSS(X_28,0.01)*X_28; X_34:=(X_30 AND X_31 AND X_32)*X_28; DRAWTEXT(X_34>0,1,2),COLORWHITE;  


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

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

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