XA_1:=REF(HHV(HIGH,120),3);
XA_2:=REF(LLV(LOW,120),3);
XA_3:=XA_1-(XA_1-XA_2)*0.191;
XA_4:=XA_1-(XA_1-XA_2)*0.382;
XA_5:=XA_1-(XA_1-XA_2)*0.5;
XA_6:=XA_1-(XA_1-XA_2)*0.618;
XA_7:=XA_1-(XA_1-XA_2)*0.809;
XA_8:=REF(EMA(CLOSE,14),1);
{www.70822.com}
XA_9:=(EMA(CLOSE,10)-XA_8)/XA_8*100;
XA_10:=IF(XA_9>=0,REF(EMA(CLOSE,10),BARSLAST(CROSS(XA_9,0))+1),REF(EMA(CLOSE,10),BARSLAST(CROSS(0,XA_9))+1));
STICKLINE(XA_9>=0,XA_10,XA_8+0.001*CLOSE,10.4,0),COLORYELLOW;
STICKLINE(XA_9<0,XA_10,XA_8-0.001*CLOSE,10.4,0),COLORGREEN;
STICKLINE(XA_9>=0,XA_10,XA_8,10,0),COLOR000099;
STICKLINE(XA_9<0,XA_10,XA_8,10,0),COLOR320000;
DRAWICON(XA_9>=0 AND REF(XA_9,1)<0,LOW*0.98,13);
DRAWICON(XA_9<0 AND REF(XA_9,1)>=0,HIGH*1.02,14);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
p20184230443852470.jpg
|