{波段王}
N:=9;M1:=2;M2:=3;
XA_1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
XA_2:=SMA(XA_1,M1,1);
XA_3:=SMA(XA_2,M2,1);
XA_4:=3*XA_2-2*XA_3;
XA_5:=(3*CLOSE+OPEN+HIGH+LOW)/6;
XA_6:=FORCAST(EMA(XA_5,8),6);
XA_7:=FORCAST(EMA(XA_5,17),6);
XA_8:=FORCAST(EMA(XA_5,11),6);
XA_9:=FORCAST(EMA(XA_5,14),6);
IF(XA_6>=XA_7,XA_6,DRAWNULL),COLORRED;
IF(XA_6<XA_7,XA_6,DRAWNULL),COLORGREEN;
IF(XA_6>=XA_7,XA_7,DRAWNULL),COLORRED;
IF(XA_6<XA_7,XA_7,DRAWNULL),COLORGREEN;
IF(XA_6>=XA_7,XA_8,DRAWNULL),DOTLINE,COLORRED;
IF(XA_6<XA_7,XA_8,DRAWNULL),DOTLINE,COLORGREEN;
IF(XA_6>=XA_7,XA_9,DRAWNULL),DOTLINE,COLORRED;
IF(XA_6<XA_7,XA_9,DRAWNULL),DOTLINE,COLORGREEN;
XA_10:=CROSS(XA_4,50);
XA_11:=CROSS(50,XA_4);
{分析家公式网WWW.70822.com}
STICKLINE(XA_4>=50,LOW,HIGH,0.01,0),COLORBLUE;
STICKLINE(XA_4>=50,CLOSE,OPEN,3,0),COLORBLUE;
STICKLINE(XA_4<50,LOW,HIGH,0.01,0),COLORE0E000;
STICKLINE(XA_4<50,CLOSE,OPEN,3,0),COLORE0E000;
STICKLINE(XA_10,LOW,HIGH,0.01,0),COLORRED;
STICKLINE(XA_10,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(XA_11,LOW,HIGH,0.01,0),COLORYELLOW;
STICKLINE(XA_11,CLOSE,OPEN,3,0),COLORYELLOW;
p20183141124587061.jpg
|