{富力MA拐点}
XA_1:=EMA(CLOSE,2);
XA_2:=EMA(SLOPE(CLOSE,13)*15+CLOSE,34);
XA_3:=CROSS(XA_1,XA_2);
XA_4:=CROSS(XA_2,XA_1);
STICKLINE(XA_1>=XA_2,LOW,HIGH,0,0),COLORRED;
STICKLINE(XA_1>=XA_2,CLOSE,OPEN,3,0),COLOR0000AA;
STICKLINE(XA_1>=XA_2,CLOSE,OPEN,2.5,0),COLOR0000CC;
STICKLINE(XA_1>=XA_2,CLOSE,OPEN,2,0),COLOR0000CC;
STICKLINE(XA_1>=XA_2,CLOSE,OPEN,1,0),COLOR0000EE;
STICKLINE(XA_1<XA_2,CLOSE,OPEN,3,0),COLORAAAA00;
STICKLINE(XA_1<XA_2,CLOSE,OPEN,2.5,0),COLORBBBB00;
STICKLINE(XA_1<XA_2,CLOSE,OPEN,2,0),COLORCCCC00;
STICKLINE(XA_1<XA_2,CLOSE,OPEN,1,0),COLOREEEE00;
STICKLINE(XA_1<XA_2,LOW,HIGH,0,0),COLORCYAN;
STICKLINE(CROSS(XA_2,XA_1),OPEN,CLOSE,1,0),COLORFF2400;
XA_5:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
XA_6:=EMA(XA_5,5);
XA_7:=REFDATE(REF(HHV(HIGH,96),5),DATE);
XA_8:=REFDATE(REF(LLV(LOW,96),5),DATE);
XA_9:=BARSLAST(CURRBARSCOUNT=21);
XA_10:=CONST(IF(ISLASTBAR=1,HHV(HIGH,XA_9),0));
XA_11:=CONST(IF(ISLASTBAR=1,LLV(LOW,XA_9),0));
XA_12:=XA_10-XA_11;{WWW.70822.com}
XA_13:=EMA(CLOSE,9)-EMA(CLOSE,21);
吸:XLPL.NOTEXT吸,NODRAW,COLORMAGENTA;
XA_14:=IF(吸!=DRAWNULL,XA_13,DRAWNULL);
STICKLINE(XA_14,LOW,HIGH,0,0),COLORMAGENTA;
STICKLINE(XA_14,CLOSE,OPEN,3,1),COLORMAGENTA;
XA_15:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
XA_16:=REF(XA_15,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_17:=REF(XA_16,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_18:=REF(XA_17,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_19:=REF(XA_18,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_20:=REF(XA_19,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_21:=REF(XA_20,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_22:=REF(XA_21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_23:=REF(XA_22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_24:=REF(XA_23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_25:=REF(XA_24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_26:=REF(XA_25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_27:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
XA_28:=REF(XA_27,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_29:=REF(XA_28,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_30:=REF(XA_29,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_31:=REF(XA_30,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_32:=REF(XA_31,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_33:=REF(XA_32,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_34:=REF(XA_33,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_35:=REF(XA_34,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_36:=REF(XA_35,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_37:=REF(XA_36,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XA_38:=REF(XA_37,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XA_39:=REF(XA_27 OR XA_28 OR XA_29 OR XA_30 OR XA_31 OR XA_32 OR XA_33 OR XA_34 OR XA_35 OR XA_36 OR XA_37 OR XA_38,1) AND XA_15;
XA_40:=REF(XA_15 OR XA_16 OR XA_17 OR XA_18 OR XA_19 OR XA_20 OR XA_21 OR XA_22 OR XA_23 OR XA_24 OR XA_25 OR XA_26,1) AND XA_27;
STICKLINE(XA_39,CLOSE,OPEN,1,0),COLOR4ABEFF;
STICKLINE(XA_40,CLOSE,OPEN,1,0),COLORBLUE;
重心:(2*CLOSE+HIGH+LOW)/4,NODRAW;{WWW.70822.com}
XA_41:=WMA((重心-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,2);
XA_42:=WMA(0.618*REF(XA_41,1)+0.382*XA_41,2);
DRAWTEXT(CROSS(XA_41,XA_42) AND XA_41<30,LOW-0.01,1),COLORE6E8FA;
DRAWTEXT(CROSS(XA_42,XA_41) AND XA_41>70,HIGH+0.01,2),COLORE6E8FA;
趋势1:MA(MA(CLOSE,8),8),COLOR9F9F5F,LINETHICK2;
持股1:IF(CLOSE>趋势1,趋势1,DRAWNULL),COLOR9F9F5F,LINETHICK2;
OMA:MA(CLOSE,5),COLORFF2400;{WWW.70822.com}
IF(OMA>REF(OMA,1),OMA,DRAWNULL),COLORRED;
IF(OMA<REF(OMA,1),OMA,DRAWNULL),COLORGREEN;
p201832811224880257.jpg
|