将《强弱趋势》做一个选股公式
2020/4/19 18:22:31
公式编写说明:
源码以下:A3:=100 - ((90 * ((HHV(HIGH,20)) - CLOSE)) / ((HHV(HIGH,20)) - (LLV(LOW,20))));A4:=100 - (MA(((100 * ((HHV(HIGH,6)) - CLOSE)) / ((HHV(HIGH,6)) - (LLV(LOW,6)))),28));A5:=MA(A4,6);红持股:IF((A3 < A5),A5,A3),COLORRED;绿持币:IF((A3 > A5),A5,A3),COLORGREEN;强弱:(A5),LINETHICK1,COLORYELLOW;不胜感谢!
公式源码回答:
A3:=100 - ((90 * ((HHV(HIGH,20)) - CLOSE)) / ((HHV(HIGH,20)) - (LLV(LOW,20))));
A4:=100 - (MA(((100 * ((HHV(HIGH,6)) - CLOSE)) / ((HHV(HIGH,6)) - (LLV(LOW,6)))),28));
XG:CROSS(A3,A4);
投股 票网 www.tou18. cn
股市公式下载推荐