请老师帮忙修改 [博易POBO]
咨询内容:
X_1:=CLOSE-REF(CLOSE,1);
X_2:=100*EMA(EMA(X_1,6),6)/EMA(EMA(ABS(X_1),6),6);
X_3:=CROSS(EMA(CLOSE,19),EMA(CLOSE,7));
X_4:=CROSS(EMA(CLOSE,7),EMA(CLOSE,19));
X_5:=LOW=LLV(LOW,BARSLAST(X_3)+1);
X_6:=LLV(LOW,BARSLAST(X_3)+1);
X_7:=HIGH=HHV(HIGH,BARSLAST(X_4)+1);
X_8:=HHV(HIGH,BARSLAST(X_4)+1);
X_9:=TRENDLINES(X_5,X_6,X_7,X_8);
X_10:=HIGH=HHV(HIGH,BARSLAST(X_4)+1);
X_11:=HHV(HIGH,BARSLAST(X_4)+1);
X_12:=LOW=LLV(LOW,BARSLAST(X_3)+1);
X_13:=LLV(LOW,BARSLAST(X_3)+1);
X_14:=TRENDLINES(X_10,X_11,X_12,X_13);
X_15:=LLV(X_2,2)=LLV(X_2,7);
X_16:=COUNT(X_2<0,2);
X_17:=CROSS(X_2,MA(X_2,2));
X_18:=REF(X_14,1)<REF(X_14,2);
X_19:=X_9>REF(X_14,1);
X_20:=IF(X_9<REF(X_9,1) AND X_14=X_9,1,0);
X_21:=IF(X_14<REF(X_14,1) AND X_14=X_9,1,0);
STICKLINE1(X_14<REF(X_14,1),0,35,3,0),COLORLIGHTGREY;
{WWW.55188.COM}
VAR1:=MA(CLOSE,27);
VAR2:=(CLOSE-VAR1)/VAR1*100;
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
VARA:=MA(VAR2,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARC:=BARSLAST(CROSS(VARA,10)=1);
VARD:=VARA<-10 AND VARB>3;
VARE:=VARA>10 AND VARC>3;
短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
中长线:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));
长线:SMA(RSV3,5,1),COLORYELLOW;
STICKLINE1(中线<15,中线,15,6,0),COLORF00FF0;
STICKLINE1(短线<20 AND 中线<20 AND 长线<20,MAX(长线,MAX(短线,中线)),20,3,0),COLOR00CCFF;
STICKLINE1(中线>80,80,中线,3,0),COLORFFF000;
DRAWICON(CROSS(长线,15),中线,1);
DRAWTEXT(LONGCROSS(中线,20,15),20,'反弹');
DRAWTEXT(CROSS(短线,长线) AND 长线<18 AND 长线>REF(长线,1) OR CROSS(长线,5),20,'绝佳机会'),COLORYELLOW;
DRAWTEXT(CROSS(中长线,-90) AND (长线<中线 AND 长线>REF(长线,1) OR 短线<20 AND 中线<20 AND 长线 <20),长线,'底'),COLORFF00FF;
DR:=IF(COUNT(CROSS(中长线,-90),12)=3,30,5);
KH1:=IF(VARD,VARA,0);
KH2:=REF(KH1,1)<0;
龙宫藏宝:短线<20 AND 中线<20 AND 长线<20;
天宫藏宝:中线>80 AND 中线>80 AND 长线>80;
触底:CROSS(中长线,-90) AND (长线<中线 AND 长线>REF(长线,1) OR 短线<20 AND 中线<20 AND 长线 <20);
反弹:LONGCROSS(中线,20,15) OR CROSS(长线,15);
绝佳机会:CROSS(短线,长线) AND 长线<18 AND 长线>REF(长线,1) OR CROSS(长线,5),COLORYELLOW;
来源 程序化久久网
请老师帮忙修改
X_1:=CLOSE-REF(CLOSE,1);
X_2:=100*EMA(EMA(X_1,6),6)/EMA(EMA(ABS(X_1),6),6);
X_3:=CROSS(EMA(CLOSE,19),EMA(CLOSE,7));
X_4:=CROSS(EMA(CLOSE,7),EMA(CLOSE,19));
X_5:=LOW=LLV(LOW,BARSLAST(X_3)+1);
X_6:=LLV(LOW,BARSLAST(X_3)+1);
X_7:=HIGH=HHV(HIGH,BARSLAST(X_4)+1);
X_8:=HHV(HIGH,BARSLAST(X_4)+1);
X_9:=TRENDLINES(X_5,X_6,X_7,X_8);
X_10:=HIGH=HHV(HIGH,BARSLAST(X_4)+1);
X_11:=HHV(HIGH,BARSLAST(X_4)+1);
X_12:=LOW=LLV(LOW,BARSLAST(X_3)+1);
X_13:=LLV(LOW,BARSLAST(X_3)+1);
X_14:=TRENDLINES(X_10,X_11,X_12,X_13);
X_15:=LLV(X_2,2)=LLV(X_2,7);
X_16:=COUNT(X_2<0,2);
X_17:=CROSS(X_2,MA(X_2,2));
X_18:=REF(X_14,1)<REF(X_14,2);
X_19:=X_9>REF(X_14,1);
X_20:=IF(X_9<REF(X_9,1) AND X_14=X_9,1,0);
X_21:=IF(X_14<REF(X_14,1) AND X_14=X_9,1,0);
STICKLINE1(X_14<REF(X_14,1),0,35,3,0),COLORLIGHTGREY;
{WWW.55188.COM}
VAR1:=MA(CLOSE,27);
VAR2:=(CLOSE-VAR1)/VAR1*100;
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
VARA:=MA(VAR2,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARC:=BARSLAST(CROSS(VARA,10)=1);
VARD:=VARA<-10 AND VARB>3;
VARE:=VARA>10 AND VARC>3;
短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
中长线:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));
长线:SMA(RSV3,5,1),COLORYELLOW;
STICKLINE1(中线<15,中线,15,6,0),COLORF00FF0;
STICKLINE1(短线<20 AND 中线<20 AND 长线<20,MAX(长线,MAX(短线,中线)),20,3,0),COLOR00CCFF;
STICKLINE1(中线>80,80,中线,3,0),COLORFFF000;
DRAWICON(CROSS(长线,15),中线,1);
DRAWTEXT(LONGCROSS(中线,20,15),20,'反弹');
DRAWTEXT(CROSS(短线,长线) AND 长线<18 AND 长线>REF(长线,1) OR CROSS(长线,5),20,'绝佳机会'),COLORYELLOW;
DRAWTEXT(CROSS(中长线,-90) AND (长线<中线 AND 长线>REF(长线,1) OR 短线<20 AND 中线<20 AND 长线 <20),长线,'底'),COLORFF00FF;
DR:=IF(COUNT(CROSS(中长线,-90),12)=3,30,5);
KH1:=IF(VARD,VARA,0);
KH2:=REF(KH1,1)<0;
龙宫藏宝:短线<20 AND 中线<20 AND 长线<20;
天宫藏宝:中线>80 AND 中线>80 AND 长线>80;
触底:CROSS(中长线,-90) AND (长线<中线 AND 长线>REF(长线,1) OR 短线<20 AND 中线<20 AND 长线 <20);
反弹:LONGCROSS(中线,20,15) OR CROSS(长线,15);
绝佳机会:CROSS(短线,长线) AND 长线<18 AND 长线>REF(长线,1) OR CROSS(长线,5),COLORYELLOW;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 请老师修改一下这个指标,谢谢!来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容