老师,帮我改下这个指标, [博易POBO]
咨询内容:
老师我想把下面这个指标改成上面这个指标模型一样,下面这个指标是MA5均线,拐头改的,我想要把MA5拐头改成K想变色,在提示多,平,谢谢老师
这是上面指标的模型,
HH:=HHV(HIGH,3);
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
IF((HH1 < LL1),LL,HH),LINETHICK1,COLOR8000FF;
IF((HH1 > LL1),HH,LL),LINETHICK1,COLORFF0000;
STICKLINE((HH1 < LL1),CLOSE,OPEN,8,0),COLORRED;
STICKLINE((HH1 < LL1),HIGH,LOW,0,0),COLORRED;
STICKLINE((HH1 > LL1),CLOSE,OPEN,8,0),COLORFF0000;
STICKLINE((HH1 > LL1),HIGH,LOW,0,0),COLORFF0000;
DRAWTEXT(CROSS(HH1,LL1),HH,'平'),COLORYELLOW;
DRAWTEXT(CROSS(LL1,HH1),LL,'多'),COLORFF00FF;
这是下面指标需要改的,谢谢老师
Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;
AA10:=MA(Q,5);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),7,0),COLORRED;
STICKLINE(BB10<1 AND AA10<REF(AA10,1), AA10,REF(AA10,1),7,0),COLORGREEN;
<!-- 咨询内容:
AA10:=MA(Q,5);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),7,0),COLORRED;
DRAWTEXT(CROSS(AA10,REF(AA10,1)),AA10,'多'),COLORRED;
STICKLINE(BB10<1 AND AA10<REF(AA10,1), AA10,REF(AA10,1),7,0),COLORGREEN;
DRAWTEXT(CROSS(REF(AA10,1),AA10),AA10,'平'),COLORGREEN; Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;
AA10:=MA(Q,5);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1ANDAA10>REF(AA10,1),AA10,REF(AA10,1),7,0),COLORRED;
DRAWTEXT(CROSS(AA10,REF(AA10,1)),AA10,'多'),COLORRED;
STICKLINE(BB10<1ANDAA10<REF(AA10,1),AA10,REF(AA10,1),7,0),COLORGREEN;
DRAWTEXT(CROSS(REF(AA10,1),AA10),AA10,'平'),COLORGREEN;
HH:=HHV(HIGH,3);
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH>REF(HH,1)));
LL1:=BARSLAST((LL<REF(LL,1)));
IF((HH1<LL1),LL,HH),LINETHICK1,COLOR8000FF;
IF((HH1>LL1),HH,LL),LINETHICK1,COLORFF0000; 来源 程序化久久网
老师,帮我改下这个指标,
老师我想把下面这个指标改成上面这个指标模型一样,下面这个指标是MA5均线,拐头改的,我想要把MA5拐头改成K想变色,在提示多,平,谢谢老师
这是上面指标的模型,
HH:=HHV(HIGH,3);
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
IF((HH1 < LL1),LL,HH),LINETHICK1,COLOR8000FF;
IF((HH1 > LL1),HH,LL),LINETHICK1,COLORFF0000;
STICKLINE((HH1 < LL1),CLOSE,OPEN,8,0),COLORRED;
STICKLINE((HH1 < LL1),HIGH,LOW,0,0),COLORRED;
STICKLINE((HH1 > LL1),CLOSE,OPEN,8,0),COLORFF0000;
STICKLINE((HH1 > LL1),HIGH,LOW,0,0),COLORFF0000;
DRAWTEXT(CROSS(HH1,LL1),HH,'平'),COLORYELLOW;
DRAWTEXT(CROSS(LL1,HH1),LL,'多'),COLORFF00FF;
这是下面指标需要改的,谢谢老师
Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;
AA10:=MA(Q,5);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),7,0),COLORRED;
STICKLINE(BB10<1 AND AA10<REF(AA10,1), AA10,REF(AA10,1),7,0),COLORGREEN;
<!-- 咨询内容:
附件 :
-->
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;AA10:=MA(Q,5);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), AA10,REF(AA10,1),7,0),COLORRED;
DRAWTEXT(CROSS(AA10,REF(AA10,1)),AA10,'多'),COLORRED;
STICKLINE(BB10<1 AND AA10<REF(AA10,1), AA10,REF(AA10,1),7,0),COLORGREEN;
DRAWTEXT(CROSS(REF(AA10,1),AA10),AA10,'平'),COLORGREEN; Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;
AA10:=MA(Q,5);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1ANDAA10>REF(AA10,1),AA10,REF(AA10,1),7,0),COLORRED;
DRAWTEXT(CROSS(AA10,REF(AA10,1)),AA10,'多'),COLORRED;
STICKLINE(BB10<1ANDAA10<REF(AA10,1),AA10,REF(AA10,1),7,0),COLORGREEN;
DRAWTEXT(CROSS(REF(AA10,1),AA10),AA10,'平'),COLORGREEN;
HH:=HHV(HIGH,3);
LL:=LLV(LOW,3);
HH1:=BARSLAST((HH>REF(HH,1)));
LL1:=BARSLAST((LL<REF(LL,1)));
IF((HH1<LL1),LL,HH),LINETHICK1,COLOR8000FF;
IF((HH1>LL1),HH,LL),LINETHICK1,COLORFF0000; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容