通达信短线买卖组合指标公式

VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=expma(EXPMA(EXPMA(VAR1,4),4),4);
多空力度: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
短期趋势: MA(多空力度,1),COLORMAGENTA;
中期趋势: MA(短期趋势,3);
DRAWTEXT(crOSS(中期趋势, 短期趋势) AND REF(短期趋势,1)>1, REF(短期趋势,3), '↖卖'), COLOR00FF00,LINETHICK5;
{ _通达信股票指标公式}
▲逢低买入: DRAWTEXT(REF(CROSS(中期趋势,短期趋势),1) AND 中期趋势>1.8*短期趋势,短期趋势,'▲低买'), COLOR00FFFF, LINETHICK1;
▲低买: DRAWTEXT(REF(CROSS(短期趋势,中期趋势),1) AND 短期趋势>1.3*中期趋势,中期趋势,'▲低买'),COLORLIRED,LINETHICK1;
VAR3:=PEAKBARS(3,5,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
顶A:IF(顶>REF(顶,1),1,0)STICK,COLORCYAN, LINETHICK2;
DRAWTEXT(顶A=1,0.8,'顶部'),COLOR00FF00;
RSVI:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*5;
中:=SMA(RSVI,30,1),COLORWHITE,LINETHICK1;
长:=SMA(中,3,1),COLOR00FF00,LINETHICK1;
短:=3*中-2*长,COLORRED,LINETHICK1;
RV:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(HIGH,60))*3;
KP:SMA(RV,5,1)LINETHICK3,COLORWHITE;
DP:SMA(KP,2,1),COLOR00FF00,LINETHICK3;
JP:3*KP-2*DP,COLORRED,LINETHICK3;
B:=zig(3,50/5),COLORRED;
G:=MA(B,2),COLORYELLOW;
D:CROSS(B,G)*-0.5,STICK,COLORMAGENTA,LINETHICK3;
W:CROSS(G,B)*1.5,STICK,COLORGREEN,LINETHICK3;
F:=100*(C-REF(C,1))/REF(C,1);
JD:=IF(C<REF(O,1) AND F<0,1,0);
S1:=JD;
MR:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;
S2:=MR;
A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));
STICKLINE(A1 AND A2 AND A3,0.3,1,1,0)COLORYELLOW;
STICKLINE(A1 AND A2 AND A3,0.8,1.2,1,0)COLORFF00FF;
STICKLINE(A1 AND A2 ,-0.2,-0.8,1,0)COLORRED ;
STICKLINE(A1 AND A2 ,-0.1,-0.4,1,0)COLORYELLOW;




未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:PEAK
该公式包含未来函数:PEAKBARS
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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