JZ 个股诊断源码副图

{=======================仪表盘========================}

 

显示仪表盘:=1;

总涨幅周期:=350;

范围高A:=REFDATE(HHV(H,120),DATE)*1.05;

范围低A:=REFDATE(LLV(L,120),DATE)*0.95;

MA5:=MA(C,5);

MA24:=MA(C,24);

MA72:=MA(C,72);

MA200:=IF((MA(C,200)<=范围高A AND MA(C,200)>=范围低A) OR C>=MA(C,200),MA(C,200),DRAWNULL);

 

主升浪:=ISLASTBAR AND MA5>MA24 AND MA24>MA72 AND MA72>IF(MA200=DRAWNULL,0,MA200);

主浪回调:=ISLASTBAR AND MA24>MA5 AND MA5>MA72 AND MA72>IF(MA200=DRAWNULL,0,MA200);

主浪深调:=ISLASTBAR AND MA24>MA72 AND MA72>MA5 AND MA5>IF(MA200=DRAWNULL,0,MA200);

初升浪:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MAX(MA24,MA72) AND MA5>MA24 AND MA24>MA72;

底部反弹:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MA72 AND MA72>MA24 AND MA5>MA24;

探底阶段:=ISLASTBAR AND IF(MA200=DRAWNULL,300,MA200)>MA72 AND MA72>MA24 AND MA24>MA5;

观望:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24>MA72 AND C<MA72,MA72>MA200 AND C<MA200);

有牛:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24<MA72 AND C>=MA72,MA72<MA200 AND C>=MA200);

放弃:=ISLASTBAR AND IF(MA200=DRAWNULL,MA24<MA72 AND C<MA72,MA72<MA200 AND C<MA200);

DRAWGBK(显示仪表盘=1 AND 主升浪=0 AND 主浪回调=0 AND 主浪深调=0 AND 初升浪=0 AND 底部反弹=0 AND 探底阶段=0 AND 观望=0 AND 有牛=0 AND 放弃=0,0,0,0,'观望',0);

DRAWGBK(显示仪表盘=1 AND 主升浪,0,0,0,'主升浪',0);

DRAWGBK(显示仪表盘=1 AND 主浪回调,0,0,0,'主浪回调',0);

DRAWGBK(显示仪表盘=1 AND 主浪深调,0,0,0,'主浪深调',0);

DRAWGBK(显示仪表盘=1 AND 初升浪,0,0,0,'初升浪',0);

DRAWGBK(显示仪表盘=1 AND 底部反弹,0,0,0,'底部反弹',0);

DRAWGBK(显示仪表盘=1 AND 探底阶段,0,0,0,'探底阶段',0);

DRAWGBK(显示仪表盘=1 AND 观望,0,0,0,'观望',0);

DRAWGBK(显示仪表盘=1 AND 有牛,0,0,0,'有牛',0);

DRAWGBK(显示仪表盘=1 AND 放弃,0,0,0,'放弃',0);

 

{===================K线================================};

 

DRAWKLINE(H,O,L,C);

买线:=EMA(C,3);

卖线:=EMA(SLOPE(C,25)*18+C,55);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

 

ISDOWN:=IF(CLOSE<OPEN,1,0);

ISUP:=IF(CLOSE>OPEN,1,0);

 

STICKLINE(买线>=卖线 AND CLOSE>OPEN,LOW,HIGH,0,1),COLORRED;

STICKLINE(买线>=卖线 AND CLOSE<OPEN,LOW,HIGH,0,1),COLORRED;

STICKLINE(买线>=卖线 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORRED;

STICKLINE(买线>=卖线 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORRED;

STICKLINE(买线<卖线 AND CLOSE<OPEN,LOW,HIGH,0,1),COLORFFFF00;

STICKLINE(买线<卖线 AND CLOSE>OPEN,LOW,HIGH,0,1),COLORFFFF00;

STICKLINE(买线<卖线 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORFFFF00;

STICKLINE(买线<卖线 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORFFFF00;

 

DRAWBMP(BU=1,L,'B');

DRAWBMP(SEL=1,HIGH*1.038,'S');

 

{======================均线===========================};

 

MA3:MA(CLOSE,3),COLORWHITE;

MA7:MA(CLOSE,7),COLORYELLOW;

MA13:MA(CLOSE,13),COLORMAGENTA;

MA21:MA(CLOSE,21),COLOR0099FF;

MA34:MA(CLOSE,34),COLORGREEN,LINETHICK1;

 

MA144:MA(CLOSE,144),COLORCYAN,LINETHICK2;
 




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

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

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

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