老师能帮忙修改一下公式吗 [博易POBO]
咨询内容:
第一个公式
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;
第二个公式
N5:=1;
WH5:=HHV(HIGH,N5);
WL5:=LLV(LOW,N5);
HH5:=BARSLAST((WH5>REF(WH5,1)));
LL5:=BARSLAST((WL5<REF(WL5,1)));
WA5:=IF((HH5 < LL5),1,IF((HH5 > LL5),-1,0));
IF(WA5>=0,WL5,WH5),COLORYELLOW;
DRAWTEXT(CROSS(HH5,LL5),WH5,'开空');
DRAWTEXT(CROSS(LL5,HH5),WL5,'开多');
AA10:=MA(Q,20);
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;
N5:=10;
WH5:=HHV(HIGH,N5);
WL5:=LLV(LOW,N5);
HH5:=BARSLAST((WH5>REF(WH5,1)));
LL5:=BARSLAST((WL5<REF(WL5,1)));
WA5:=IF((HH5 < LL5),1,IF((HH5 > LL5),-1,0));
IF(WA5>=0,WL5,WH5),COLORYELLOW;
DRAWTEXT(CROSS(HH5,LL5),WH5,'开空');
DRAWTEXT(CROSS(LL5,HH5),WL5,'开多'); 来源 程序化久久网
老师能帮忙修改一下公式吗
以下两个公式的开平仓提示太多了,老师能不能给修正一下,少一点开平仓的提醒,就基于60分钟周期上,少一点信号提醒。第一个公式
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;
第二个公式
N5:=1;
WH5:=HHV(HIGH,N5);
WL5:=LLV(LOW,N5);
HH5:=BARSLAST((WH5>REF(WH5,1)));
LL5:=BARSLAST((WL5<REF(WL5,1)));
WA5:=IF((HH5 < LL5),1,IF((HH5 > LL5),-1,0));
IF(WA5>=0,WL5,WH5),COLORYELLOW;
DRAWTEXT(CROSS(HH5,LL5),WH5,'开空');
DRAWTEXT(CROSS(LL5,HH5),WL5,'开多');
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: Q:=(3*CLOSE+HIGH+LOW+OPEN)/6;AA10:=MA(Q,20);
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;
N5:=10;
WH5:=HHV(HIGH,N5);
WL5:=LLV(LOW,N5);
HH5:=BARSLAST((WH5>REF(WH5,1)));
LL5:=BARSLAST((WL5<REF(WL5,1)));
WA5:=IF((HH5 < LL5),1,IF((HH5 > LL5),-1,0));
IF(WA5>=0,WL5,WH5),COLORYELLOW;
DRAWTEXT(CROSS(HH5,LL5),WH5,'开空');
DRAWTEXT(CROSS(LL5,HH5),WL5,'开多'); 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容