同花顺垂帘听股主图源码

MA5:=MA(C,5);
a:=(3*C+L+O+H)/6;
垂帘:(20*a+19*REF(a,1)+18*REF(a,2)+17*REF(a,3)+16*REF(a,4)+15*REF(a,5)
+14*REF(a,6)+13*REF(a,7)+12*REF(a,8)+11*REF(a,9)+10*REF(a,10)
+9*REF(a,11)+8*REF(a,12)+7*REF(a,13)+6*REF(a,14)+5*REF(a,15)
+4*REF(a,16)+3*REF(a,17)+2*REF(a,18)+REF(a,20))/210,colorred,POINTDOT;
听股:MA(垂帘,13),colorffcccc,CIRCLEDOT;
zar1:=SLOPE(EMA(CLOSE,2),5)*15+C;
zar2:=EMA(zar1,5);
zarA:=EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(zar2,5),5),5),5),5),5),5),5);
zarB:=BARSLAST(CROSS(CLOSE,zarA));
zarC:=BARSLAST(CROSS(zarA,CLOSE));

STICKLINE(CLOSE<zarA,REF(CLOSE,zarC),REF(CLOSE,zarC),12,0),linethick2,colorFFCCCC;
上涨:IF(CLOSE>zarA AND CLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),REF(CLOSE,zarB)),COLORFFC8FF,POINTDOT;
STICKLINE(CLOSE>zarA AND CLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),垂帘,1,0),colorFFC8FF;
STICKLINE(CLOSE>zarA AND CLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),REF(CLOSE,zarB),12,0),COLORFFC8FF,LINETHICK2;
止盈止损:IF(CLOSE<zarA AND CLOSE<REF(CLOSE,zarC),REF(CLOSE,zarC),REF(CLOSE,zarC)),COLOR00FF00,POINTDOT;
STICKLINE(CLOSE<zarA AND CLOSE<REF(CLOSE,zarC),REF(CLOSE,zarC),垂帘,1,0),COLOR00FF00;
VAR41:= EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
VAR42:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
VAR4A:=REF(VAR41,1)>92 AND VAR41<92;
DRAWTEXT(VAR4A,H+0.12,'短卖'),COLOR00FF00;
DRAWTEXT(VAR4A,H+0.05,'●'),COLOR00FF00;

STICKLINE(C>=O,H,L,0,0),colorred;
STICKLINE(C<O,H,L,0,0),colorFFFF52;
STICKLINE(C>=O,C,O,4,1),colorred;
STICKLINE(C<O,C,O,4,0),colorFFFF52;
MA13:MA(C,13),colorwhite,LINETHICK2;
MA55:MA(C,55),COLORFF00FF;
MA125:MA(C,125),COLORFFCC66;
MA250:MA(C,250),colorblue;
STICKLINE(CROSS(ma5,听股) AND ma5>听股 AND C>O,ma13,ma13-0.09,4,0),coloryellow;
DRAWTEXT(CROSS(ma5,听股) AND ma5>听股 AND C>O,ma13-0.12,'垂帘听股'),coloryellow;




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

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

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

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