飞狐决战天王副图指标
-
相关简介:飞狐决战天王副图指标 源码 {决战天王} VARIABLE:K=1;VAR1:=SUM(VOL,0);VAR2:=VAR1/CAPITAL;N:=FLOOR(VAR2);T:=N=REF(N,1)+1; bbb:=IF(n0,n,0);bbb2:=IF(bbb-REF(bbb,1)0,bbb,0); VAR3:=SUM(VOL,BARSLAST(bbb2))/(CAPITAL*0.8); n1:=FLOOR(VAR3);t2:=N1=REF(N1,1)+1;K:=IF(T-1,K,K+1); 动
-
文章来源:股海网作者:股海网发布时间:2016-05-11浏览次数:
飞狐决战天王副图指标
源码
{决战天王}
VARIABLE:K=1;VAR1:=SUM(VOL,0);VAR2:=VAR1/CAPITAL;N:=FLOOR(VAR2);T:=N=REF(N,1)+1;
bbb:=IF(n>0,n,0);bbb2:=IF(bbb-REF(bbb,1)>0,bbb,0);
VAR3:=SUM(VOL,BARSLAST(bbb2))/(CAPITAL*0.8);
n1:=FLOOR(VAR3);t2:=N1=REF(N1,1)+1;K:=IF(T-1,K,K+1);
动态底部:EMA(IF(LOW<= LLV(LOW,30),SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF
(LOW,1),0),30,1),0),3)*5,STICK,COLORYELLOW,LINETHICK2;
Varq1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);Varq2:=SMA(ABS(LOW-Varq1),13,1)/SMA(MAX(LOW-Varq1,0),10,1);
Varq3:=EMA(Varq2,10);Varq4:=LLV(LOW,33);Varq5:=EMA(IF(LOW<=Varq4,Varq3,0),3)/5;
主力进场:STICKLINE(Varq5>REF(Varq5,1),0,Varq5,7,0 ),COLORFF00FF;
VAR6:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));
VAR7:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));
股神买入:((VAR6 AND VAR7)*15),STICK,colorcyan;
A1:SUMBARS(VOL,CAPITAL),LINETHICK0;
CMA:=IF(CAPITAL>0,SUM(AMOUNT,A1)/SUM(VOL,A1)/100,EMA(CLOSE,120));
百分之百换手价:CMA,LINETHICK0,ColorFFC0FF;{100%换手平均成本价};
STICKLINE(T,4.3,12.5,8.5,1),COLORGREEN;
STICKLINE(T2,4,11,8.5,1),COLORGREEN;
DRAWTEXTEX(0,1,560,5,'换手百分之百的价格:--'+NUMTOSTR(百分之百换手价,2)+'元'),Color00FF07,LINETHICK5;
DRAWTEXT(T,12,' 第'),ALIGN0,COLORGREEN;
DRAWNUMBER(bbb2,10.5,n,0),ALIGN0,COLORRED;
DRAWTEXT(T,9,' 次'),ALIGN0,COLORGREEN;
{DRAWTEXT(T,8,' 完'),ALIGN0,COLORGREEN;
DRAWTEXT(T,6,' 全'),ALIGN0,COLORGREEN;}
DRAWTEXT(T,7.5,' 换'),ALIGN0,COLORGREEN;
DRAWTEXT(T,6,' 手'),ALIGN0,COLORGREEN;
DRAWTEXT(T2,10,'
DRAWTEXT(T2,8.5,'
DRAWTEXT(T2,7,'
DRAWTEXT(T2,5.5,' %'),ALIGN0,COLORffff55;
{DRAWTEXT(T,1,' '+NUMTOSTR( K,0)+'天'),ALIGN0,COLORffff55;}