VAR1:=EMA(CLOSE,2);
VAR2:=EMA(SLOPE(CLOSE,13)*15+CLOSE,34);
VAR3:=CROSS(VAR1,VAR2);
VAR4:=CROSS(VAR2,VAR1);
STICKLINE(VAR1>=VAR2,LOW,HIGH,0,0),COLORRED;
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,3,0),COLOR0000AA;
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2.5,0),COLOR0000CC;
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,2,0),COLOR0000CC;
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,1,0),COLOR0000EE;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,3,0),COLORAAAA00;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,2.5,0),COLORBBBB00;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,2,0),COLORCCCC00;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,1,0),COLOREEEE00;
STICKLINE(VAR1<VAR2,LOW,HIGH,0,0),COLORCYAN;
STICKLINE(CROSS(VAR2,VAR1),OPEN,CLOSE,1,0),COLORFF2400;
VAR5:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
VAR6:=EMA(VAR5,5);
VAR7:=REFDATE(REF(HHV(HIGH,96),5),DATE);
VAR8:=REFDATE(REF(LLV(LOW,96),5),DATE);
VAR9:=BARSLAST(CURRBARSCOUNT=21);
VAR10:=CONST(IF(ISLASTBAR=1,HHV(HIGH,VAR9),0));
VAR11:=CONST(IF(ISLASTBAR=1,LLV(LOW,VAR9),0));
VAR12:=VAR10-VAR11;
VAR13:=EMA(CLOSE,9)-EMA(CLOSE,21);
吸:XLPL.NOTEXT吸,NODRAW,COLORMAGENTA;
VAR14:=IF(吸!=DRAWNULL,VAR13,DRAWNULL);
STICKLINE(VAR14,LOW,HIGH,0,0),COLORMAGENTA;
STICKLINE(VAR14,CLOSE,OPEN,3,1),COLORMAGENTA;
VAR15:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR19:=REF(VAR18,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR20:=REF(VAR19,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR21:=REF(VAR20,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR22:=REF(VAR21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR23:=REF(VAR22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR24:=REF(VAR23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR25:=REF(VAR24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR26:=REF(VAR25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR27:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);{www.fxjgsw.com}
VAR28:=REF(VAR27,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR29:=REF(VAR28,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR30:=REF(VAR29,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR31:=REF(VAR30,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR32:=REF(VAR31,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR33:=REF(VAR32,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR34:=REF(VAR33,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR35:=REF(VAR34,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR36:=REF(VAR35,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR37:=REF(VAR36,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR38:=REF(VAR37,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR39:=REF(VAR27 OR VAR28 OR VAR29 OR VAR30 OR VAR31 OR VAR32 OR VAR33 OR VAR34 OR VAR35 OR VAR36 OR VAR37 OR VAR38,1) AND VAR15;
VAR40:=REF(VAR15 OR VAR16 OR VAR17 OR VAR18 OR VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23 OR VAR24 OR VAR25 OR VAR26,1) AND VAR27;
STICKLINE(VAR39,CLOSE,OPEN,1,0),COLOR4ABEFF;
STICKLINE(VAR40,CLOSE,OPEN,1,0),COLORBLUE;
重心:(2*CLOSE+HIGH+LOW)/4,NODRAW;
VAR41:=WMA((重心-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,2);
VAR42:=WMA(0.618*REF(VAR41,1)+0.382*VAR41,2);
DRAWTEXT(CROSS(VAR41,VAR42) AND VAR41<30,LOW-0.01,1),COLORE6E8FA;
DRAWTEXT(CROSS(VAR42,VAR41) AND VAR41>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;
IF(OMA>REF(OMA,1),OMA,DRAWNULL),COLORRED;
IF(OMA<REF(OMA,1),OMA,DRAWNULL),COLORGREEN; |