公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

倚天剑指标 (源码)

2016-3-16 04:16| 发布者: admin| 查看: 4| 评论: 0

操作线:ema(c,7),color00ff00;
E21:EMA(C,21),Color008000;
E38:EMA(C,38),ColorFFFFFF;
E55:EMA(C,55),ColorFFFF00;
E89:EMA(C,89),Color0000FF;
E157:EMA(C,157),ColorFF00FF;
MA241:MA(C,241),ColorFF0000;
A:=(REF(操作线,1));
STICKLINE((操作线>A),A,操作线,6,0),Color00FF00;
STICKLINE((操作线<=A),A,操作线,6,0),Color0000FF;
VARA:=IF((CLOSE>150),91.3,0.91299998);
箱下沿:INTPART((CLOSE)/(VARA)),ColorF0F000,POINTDOT;
箱上沿:箱下沿+VARA,Color00FFFF,POINTDOT;
VAR31:=(HHVBARS((ZIG(1,19)>REF(ZIG(1,19),1)) AND (REF(ZIG(1,19),1)LC:=(REF(CLOSE,1));
动力:=(((SUM(IF((CLOSE>LC),VOL,0),26))/(SUM(IF((CLOSE<=LC),VOL,0),26)))*(100));
WVAD10:=(MA(((CLOSE-OPEN)/(HIGH-LOW))*(VOL),10))/(1000)+(50);
神奇数字:=(0);
DRAWTEXT((VAR31=20),(LOW)*(0.99000001),'↑21'),Color00FFFF;
DRAWTEXT((VAR31=33),(HIGH)*(1.04),'↓34'),Color00FFFF;
DRAWTEXT((VAR31=54),(LOW)*(0.99000001),'↑55'),Color00FFFF;
DRAWTEXT((VAR31=88),(HIGH)*(1.05),'↓89'),Color00FFFF;
DRAWTEXT((VAR31=143),(LOW)*(0.99000001),'↑144'),Color00FFFF;
DRAWTEXT((VAR31=232),(HIGH)*(1.05),'↓233'),Color00FFFF;
DRAWTEXT((VAR31=376),(LOW)*(0.99000001),'↑377'),Color00FFFF;
M9:=(MA(CLOSE,9));
Y:=((HIGH+LOW)/(2));
AO:=MA(Y,5)-(MA(Y,34));
DU0:=(CROSS(AO,0));
UD0:=(CROSS(0,AO));
TDU0:=(BARSLAST(DU0));
TUD0:=(BARSLAST(UD0));
DU3:=(REF(DU0,1));
UD3:=(REF(UD0,1));
TDU3:=(BARSLAST(DU3));
TUD3:=(BARSLAST(UD3));
UDGLINE:=(IF((TDU3JDU0:=(REF(CLOSE,1)<=REF(UDGLINE,1)) AND (CLOSE>UDGLINE) AND (TDU0<(TUD0));
JUD0:=(REF(CLOSE,1)>=REF(UDGLINE,1)) AND (CLOSEJDU1:=JDU0 AND (COUNT(JDU0,TDU0)=(1));
JUD1:=JUD0 AND (COUNT(JUD0,TUD0)=(1));
JDU2:=JDU1 AND (REF(BARSLAST(JUD1),1)<(REF(BARSLAST(JDU1),1)));
JUD2:=JUD1 AND (REF(BARSLAST(JUD1),1)>(REF(BARSLAST(JDU1),1)));
JDU3:=JDU1 AND (REF(BARSLAST(JUD1),1)>(REF(BARSLAST(JDU1),1)));
JUD3:=JUD1 AND (REF(BARSLAST(JUD1),1)<(REF(BARSLAST(JDU1),1)));
DRAWTEXT(JDU2,(M9)*(0.94999998),'▲买▲'),Colorred;
VAR1:=(((CLOSE-MA(CLOSE,30))/(MA(CLOSE,30)))*(100));
VAR2:=(CLOSE>OPEN) AND (OPEN-LOW>HIGH-(CLOSE));
VAR3:=(REF(VAR1,1)<(-20)) AND (VAR2);
DRAWTEXTABS(5,5,'股票软件下载网 www.gpxiazai.com'),linethick1,COLOR00EEff;
VAR4:=(REF(VAR1,1)<(-20)) AND (CLOSE>OPEN) AND (((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(1000)>(20));
VAR5:=(FILTER((VAR3 or VAR4),3));
VAR6:=(OPEN>CLOSE) AND (HIGH-IF((CLOSE>OPEN),CLOSE,OPEN)>IF((OPENVAR7:=(REF(VAR1,1)>ABS((-20))) AND (VAR6);
VAR8:=(REF(VAR1,1)>ABS((-20))) AND (CLOSE(20));
VAR9:=(FILTER((VAR7 or VAR8),3));
VAARA:=(REF(VAR1,1)<(-13)) AND (VAR2);
VARB:=(REF(VAR1,1)<(-13)) AND (CLOSE>OPEN) AND (((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(1000)>(20));
VARC:=(FILTER((VAARA or VARB),3));
VARD:=(REF(VAR1,1)>ABS((-13))) AND (VAR6);
VARE:=(REF(VAR1,1)>ABS((-13))) AND (CLOSE(20));
VARF:=(FILTER((VARD or VARE),3));
DRAWTEXT(((VARF)*(VAR1)>0),(1)*(REF(CLOSE,1)),'卖'),Coloryellow;

大智慧倚天剑指标公式


鲜花

握手

雷人

路过

鸡蛋
返回顶部