您现在的位置:程序化交易>> 期货公式>> 博易大师>> 博易大师知识>>正文内容

修改量能指标公式 [博易POBO]

咨询内容:

修改量能指标公式

老师,请修改一下这个指标:
量能:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,20)*500;
HAN:=1;
金资:IF(量能>0,量能,0)*10*HAN,COLORMAGENTA,LINETHICK2;
STICKLINE(量能>0,量能*5,0,0.1,1),COLOR000555;
STICKLINE(量能>0,量能*5,0,0.1,1),COLOR000777;
STICKLINE(量能>0,量能*5,0,0.1,1),COLOR000999;
STICKLINE(量能>0,量能*5,0,0.1,1),COLOR000BBB;
STICKLINE(量能>0,量能*5,0,0.1,1),COLORYELLOW;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR005500;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR007700;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR009900;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR00BB00;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR00DD00;
主力:EMA(EMA(量能,30),3)*20*HAN,CIRCLEDOT,COLORGREEN;
乖离:=(C-MA(C,5))/MA(C,5)*1000,CIRCLEDOT,COLORGREEN,LINETHICK2;

主力S:IF(主力>REF(主力,1),主力,DRAWNULL)*HAN,CIRCLEDOT,COLORRED,LINETHICK2;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
专用:=3*Q3-2*Q4;
Q8:=HHVBARS(HIGH, 50);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
STICKLINE(CROSS(专用, 8) AND Q10<-13, 0,340,10,0);

跨越:=EMA(Q3, 3);
DRAWTEXT(FILTER(CROSS(跨越,专用) AND REF(专用,1)>80 AND 跨越>80,20)*HAN,-100,'庄家逃跑'),COLORWHITE  ,LINETHICK2;
STICKLINE(CROSS(跨越,专用) AND REF(专用,1)>80 AND 跨越>80, 0,40,10,0);

V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);

V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
V2:=2*ABS(V1);
V5:=(H+L+C)/3;
V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));
V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));
V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);
V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);
VA:=(C-MA(C,13))/MA(C,13)*100;
VB:=100-ABS(VA);

顶线:= IF(VB<90,VB,100);
多方:= IF(V1>0,V1,0);
空方:= -IF(V1<0,V2,0);

DRAWTEXT(T1 AND COUNT(T1,30)=1,-100,'上升通道!'),COLORRED;
 

 

 来源:程序化99网( WWW.CXH99.COM )

博易技术人员: 量能:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,20)*500;
HAN:=1;
金资:IF(量能>0,量能,0)*10*HAN,COLORMAGENTA,LINETHICK2;
STICKLINE(量能>0,量能*5,0,0.1,1),COLOR000555;
STICKLINE(量能>0,量能*5,0,0.1,1),COLOR000777;
STICKLINE(量能>0,量能*5,0,0.1,1),COLOR000999;
STICKLINE(量能>0,量能*5,0,0.1,1),COLOR000BBB;
STICKLINE(量能>0,量能*5,0,0.1,1),COLORYELLOW;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR005500;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR007700;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR009900;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR00BB00;
STICKLINE(量能<0,0,量能*5,0.1,0),COLOR00DD00;
主力:EMA(EMA(量能,30),3)*20*HAN,CIRCLEDOT,COLORGREEN;
乖离:=(C-MA(C,5))/MA(C,5)*1000,CIRCLEDOT,COLORGREEN,LINETHICK2;

主力S:IF(主力>REF(主力,1),主力,DRAWNULL)*HAN,CIRCLEDOT,COLORRED,LINETHICK2;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
专用:=3*Q3-2*Q4;
Q8:=HHVBARS(HIGH, 50);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
STICKLINE(CROSS(专用, 8) AND Q10<-13, 0,340,10,0);

跨越:=EMA(Q3, 3);
DRAWTEXT(FILTER(CROSS(跨越,专用) AND REF(专用,1)>80 AND 跨越>80,20)*HAN,-100,'庄家逃跑'),COLORWHITE  ,LINETHICK2;
STICKLINE(CROSS(跨越,专用) AND REF(专用,1)>80 AND 跨越>80, 0,40,10,0);

V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);

V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
V2:=2*ABS(V1);
V5:=(H+L+C)/3;
V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));
V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));
V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);
V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);
VA:=(C-MA(C,13))/MA(C,13)*100;
VB:=100-ABS(VA);

顶线:= IF(VB<90,VB,100);
多方:= IF(V1>0,V1,0);
空方:= -IF(V1<0,V2,0);

DRAWTEXT(T7 AND COUNT(T7,30)=1,-100,'上升通道!'),COLORRED; 来源 程序化久久网

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容