出击止赢公式 源码

2013-03-11 10:57:00来源:本站整理浏览:236

XX1:=DATE<23001231;
XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3)*XX1;
神奇线: MA((CLOSE-XX2)/XX2,1);
买点1: IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012,0.5,0), STICK,COLORWHITE;
稳赚: IF(COUNT(神奇线>REF(神奇线,1),3)=3 AND COUNT(神奇线<0,10)=10 AND REF(神奇线,3)=LLV(神奇线,10),0.5,0);
买点2: IF(REF(神奇线,2)=LLV(神奇线,20) AND REF(神奇线,2)<0.071 AND REF(神奇线,2)<REF(神奇线,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),0.5,0),COLORRED;
DRAWTEXT( 买点1>0,0.2 ,'★神奇线'),COLORWHITE;
DRAWTEXT( 买点2>0,0.4 , '★神奇线'),COLORRED;
Var1:=INDEXC;
Var2:=MA(Var1,6);
Var3:=MA(Var1,24);
Var4:=MA(Var1,32);
Var5:=MA(Var1,62);
Var6:=MA(Var1,105);
Var7:=Var5<REF(Var5,1) AND Var6<REF(Var6,1) AND Var5<Var6*0.98;
Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;
Var9:=Var2>Var1*0.95;
百发百中:Var7 AND Var8 AND Var9 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND DATE<1991231 OR CLOSE>0.1 AND DATE>1991231,COLORGREEN;
DRAWTEXT(百发百中>0 ,0.5 , '★百发百中'),COLORGREEN;
A:=99;
B:=LOW;
D:=REF(LOW,1);
E:=SMA(ABS(B-D),3,1)/SMA(MAX(B-D,0),3,1)*100;
F:=MA(IF(CLOSE*1.35<=A,E*10,E/10),3);
G:=LLV(LOW,30);
I:=HHV(F,30);
J:=99;
K:=CLOSE-REF(CLOSE,6);
M:=MA(K,6);
N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
P:=SMA(N,3,1);
Q:=SMA(P,3,1);
R:=EMA(3*P-2*Q,2);
S:=(((K+100)/2+R)/2-50)*(-4);
T:=EMA(S,3);
U:=EMA(T,4);
W:=T;
X:=U;
Y:=100-W;
Z:=100-X;
ZZ:=IF(DATE<=J,MA(IF(LOW<=G,(F+I*2)/2,0),3),99);
长针1: Z<9 AND ZZ>70000,COLORMAGENTA;
DRAWTEXT(长针1>0 ,0.7,'★长针1'),COLORMAGENTA;
V1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
V2:=SUMBARS(VOL,CAPITAL);
V3:=IF(CLOSE>LLV(CLOSE,V2),1,-1);
V4:=IF(V1>LLV(V1,V2),1,-1);
V5:=V3*V4;
V6:=IF(V5=-1,1,0);
V7:=COUNT(V6=1,8)>2;
V8:=AMOUNT/VOL/100;
V9:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VA:=SUM(AMOUNT,13)/V8/100;
VB:=DMA(V9,VOL/VA);
VC:=(CLOSE-VB)/VB*100<-15;
VD:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.05;
长针2:VC AND VD AND V7;
(长针2>0 AND REF(长针2,1)=0),COLORCYAN;
DRAWTEXT(长针2>0 AND REF(长针2,1)=0,0.9,'★长针2'),COLORCYAN;



股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式