热门主图指标–对布林通道最完美的优化!

基于布林通道笔者做了最完美的优化,形成最美最实用的指标。

投资学习的过程,从简单到复杂,从复杂再到简单!


指标总收益率       股票收益率      超额收益           年化收益率        同期沪深300        跑赢大市

316.85%     206.9%    109.95%       316%              34.70%          281.3%


/uploads/image/20220711/34c5b988e20be46c9629a2c13da63235.png

image.png

image.png

通达信 主图指标

公式源码:

BOLL:MA(CLOSE,20);   

UP:BOLL+2*STD(CLOSE,20),COLORYELLOW;   

LO:BOLL-2*STD(CLOSE,20),COLORLIMAGENTA;   

MA5:MA(CLOSE,5);   

MA10:MA(CLOSE,10),POINTDOT,COLORLIBLUE;   

Z:=2*STD(CLOSE,20);   

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   

D:=(SMA(SMA(RSV,3,1),3,1)*2.5)-100;   

K:=(SMA(RSV,3,1)*2.5)-100;   

J:=3*K-2*D;   

TYP:=(HIGH+LOW+CLOSE)/3;   

CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));   

JJ:IF(J>=100,BOLL+Z*J/100,IF(J<=(-100),BOLL+Z*J/100,DRAWNULL)),POINTDOT,COLORMAGENTA;   

CC:IF(CCI>=100,BOLL+Z*CCI/100,IF(CCI<=(-100),BOLL+Z*CCI/100,DRAWNULL)),POINTDOT,COLORGREEN;   

DRAWICON(CROSS(BOLL+Z*CCI/100,LO)=1,BOLL-Z*1.3,1);DRAWICON(CROSS(UP,BOLL+Z*CCI/100)=1,BOLL+Z*1.3,2);   

DRAWICON(CROSS(BOLL+Z*J/100,LO)=1,BOLL-Z*1.52,7);DRAWICON(CROSS(UP,BOLL+Z*J/100)=1,BOLL+Z*1.52,8);   

DRAWICON(CROSS(J,D)=1 AND D<-20,BOLL-Z*1.3,9);   

DRAWICON(CROSS(D,J)=1 AND D>20,BOLL+Z*1.3,15);   

W:BOLL+2*STD(CLOSE,20)*1.25,POINTDOT,COLOR555555;   

M:BOLL-2*STD(CLOSE,20)*1.25,POINTDOT,COLOR555555;   

JN1:=INTPART(J)/41=INTPART(INTPART(J)/41);   

JN2:=INTPART(J)/42=INTPART(INTPART(J)/42);   

DRAWTEXT(CROSS(J,(-100))=1 AND JN1,BOLL-Z*1.52,' KDJ'),COLORRED;   

DRAWTEXT(CROSS(CCI,(-100))=1 AND JN2,BOLL-Z*1.3,' CCI'),COLORRED;   

DRAWTEXT(CROSS(CCI,(-100))=1 AND CROSS(J,D)=1 AND D<-20,BOLL-Z*1.3,' 金叉'),COLOR4AE9E9;   

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。