把文华的压力指标改成博易能用的 [博易POBO]
咨询内容:
HH1:= IFELSE (H<REF(H,2)&&REF(H,1)<REF(H,2),REF(H,2),0);
LL1:= IFELSE (L>REF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=VALUEWHEN(HH1>0,HH1);
LL2:=VALUEWHEN(LL1>0,LL1);
KA1:= IFELSE (CLOSE>HH2,-3,IFELSE(CLOSE<LL2,1,0));
KA2:=VALUEWHEN(KA1<>0,KA1);
HO:= HIGH >REF( HIGH,1) &&HIGH >REF(HIGH,2) && HIGH >=REFX(HIGH,1) && IFELSE(HIGH =REFX(HIGH,2), HIGH >REFX(HIGH,3), HIGH >REFX(HIGH,2));
FXH:=CROSS(HO,0.9);
HH:=REF(HIGH,BARSLAST(FXH));
LO:= LOW <REF(LOW,1) && LOW <REF(LOW,2) && LOW <=REFX(LOW,1) && IFELSE(LOW =REFX(LOW,2), LOW <REFX(LOW,3), LOW <REFX(LOW,2));
FXL:=CROSS(LO,0.9);
LL:=REF(LOW,BARSLAST(FXL));
STICKLINE(CLOSE,HH,HH-0.0001,COLORRED,0);
STICKLINE(CLOSE,LL,LL-0.0001,COLORGREEN,0);
AUTOFILTER; <!-- 咨询内容:
HH1:=IFELSE(H<REF(H,2)&&REF(H,1)<REF(H,2),REF(H,2),0);
LL1:=IFELSE(L>REF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=VALUEWHEN(HH1>0,HH1);
LL2:=VALUEWHEN(LL1>0,LL1);
KA1:=IFELSE(CLOSE>HH2,-3,IFELSE(CLOSE<LL2,1,0));
KA2:=VALUEWHEN(KA1<>0,KA1);
HO:=HIGH>REF(HIGH,1)&&HIGH>REF(HIGH,2)&&HIGH>=REFX(HIGH,1)&&IFELSE(HIGH=REFX(HIGH,2),HIGH>REFX(HIGH,3),HIGH>REFX(HIGH,2));
FXH:=CROSS(HO,0.9);
HH:=REF(HIGH,BARSLAST(FXH));
LO:=LOW<REF(LOW,1)&&LOW<REF(LOW,2)&&LOW<=REFX(LOW,1)&&IFELSE(LOW=REFX(LOW,2),LOW<REFX(LOW,3),LOW<REFX(LOW,2));
FXL:=CROSS(LO,0.9);
LL:=REF(LOW,BARSLAST(FXL));
STICKLINE(CLOSE,HH,HH,2,1),COLORRED;
STICKLINE(CLOSE,LL,LL,2,1),COLORGREEN;
来源 程序化久久网
把文华的压力指标改成博易能用的
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;HH1:= IFELSE (H<REF(H,2)&&REF(H,1)<REF(H,2),REF(H,2),0);
LL1:= IFELSE (L>REF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=VALUEWHEN(HH1>0,HH1);
LL2:=VALUEWHEN(LL1>0,LL1);
KA1:= IFELSE (CLOSE>HH2,-3,IFELSE(CLOSE<LL2,1,0));
KA2:=VALUEWHEN(KA1<>0,KA1);
HO:= HIGH >REF( HIGH,1) &&HIGH >REF(HIGH,2) && HIGH >=REFX(HIGH,1) && IFELSE(HIGH =REFX(HIGH,2), HIGH >REFX(HIGH,3), HIGH >REFX(HIGH,2));
FXH:=CROSS(HO,0.9);
HH:=REF(HIGH,BARSLAST(FXH));
LO:= LOW <REF(LOW,1) && LOW <REF(LOW,2) && LOW <=REFX(LOW,1) && IFELSE(LOW =REFX(LOW,2), LOW <REFX(LOW,3), LOW <REFX(LOW,2));
FXL:=CROSS(LO,0.9);
LL:=REF(LOW,BARSLAST(FXL));
STICKLINE(CLOSE,HH,HH-0.0001,COLORRED,0);
STICKLINE(CLOSE,LL,LL-0.0001,COLORGREEN,0);
AUTOFILTER; <!-- 咨询内容:
附件 :
-->
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 这个指标,我已经修改成博易版的啦,你加我QQ249679585 A:=(3*CLOSE+LOW+OPEN+HIGH)/6;HH1:=IFELSE(H<REF(H,2)&&REF(H,1)<REF(H,2),REF(H,2),0);
LL1:=IFELSE(L>REF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=VALUEWHEN(HH1>0,HH1);
LL2:=VALUEWHEN(LL1>0,LL1);
KA1:=IFELSE(CLOSE>HH2,-3,IFELSE(CLOSE<LL2,1,0));
KA2:=VALUEWHEN(KA1<>0,KA1);
HO:=HIGH>REF(HIGH,1)&&HIGH>REF(HIGH,2)&&HIGH>=REFX(HIGH,1)&&IFELSE(HIGH=REFX(HIGH,2),HIGH>REFX(HIGH,3),HIGH>REFX(HIGH,2));
FXH:=CROSS(HO,0.9);
HH:=REF(HIGH,BARSLAST(FXH));
LO:=LOW<REF(LOW,1)&&LOW<REF(LOW,2)&&LOW<=REFX(LOW,1)&&IFELSE(LOW=REFX(LOW,2),LOW<REFX(LOW,3),LOW<REFX(LOW,2));
FXL:=CROSS(LO,0.9);
LL:=REF(LOW,BARSLAST(FXL));
STICKLINE(CLOSE,HH,HH,2,1),COLORRED;
STICKLINE(CLOSE,LL,LL,2,1),COLORGREEN;
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容