請修改均線指標 [博易POBO]
咨询内容:
請修改均線指標
老師好 這是文華格式 請修改為博易格式 謝謝你
HH:=HHV(HIGH,3);
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
EMA3:=EMA(C,3);
EMA8:=EMA(EMA3,8),COLORYELLOW,LINETHICK1;
AA10:=EMA(EMA3,8),COLORYELLOW,LINETHICK1;
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1),AA10,REF(AA10,3),10,1)
,COLORYELLOW,LINETHICK3;
STICKLINE(BB10<1 AND AA10<REF(AA10,1),AA10,REF(AA10,3),10,1)
,COLORGREEN,LINETHICK3;
DRAWNUMBER(BB10>1 AND AA10>REF(AA10,1),AA10,BARSLAST(CROSS(BB10>1,0.5))+1,0
,COLORYELLOW),VALIGN0,ALIGN1,FONTSIZE18,VALIGN2;
DRAWNUMBER(BB10<1 AND AA10<REF(AA10,1),AA10,BARSLAST(CROSS(BB10<1,0.5))+1,0
,COLORWHITE),VALIGN2,ALIGN1,FONTSIZE18,VALIGN2;
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
EMA3:=EMA(C,3);
EMA8:=EMA(EMA3,8),COLORYELLOW,LINETHICK1;
AA10:=EMA(EMA3,8),COLORYELLOW,LINETHICK1;
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1),AA10,REF(AA10,3),10,1)
,COLORYELLOW,LINETHICK3;
STICKLINE(BB10<1 AND AA10<REF(AA10,1),AA10,REF(AA10,3),10,1)
,COLORGREEN,LINETHICK3;
DRAWNUMBER(BB10>1 AND AA10>REF(AA10,1),AA10,BARSLAST(CROSS(BB10>1,0.5))+1,0),COLORYELLOW,VALIGN0,ALIGN1,FONTSIZE18,VALIGN2;
DRAWNUMBER(BB10<1 AND AA10<REF(AA10,1),AA10,BARSLAST(CROSS(BB10<1,0.5))+1,0),COLORWHITE,VALIGN2,ALIGN1,FONTSIZE18,VALIGN2;
来源 程序化久久网
HH:=HHV(HIGH,3);
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
EMA3:=EMA(C,3);
EMA8:=EMA(EMA3,8),COLORYELLOW,LINETHICK1;
AA10:=EMA(EMA3,8),COLORYELLOW,LINETHICK1;
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1),AA10,REF(AA10,3),10,1)
,COLORYELLOW,LINETHICK3;
STICKLINE(BB10<1 AND AA10<REF(AA10,1),AA10,REF(AA10,3),10,1)
,COLORGREEN,LINETHICK3;
DRAWNUMBER(BB10>1 AND AA10>REF(AA10,1),AA10,BARSLAST(CROSS(BB10>1,0.5))+1,0
,COLORYELLOW),VALIGN0,ALIGN1,FONTSIZE18,VALIGN2;
DRAWNUMBER(BB10<1 AND AA10<REF(AA10,1),AA10,BARSLAST(CROSS(BB10<1,0.5))+1,0
,COLORWHITE),VALIGN2,ALIGN1,FONTSIZE18,VALIGN2;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: HH:=HHV(HIGH,3);LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
EMA3:=EMA(C,3);
EMA8:=EMA(EMA3,8),COLORYELLOW,LINETHICK1;
AA10:=EMA(EMA3,8),COLORYELLOW,LINETHICK1;
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1),AA10,REF(AA10,3),10,1)
,COLORYELLOW,LINETHICK3;
STICKLINE(BB10<1 AND AA10<REF(AA10,1),AA10,REF(AA10,3),10,1)
,COLORGREEN,LINETHICK3;
DRAWNUMBER(BB10>1 AND AA10>REF(AA10,1),AA10,BARSLAST(CROSS(BB10>1,0.5))+1,0),COLORYELLOW,VALIGN0,ALIGN1,FONTSIZE18,VALIGN2;
DRAWNUMBER(BB10<1 AND AA10<REF(AA10,1),AA10,BARSLAST(CROSS(BB10<1,0.5))+1,0),COLORWHITE,VALIGN2,ALIGN1,FONTSIZE18,VALIGN2;
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容