|
30爱心果
求老师帮助把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);
|
最佳答案
查看完整内容
HE1:=DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW30 AND CROSS(红线,20) and ok;
|