快手上购买的牛魔王主图指标 送给看不懂的趋势的朋友 源码 附图

DRAWTEXT_FIX(ISLASTBAR,0,0,0,VARCAT('概念:',GNBLOCK));{风格-概念}
HYZF0:=(HY_INDEXC-REF(HY_INDEXC,1))/REF(HY_INDEXC,1)*100; A0:=STRSPACE(VAR2STR(HYZF0,2));
HYZF1:=(REF(HY_INDEXC,1)-REF(HY_INDEXC,2))/REF(HY_INDEXC,2)*100;A1:=STRSPACE(VAR2STR(HYZF1,2));
HYZF2:=(REF(HY_INDEXC,2)-REF(HY_INDEXC,3))/REF(HY_INDEXC,3)*100;A2:=STRSPACE(VAR2STR(HYZF2,2));
HYZF3:=(REF(HY_INDEXC,3)-REF(HY_INDEXC,4))/REF(HY_INDEXC,4)*100;A3:=STRSPACE(VAR2STR(HYZF3,2));
HYZF4:=(REF(HY_INDEXC,4)-REF(HY_INDEXC,5))/REF(HY_INDEXC,5)*100;A4:=STRSPACE(VAR2STR(HYZF4,2));
A43:=VARCAT(A4,A3);
A21:=VARCAT(A2,A1);
A4321:=VARCAT(A43,A21);
A43210:=VARCAT(A4321,A0);
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,VARCAT('行业:', VARCAT(STRSPACE(HYZSCODE), VARCAT(STRSPACE(HYBLOCK), A43210)))) COLOR0000FF;{所属行业及近五日涨幅}
DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,VARCAT('风格:',FGBLOCK));
DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,VARCAT('地区:', DYBLOCK));
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,VARCAT('选股:',ZDBLOCK));
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(买线>=卖线 AND C<O,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLOR228822;
STICKLINE(买线<卖线,CLOSE,OPEN,3,1),COLOR228822;
STICKLINE(买线<卖线 AND C<O,CLOSE,OPEN,3,0),COLOR228822;
JJ:=(L+HIGH+C)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B ,A ,B ,-1 ,0 ),COLOR00AAFF;
STICKLINE(A<B ,B ,A ,-1 ,0 ),COLORBLUE;
DRAWTEXT(A>B AND C>O AND C>REF(C,1) AND NOT(REF(A>B,1)),B*0.98,'起爆点'),,COLOR00AAFF;
DRAWTEXT(A<B AND NOT(REF(A<B,1)),B*1.02,'下车点'),COLORGREEN;
MA5Q:=MA(CLOSE,5);
DIR2:=ABS(CLOSE-REF(CLOSE,30));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),30);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
AA1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
AA2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),AA1);
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;


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

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

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

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