合成一短线指标 (源码 附图)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:4.00 KB
更新时间:2010-06-16 10:28:00
公式简介:
合成一短线指标
源码
P1:=5;
P2:=4;
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE / SSRCJL) / 100);
SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100);
高卖:80, POINTDOT,COLORRED;
低吸:20, POINTDOT,COLORGREEN;
VAR1:=LLV(LOW,P1);
VAR2:=HHV(HIGH,P1);
牛线: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK1;
马线: EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;
BIAS:(C-MA(C,5))/MA(C,5)*100;
超跌:BIAS<-5,LINETHICK0;
DRAWICON(超跌,BIAS-0.15,1);
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(ABS(CLOSE-LC),4,1)*100;
【逃顶至尊2】:IF(CROSS(80,RSI5),-3,0),STICK,COLORGREEN;
XSH:=MA(HIGH,5)*(1+5/100);
XSL:=MA(LOW,5)*(1-5/100);
VV:=(O+H+L+C)/4;
A:CROSS(C,XSL) AND C/REF(MA(VV,8),1)<=0.9 AND C>REF(L,1),LINETHICK0 ;
DRAWTEXT(A,C*0.9,'★买'),COLORCYAN;
B:CROSS(XSH,C),LINETHICK0;
DRAWTEXT(B,C*1.1,'◆逃'),COLORCYAN;
[url=http://www.goodgupiao.com/gupiaogongshi/7922.html][B]合成一短线指标 (源码 附图)[/B][/url]