同花顺艾精简指标公式源码 同花顺指标公式大全
2015-7-29 10:57:57 股票入门 http://rumen.southmoney.com
同花顺艾精简指标公式源码 同花顺指标公式大全 南方财富网小编为您提供
STICKLINE(CROSS(MA(C,1),MA(C,9)),CLOSE,OPEN,8,0),colorred;
STICKLINE(CROSS(MA(C,1),MA(C,9)),HIGH,LOW,0.8,0),colorred;
STICKLINE(CROSS(MA(C,1),MA(C,55)),CLOSE,OPEN,6,0),colorgray;
STICKLINE(CROSS(MA(C,1),MA(C,55)),HIGH,LOW,0.6,0),colorgray;
STICKLINE(CROSS(MA(C,1),MA(C,23.5)),CLOSE,OPEN,7,0),coloryellow;
STICKLINE(CROSS(MA(C,1),MA(C,23.5)),HIGH,LOW,0.7,0),coloryellow;
STICKLINE(CROSS(MA(C,1),MA(C,120)),CLOSE,OPEN,5,0),colormagenta;
STICKLINE(CROSS(MA(C,1),MA(C,120)),HIGH,LOW,0.5,0),colormagenta;工作线17:EMA(CLOSE,17),coloryellow;
中期线50:EMA(CLOSE,50),linethick2;
长期线453:EMA(CLOSE,453),colorred,linethick2;支撑位:IF((EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100》=0,REF(EMA(CLOSE,15),BARSLAST(CROSS((EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100,0))+1),DRAWNULL),colorred,LINETHICK3;
阻力位:IF((EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100《0,REF(EMA(CLOSE,15),BARSLAST(CROSS(0,(EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100))+1),DRAWNULL),colorblue,LINETHICK3;
CC1:=(C-REF(C,1))/REF(C,1)*100》1.2;DD1:=L《MA(C,5)*0.921;EE1:=V《MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.99),‘鼠’),COLOR4080FF;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);
STICKLINE(CROSS(88,RSI),O,C,0.3,0),COLOR113311;
VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;
MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX《0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买=1,5),LOW-0.18,‘拉’),COLOR0000FF;
Var11:=ZIG(3,6)》REF(ZIG(3,6),1)
AND REF(ZIG(3,6),1)《=REF(ZIG(3,6),2)
AND REF(ZIG(3,6),2)《=REF(ZIG(3,6),3);
Var12:=ZIG(3,6)《REF(ZIG(3,6),1)
AND REF(ZIG(3,6),1)》=REF(ZIG(3,6),2)
AND REF(ZIG(3,6),2)》=REF(ZIG(3,6),3);
Var13:=ZIG(3,22)》REF(ZIG(3,22),1)
AND REF(ZIG(3,22),1)《=REF(ZIG(3,22),2)
AND REF(ZIG(3,22),2)《=REF(ZIG(3,22),3);
Var14:=ZIG(3,22)《REF(ZIG(3,22),1)
AND REF(ZIG(3,22),1)》=REF(ZIG(3,22),2)
AND REF(ZIG(3,22),2)》=REF(ZIG(3,22),3);
Var15:=ZIG(3,51)》REF(ZIG(3,51),1)
AND REF(ZIG(3,51),1)《=REF(ZIG(3,51),2)
AND REF(ZIG(3,51),2)《=REF(ZIG(3,51),3);
Var16:=ZIG(3,51)《REF(ZIG(3,51),1)
AND REF(ZIG(3,51),1)》=REF(ZIG(3,51),2)
AND REF(ZIG(3,51),2)》=REF(ZIG(3,51),3);
Var17:=ZIG(3,72)》REF(ZIG(3,72),1)
AND REF(ZIG(3,72),1)《=REF(ZIG(3,72),2)
AND REF(ZIG(3,72),2)《=REF(ZIG(3,72),3);
Var18:=ZIG(3,72)《REF(ZIG(3,72),1)
AND REF(ZIG(3,72),1)》=REF(ZIG(3,72),2)
AND REF(ZIG(3,72),2)》=REF(ZIG(3,72),3);
Var19:=EMA(C,2)-EMA(C,150);
买点1:=(Var11+Var13+Var15+Var17);
买点2:=(Var13+Var15+Var17);
卖点1:=(Var12+Var14+Var16+Var18);
卖点2:=(Var14+Var16+Var18);
STICKLINE( 买点1》0 ,H,L, 10,1),colorwhite,linethick1;STICKLINE( 买点1》0,O,C,6,0),colorwhite,linethick1;
STICKLINE( 买点2》0 ,H,L, 10,1),colorwhite,linethick1;STICKLINE( 买点2》0,O,C,6,0),colorred,linethick1;
STICKLINE( 卖点1》0,H,L, 11,5),colorblue,linethick1;STICKLINE( 卖点1》0,O,C,6,0),colorbrown,linethick1;
STICKLINE( 卖点2》0,H,L, 11,5),colorblue,linethick1;STICKLINE( 卖点2》0,O,C,6,0),colorwhite,linethick1;
DRAWTEXT(卖点2》0, H,‘顶’),colorblue,linethick3;
DRAWTEXT(买点2》0, L,‘底’),COLORFF00FF,linethick3;
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
;X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
GR1:=BARSLAST(BETWEEN(“BIAS.BIAS2”(6,13,24),0,5));
GR2:=EMA(X1,13)》EMA(X1,21) AND EMA(X1,21)》EMA(X1,34)
AND EMA(X1,13)》REF(EMA(X1,13),1);
GR3:=COUNT(“BIAS.BIAS2”(6,13,24)》10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR6:=GR2 AND GR3 AND GR4;
GR7:=GR2 AND GR3 AND GR4;
GR8:=GR6 AND GR7;
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
DRAWTEXT(FILTER(BB13》1 AND EMA(X1,13)》REF(EMA(X1,8),1),10),EMA8,‘∠角’),COLORFF80FF,LINETHICK2;GET:ZIG(3,5),COLORAAAAAA;
PL5:=ZIG(3,5);
EN1:=ZIG(3,5)》REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)《=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)《=REF(ZIG(3,5),3);
EX1:=ZIG(3,5)《REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)》=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)》=REF(ZIG(3,5),3);
;买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
bu:=CROSS(买线,卖线);
sel:=CROSS(卖线,买线);
DRAWTEXT(bu,LOW,‘必’),colorred,linethick3;
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
baijin1:=BARSLAST(CROSS(30,GJTJ1))《2 AND BARSLAST(CROSS(GJTJ1,50))《2;
baijin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))《2 AND GJTJ1》GJTJ4;
baijin3:=GJTJ1》60 AND GJTJ4》70;
huangjin1:=BARSLAST(CROSS(50,GJTJ1))《3 AND BARSLAST(CROSS(GJTJ1,50))《3;
huangjin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))《2 AND GJTJ1》GJTJ4;
XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))《5 AND GJTJ1》GJTJ4;
DRAWTEXT(COUNT(XG,3)=1 AND XG AND C》MA(C,20),L-0.02,‘暴’),colorred;买:ZIG(3,10);
卖:MA(买,2);
买:ZIG(3,10);
卖:MA(买,2);
DRAWICON(CROSS(买,卖),L-CLOSE/15,“buy”);
DRAWICON(CROSS(卖,买),H+CLOSE/15,“sell”);
Var1:=ZIG(3,10)《REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)》REF(ZIG(3,10),2);
Var2:=ZIG(3,10)》REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)《REF(ZIG(3,10),2);
STICKLINE(Var1,C,O,8,0),coloryellow,LINETHICK2;
STICKLINE(Var1,C,O,3,0),coloryellow,LINETHICK2;
STICKLINE(Var1,H,L,1,0),coloryellow,LINETHICK2;
STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;
STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;
STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;
B1:=MA(C,1);
趋势1:SMA(SMA(SMA(B1,2,1),2,1),2,1),colorred,LINETHICK;
趋势2:=MA(趋势1,3),ColorFF00FF,LINETHICK0;
停损下限:IF(LLV(MA(趋势1,2),2)《趋势1,LLV(MA(趋势1,2),2),趋势1);
iii:=EMA((LOW+CLOSE+OPEN)/3,28)》REF(EMA((LOW+CLOSE+OPEN)/3,27),1);
ggg:=EMA((LOW+CLOSE+OPEN)/3,28)《REF(EMA((LOW+CLOSE+OPEN)/3,27),1);
PARTLINE(停损下限,iii,RGB(255,0,0),ggg,RGB(0,255,0)),LINETHICK3;
压力:=HHV(MA(趋势1,2),2),coloryellow;箱顶:MA(REF(HHV(C,10),1),1),LINETHICK1,COLORFFA188;
箱底:MA(REF(LLV(C,10),1),1),LINETHICK1,COLORFFA188;
更多同花顺指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。