快生活 - 生活常识大全

涨停影子涨停板向右自动画线


  公式源码:
  ----------------------------------
  {涨停-红色}
  M:MA(C,8);
  ZDF:=(C-REF(C,1))/REF(C,1)*100;
  STICKLINE(ZDF>9.5,C,O,3.1,0),COLOR0000CC;
  STICKLINE(ZDF>9.5,C,O,2.1,0),COLOR00FFFF;
  STICKLINE(ZDF>9.5,HIGH,LOW,0 ,0),COLOR00FFFF;
  ZT:=(C/REF(C,1)-1)*100>9.5;
  ZT1:=BARSLAST((C/REF(C,1)-1)*100>9.5);
  涨停距今:ZT1,NODRAW,COLORWHITE;
  ZT2:=BARSLAST(ZT);
  ZT3:=REF(H,ZT2)-REF(L,ZT2);
  {STICKLINE(C,(REF(L,ZT2)+ZT3*0.5),(REF(L,ZT2)+ZT3*0.5),2,0),COLORRED;}
  STICKLINE(C,REF(L,ZT2),REF(L,ZT2),2,0),COLORWHITE;
  STICKLINE(C,(REF(L,ZT2)+ZT3*1),(REF(L,ZT2)+ZT3*1),2,0),COLOR80FFFF;
  涨停价:REF(H,ZT2)NODRAW,COLORYELLOW;
  {双阴洗盘}
  HL:=WINNER(C);
  T2:=V<REF(V,2) AND REF(V,1)<REF(V,2);
  T1:=REF(ZDF,2)&gt;9.6 AND REF(ZDF,1)&lt;-2 AND ZDF&lt;-2 and="" c=""&gt;=MA(C,8);<!---2-->
  SYXP:=REF(T1,1) AND C&gt;REF(O,1);
  双阴洗盘:REF(O,1),NODRAW,COLOR80FF00;
  DRAWTEXT(T1,L,"注意双阴洗盘"),COLORGREEN;
  {极目远眺}
  ZDF1:=ZDF&gt;9.6;
  DYH:=REF(H,BARSLAST(ZDF1));
  BHL:=LLV(L,BARSLAST(ZDF1));
  极目远眺:REF(H,1),NODRAW,COLOR8000FF;
  JMYT:=V&lt;=ref(v,1)*1.1 and="" c=""&gt;=O,BARSLAST(ZDF1))=BARSLAST(ZDF1)AND C&gt;=REF(C,1) AND BHL&gt;DYH AND BARSLAST(ZDF1)=2;<!--=ref(v,1)*1.1-->
  DRAWTEXT(JMYT,L,"注意极目远眺"),COLOR8000FF;
网站目录投稿:幼绿