咨詢內容:
請修改均線指標
老師好? ?這是文華格式? 請修改為博易格式? 謝謝你
?
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.kzuj.com.cn )
博易技術人員:
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;
?
來源 程序化久久網