同花顺源动术指标
-
相关简介:同花顺源动术指标 N:=9; M:=3; P:=2; AN1:=3; AN2:=6; AN3:=12; AN4:=24; AN5:=25; K:=34; Z:=3; RAV:=(CLOSE-LLV(LOW,N)); RAV1:=(HHV(HIGH,N)-LLV(LOW,N)); RAV2:=RAV/RAV1; RAV3 := (HIGH + LOW + CLOSE+REF(C,1)+O)/5; RAV4:=RAV2*100; RAV5:=SMA(RAV4,M,1); RAV6:=SMA(RAV5
-
文章来源:股海网作者:股海网发布时间:2014-12-03浏览次数:
同花顺源动术指标
N:=9;
M:=3;
P:=2;
AN1:=3;
AN2:=6;
AN3:=12;
AN4:=24;
AN5:=25;
K:=34;
Z:=3;
RAV:=(CLOSE-LLV(LOW,N));
RAV1:=(HHV(HIGH,N)-LLV(LOW,N));
RAV2:=RAV/RAV1;
RAV3 := (HIGH + LOW + CLOSE+REF(C,1)+O)/5;
RAV4:=RAV2*100;
RAV5:=SMA(RAV4,M,1);
RAV6:=SMA(RAV5,M,1);
价格趋势:=(M*RAV5-P*RAV6)*1.1;
A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
短多:=IF(A1>=B1,A1,B1);
短空:=IF(B1-A1,B1,A1);
庄:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
散:=EMA(100*(INDEXC-LLV(INDEXL,K))/(HHV(INDEXH,K)-LLV(INDEXL,K)),Z);
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3);
VUAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
乾坤:=IF(VUAR10*20 AND ((庄<15 AND 散<15) OR 趋势线<15),80,0);
动力: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),13,1),COLOR0000FF;
底:=0;
牛线:50,coloryellow;
VGar3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
AA:=((MA(CLOSE,AN1)+MA(CLOSE,AN2)+MA(CLOSE,AN3)+MA(CLOSE,AN4))/4);
BB:=MA(CLOSE,AN5),colorred,LINETHICK2;
LPC := REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LPC,0),6,1)/SMA(ABS(CLOSE-LPC),6,1)*100,;
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:=(0-WR)-100;
RSI买点:=RSI<20 AND RSI>REF(RSI,1);
T1:=C=LLV(C,12);
T2:=RSI>LLV(RSI,12);
T3:=RSI<21;
P1:=EMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5);
P2:=(HHV(HIGH,55)-LLV(LOW,55))/EMA((CLOSE-LLV(LOW,55)),5);
P3:=CROSS(P2,P1);
P6:=3*SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,5,1)-2*SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,5,1);
P7:= (CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
MW:= EMA(P6,5);
NU:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
NU0:=SMA(NU,3,1);
NU00:=SMA(NU0,3,1);
NU10:=3*NU0-2*NU00;
NU1:=EMA(3*NU0-2*NU00,4);
NU2:=SMA(NU1,5,1);
NW:=MA(3*SMA(P7,6,1)-2*SMA(SMA(P7,5,1),5,1),2);
HW:=CROSS(NW,0) AND MW<56;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CII背离:=IF(CROSS(-200,CCI) AND 趋势线<20 AND 动力<-15,90,0),LINETHICK1,colorgreen;
多头线:=EMA(C,1.5);
空头线:=EMA(C,5);
均衡线:=EMA(空头线,5);
VSARF1:=COUNT(CROSS(多头线,均衡线),2)=1;
VSARF2:=COUNT(CROSS(空头线,均衡线),2)=1;
抄S底:=FILTER(VSARF1 AND VSARF2,2);
VSAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VSAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
买S进:=CROSS(VSAR2,MA(VSAR3,6));
次仓:IF(抄S底 AND 买S进 AND 庄>REF(庄,1) AND 庄>散-10 AND SUM(乾坤,15)>0,150,0),STICK,LINETHICK3,colormagenta;
MAD1:=((MA(C,60)-L)/MA(C,20))*200-20;
三成仓:IF(MAD1>50,150,00),colorred,LINETHICK2;
漂元库:IF(乾坤=80,150,0),STICK,LINETHICK5,coloryellow;
FD1:=ZIG(3,15);
阴雨天:=IF((FD1> REF(FD1,1)),0,20);
量:=IF(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),1.5,0);
绝底:=IF(L<=LLV(L,100),-1,0);
a1:=AMOUNT/VOL/1000;
b2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
d3:=SUM(AMOUNT,13)/a1/1000;
e4:=DMA(b2,VOL/d3);
抄底高手:=(CLOSE-e4)/e4*1000;
抄底:=IF(CROSS(抄底高手,-166) AND 散>REF(散,1) AND 庄>散-20,50,0),LINETHICK1,colorcyan;
DRAWTEXT(抄底=50,-5,抄底),colorcyan;
HLM1:=MA(HHV(H,485),17);
HLM2:=MA(HHV(H,222),17);
HLM3:=MA(HHV(H,96),17);
HLM4:=MA(LLV(L,485),17);
HLM5:=MA(LLV(L,222),17);
HLM6:=MA(LLV(L,96),17);
HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);
HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);
HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);
HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);
HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);
HLMH:=HHV(HLM12,30);
预涨:=MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3)/200;
漂铁卖:IF(PEAKBARS(3,15,1)=1,75,150),colorwhite,LINETHICK1;