通达信回眸一笑主图及选股指标(源码)
2014-02-12 09:06:00来源:本站整理浏览:489
UPPER:(1+10/100)*MA(CLOSE,11);
LOWER:(1-9/100)*MA(CLOSE,11);
ENE:(UPPER+LOWER)/2;
RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Q:=SMA(RSV,8,1);
Z:=SMA(Q,5,1);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
抄底:=CROSS(RSI,13) AND Q<30 AND Z<30 ;
STICKLINE(抄底,OPEN,CLOSE,3,0),COLOR00FFFF;
回眸一笑:=CROSS(RSI,80) AND Q<80 AND Z<80 ;
STICKLINE(回眸一笑,OPEN,CLOSE,3,0),COLORRED;
DRAWICON(回眸一笑,L*0.96,27);
{
选股公式:
RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Q:=SMA(RSV,8,1);
Z:=SMA(Q,5,1);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
回眸一笑选股:CROSS(RSI,80) AND Q<80 AND Z<80 ;
}
- 上一篇公式:通达信中短线MACD指标(源码)
- 下一篇公式:通达信黑马腾飞及选股指标(源码)