股票论坛
标题:
请高手帮忙合并公式,谢谢!
[打印本页]
作者:
梦想起飞
时间:
2016-11-5 17:07
标题:
请高手帮忙合并公式,谢谢!
求老师帮助把2个攻击线选股公式,合二为一,成为一个选股预警指标,谢谢!
指标源码如下:
指标1:
HE1:=DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1);
HE2:=REF(EVERY(REF(C,1)<=REF(HE1,1),4),1);
OK:=HE2 AND C>HE1 ;
指标2:
红线:=EMA((((100 - (3 * SMA((((LLV(LOW,75) - CLOSE) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),21,1))) + (2 * SMA(SMA((((LLV(LOW,75) - CLOSE) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),21,1),10,1))) - 100),3),COLORRED;
JD:=ATAN((红线/REF(红线,1)-1)*100)*180/3.1816;
XG:JD>30 AND CROSS(红线,20);
作者:
新人报道
时间:
2016-11-5 17:07
HE1:=DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1);
HE2:=REF(EVERY(REF(C,1)<=REF(HE1,1),4),1);
OK:=HE2 AND C>HE1 ;
红线:=EMA((((100 - (3 * SMA((((LLV(LOW,75) - CLOSE) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),21,1))) + (2 * SMA(SMA((((LLV(LOW,75) - CLOSE) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),21,1),10,1))) - 100),3),COLORRED;
JD:=ATAN((红线/REF(红线,1)-1)*100)*180/3.1816;
XG:JD>30 AND CROSS(红线,20) and ok;
欢迎光临 股票论坛 (http://100000w.com/)
Powered by Discuz! X3.2