飞狐千钧寻牛分时指标
源码
N1:=5;N2:=5;N3:=12;
Var1:=MA(CLOSE,5);
Var2:=999999999999999999999999
Var3:=999999999999999999999999
Var4:=999999999999999999999999
俺的牛A: MA(CLOSE,13);
Var5:=MA(CLOSE,34);
Var6:=MA(CLOSE,60);
Var7:=999999999999999999999999
Var8:=999999999999999999999999
Var9:=999999999999999999999999
俺的牛B: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10,;
俺的牛C: DMA(EMA(CLOSE,N3),SUM(VOL/CAPITAL,5)/3), ;
VarA:=REF(CLOSE,1);
VarB:=999999999999999999999999
VarC:=999999999999999999999999
VarD:=999999999999999999999999
VarE:=SMA(MAX(CLOSE-VarA,0),6,1)/SMA(ABS(CLOSE-VarA),6,1)*100;
DRAWTEXT(DATE>700101 AND CROSS(84,VarE),HIGH,'☆卖出提示'), ;
VarF:=(2*CLOSE+HIGH+LOW)/4;
Var10:=LLV(LOW,34);
Var11:=HHV(HIGH,34);
Var12:=EMA((VarF-Var10)/(Var11-Var10)*100,6);
Var13:=EMA(0.667*REF(Var12,1)+0.333*Var12,4);
Var14:=LLV(LOW,120);
Var15:=HHV(HIGH,120);
Var16:=Var15-Var14;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(Var12>Var13,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),LOW,'★注意进场'),;
STICKLINE(俺的牛B>俺的牛A,俺的牛A,俺的牛B,0.1,1),;
STICKLINE(俺的牛B<俺的牛A,俺的牛A,俺的牛B,0.1,1), ;
b:=BARSCOUNT(C);
d:=BARSLAST(b);
hh:=hhv(h,d);
DRAWTEXT(BARSTATUS=1,hh,STKLABEL+' '+STKNAME+'
换手率:=100*v/capital,colorfffFff;
RH:=H-L;
R:=DYNAINFO(13)*100;
gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/
(v+0.01)/100);
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
DRAWTEXT(BARSTATUS=2 ,hh,'----------------------------------
DRAWTEXT(BARSTATUS=2 and c>=今日支撑,hh,'
DRAWTEXT(BARSTATUS=2 and c<今日支撑,hh,'
DRAWTEXT(BARSTATUS=2 and c>=今日阻力,hh,'
DRAWTEXT(BARSTATUS=2 and c<今日阻力,hh,'
DRAWTEXT(BARSTATUS=2 ,hh,'
DRAWTEXT(BARSTATUS=2 ,hh,'
DRAWTEXT(BARSTATUS=2 ,hh,'----------------------------------
DRAWTEXT(BARSTATUS=2 and v>ref(v,1) and ma(v,5)>ref(ma
(v,5),1),hh,'今日成交量大于昨日,且有继续增大趋势'+'
DRAWTEXT(BARSTATUS=2 and v<ref(v,1) and ma(v,5)>ref(ma
(v,5),1),hh,'今日成交量小于昨日,但有放大迹象'+'
DRAWTEXT(BARSTATUS=2 and v>ref(v,1)and ma(v,5)<ref(ma
(v,5),1),hh,'今日成交量大于昨日, 但有缩小迹象'+'
DRAWTEXT(BARSTATUS=2 and v<ref(v,1)and ma(v,5)<ref(ma
(v,5),1),hh,'今日成交量小于昨日,且有缩小迹象'+'