源码
N1:=5;N2:=5;N3:=12;
Var1:=MA(CLOSE,5);
Var2:=999999999999999999999999999;
Var3:=999999999999999999999999999;
Var4:=999999999999999999999999999;
俺的牛A: MA(CLOSE,13);
Var5:=MA(CLOSE,34);
Var6:=MA(CLOSE,60);
Var7:=999999999999999999999999999;
Var8:=999999999999999999999999999;
Var9:=999999999999999999999999999;
俺的牛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:=999999999999999999999999999;
VarC:=999999999999999999999999999;
VarD:=999999999999999999999999999;
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+’ ‘),ColorFFFF80,pxdn20,align4,align2;
换手率:=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,’———————————- ‘),ColorFFFFFF,pxdn2,align4,align2,;
DRAWTEXT(BARSTATUS=2 and c>=今日支撑,hh,’ 今日支撑=:’+NUMTOSTR(今日支撑 ,2 )+’ ‘),ColorFF00FF,pxdn50,align4,align2,;
DRAWTEXT(BARSTATUS=2 and c<今日支撑,hh,’ 今日支撑=:’+NUMTOSTR(今日支撑 ,2 )+’ ‘),,Color0000FF,pxdn50,align4,align2,;
DRAWTEXT(BARSTATUS=2 and c>=今日阻力,hh,’ 今日阻力=:’+NUMTOSTR(今日阻力 ,2 )+’ ‘),align4,Color0000FF,pxdn20,align2,;
DRAWTEXT(BARSTATUS=2 and c<今日阻力,hh,’ 今日阻力=:’+NUMTOSTR(今日阻力 ,2 )+’ ‘),Color00FF00,pxdn20,align4,align2,;
DRAWTEXT(BARSTATUS=2 ,hh,’ 明日阻力=:’+NUMTOSTR(明日阻力,2 )+’ ‘),Color00FFFF,pxdn20,align4,align2,;
DRAWTEXT(BARSTATUS=2 ,hh,’ 明日支撑=:’+NUMTOSTR(明日支撑,2 )+’ ‘),Color00FFFF,pxdn50,align4,align2,;
DRAWTEXT(BARSTATUS=2 ,hh,’———————————- ‘),ColorFFFFFF,pxdn70,align4,align2,;
DRAWTEXT(BARSTATUS=2 and v>ref(v,1) and ma(v,5)>ref(ma
(v,5),1),hh,’今日成交量大于昨日,且有继续增大趋势’+’ ‘),Color8285FF,pxdn90,align4,align2,;
DRAWTEXT(BARSTATUS=2 and v<ref(v,1) and ma(v,5)>ref(ma
(v,5),1),hh,’今日成交量小于昨日,但有放大迹象’+’ ‘),Color8285FF,pxdn90,align4,align2,;
DRAWTEXT(BARSTATUS=2 and v>ref(v,1)and ma(v,5)<ref(ma
(v,5),1),hh,’今日成交量大于昨日, 但有缩小迹象’+’ ‘),Color8285FF,pxdn90,align4,align2,;
DRAWTEXT(BARSTATUS=2 and v<ref(v,1)and ma(v,5)<ref(ma
(v,5),1),hh,’今日成交量小于昨日,且有缩小迹象’+’ ‘),Color8285FF,pxdn90,align4,align2,;
评论(0)