通达信盈利跑道主图指标公式源码

{指标介绍:绿色线段为“跑道”,当股价站上绿色线段,此时就是我们关注时机。}

VAR1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR2:=REF(VAR1,1);
VAR3:=REF(VAR1,2);
VAR4:=REF(VAR1,3);
VAR5:=REF(VAR1,4);
VAR6:=REF(VAR1,5);
VAR7:=3*80-(POW(2/3,1)*VAR2+POW(2/3,2)*VAR3+POW(2/3,3)*VAR4+POW(2/3,4)*VAR5+3*POW(2/3,5)*VAR6);
VAR8:=SMA((VAR7*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
VAR9:=3*SMA(SMA(VAR1,3,1),3,1)-(POW(2/3,1)*VAR2+POW(2/3,2)*VAR3+POW(2/3,3)*VAR4+POW(2/3,4)*VAR5+3*POW(2/3,5)*VAR6);
VAR10:=3*SMA(VAR1,3,1)-(POW(2/3,1)*VAR2+POW(2/3,2)*VAR3+POW(2/3,3)*VAR4+POW(2/3,4)*VAR5+3*POW(2/3,5)*VAR6);
VAR18:=SMA((VAR10*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
VAR19:=SMA((VAR9*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
DRAWTEXT_FIX(ISLASTBAR,0.1058,0,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1258,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1858,0,0,GNBLOCK),COLORYELLOW;
市值:(CAPITAL/100*C)/10000,NODRAW,COLORYELLOW;
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
跑道:HHV(MA((HIGH),6),10),LINETHICK2,COLORGREEN;
DRAWTEXT(crOSS((MA(CLOSE,5)),(MA(C,10))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,13))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,18))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,20))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,25))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,30))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,13))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,18))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,20))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,25))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,30))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,25))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,30))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
S:DRAWTEXT(VAR18>=VAR8 AND VAR18>=VAR19,VAR19,'◆'),COLORWHITE;




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

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

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