波段顶底副图源码分享,胜率93.95%股王波段抄底逃顶
源码
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.01,0,2),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.04,0,2),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.08,0,26),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.13,0,2),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.18,0,2),COLORFF75FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.28,0,27),COLORRED;
XA_1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
XA_2:=SMA(XA_1,9,1)+100;
XA_3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XA_4:=SMA(XA_3,3,1);
XA_5:=SMA(XA_4,3,1)+100;
XA_6:=XA_5-XA_2;
趋势1:IF(XA_6>45,XA_6-45,0);
XA_7:=REF(LOW,1);
XA_8:=SMA(ABS(LOW-XA_7),3,1)/SMA(MAX(LOW-XA_7,0),3,1)*100;
XA_9:=EMA(IF(CLOSE*1.3,XA_8*10,XA_8/10),3);
XA_10:=LLV(LOW,30);
XA_11:=HHV(XA_9,30);
XA_12:=IF(MA(CLOSE,58),1,0);
XA_13:=EMA(IF(LOW<=XA_10,(XA_9+XA_11*2)/2,0),3)/999*XA_12;
XA_14:=IF(XA_13>100,100,XA_13);
STICKLINE(XA_14>0,0,XA_14*1.1,1,0),COLORGREEN;
STICKLINE(REF(趋势1,1)<趋势1,趋势1,REF(趋势1,1),1,0),COLORRED;
波段顶底副图源码分享,胜率高的波段抄底逃顶