通达信准确极高的买点及选股指标(源码)
2014-03-14 08:42:00来源:本站整理浏览:662
N:=9;
M:=3;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
A:EMA(RSV,M);
B:MA(A,M);
VAR1:=3;
VAR2:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
买:IF(CROSS(VAR2,VAR1),100,0);
{
选股公式:
N:=9;
M:=3;
{LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
A:EMA(RSV,M);
B:MA(A,M);}
VAR1:=3;
VAR2:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
买:IF(CROSS(VAR2,VAR1),100,0);
}
- 上一篇公式:通达信MACD支撑压力指标(源码)
- 下一篇公式:通达信牛股启动指标(源码)