趋势为王指标 (源码)
2012-01-02 11:50:00来源:本站整理浏览:222
LC:= REF(C,1);
RSI:SMA(MAX(C-LC,0),14,1)/SMA(ABS(C-LC),14,1)*100,ColorFF00FF;
QS:=HHV(MA(RSI,3),13);
RS:=llV(MA(RSI,3),13);
Var1:=BACKSET(REF(QS,2)=HHV(QS,5),3);
Var2:=CROSS(Var1,0.9);
Var3:=BACKSET(REF(RS,2)=LLV(RS,5),3);
Var4:=CROSS(Var3,0.9);
{www.gpxiazai.com 股票软件下载网_最新股票指标公式}
压力:REF(QS,BARSLAST(Var2)),POINTDOT,Color00ff00;
STICKLINE(RSI,REF(QS,BARSLAST(Var2)),REF(QS,BARSLAST(Var2)),5,0),Color00ff00;
支撑:REF(RS,BARSLAST(Var4)),POINTDOT,Color0087FF;
STICKLINE(RSI,REF(RS,BARSLAST(Var4)),REF(RS,BARSLAST(Var4)),5,0),Color0087FF;
F1:=ZIG(3,15);
F3:IF((F1> REF(F1,1)),0,90);
DRAWTEXT(FILTER(F3,120),20,'下来就买'),COLORyellow;
DRAWTEXT(FILTER(F3,120),10,'上去就卖'),COLORyellow;
- 上一篇公式:量价增减指标 (源码)
- 下一篇公式:只要上穿线就有钱花指标 (源码)