三一:HIGH-(HIGH-LOW)*0.333,NODRAW;
二一:HIGH-(HIGH-LOW)*0.5,NODRAW;
三二:HIGH-(HIGH-LOW)*0.666,NODRAW;
实体三一:OPEN+(CLOSE-OPEN)*0.666,NODRAW;
实体腰线:OPEN+(CLOSE-OPEN)*0.5,NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);
STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),5,0),COLORGRAY;
STICKLINE(REF(HIGH,1)<LOW,LOW,REF(HIGH,1),5,0),COLORGRAY;
C_:CONST(CLOSE),POINTDOT,COLORLIRED;
XA_1:=MA(CLOSE,5);
MA5角度:ATAN((XA_1/REF(XA_1,1)-1)*100)*180/3.1416,NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XA_2:=REF(CLOSE,1);
XA_3:=IF(CLOSE>=1,10000,100000);
XA_4:=1.1*XA_2-49/XA_3;
XA_5:=1.05*XA_2-49/XA_3;
XA_6:=0.9*XA_2+51/XA_3;
XA_7:=0.95*XA_2+51/XA_3;
XA_8:=NAMELIKE(8) OR NAMELIKE(9);
XA_9:=IF(XA_8,CLOSE>=XA_5,CLOSE>=XA_4);
XA_10:=IF(XA_8,CLOSE<=XA_7,CLOSE<=XA_6);
XA_11:=IF(XA_8,HIGH>=XA_5,HIGH>=XA_4);
XA_12:=IF(XA_8,LOW<=XA_7,LOW<=XA_6);
STICKLINE(XA_11,HIGH,MAX(CLOSE,OPEN),0,0),COLORYELLOW;
STICKLINE(XA_12,LOW,MIN(CLOSE,OPEN),0,0),COLORBLUE;
XA_13:=CLOSE>OPEN AND (CLOSE>=XA_5 OR CLOSE>1.05*OPEN-51/XA_3) OR (CLOSE>1000 AND CLOSE>XA_2*1.024);
STICKLINE(XA_13,OPEN,CLOSE,1,0),COLOR0000BB;
XA_14:=CLOSE<OPEN AND (CLOSE<=XA_7 OR CLOSE<0.95*OPEN+49/XA_3) OR (CLOSE>1000 AND CLOSE<XA_2*0.976);
STICKLINE(XA_14,OPEN,CLOSE,1,0),COLORLIGREEN;
STICKLINE(XA_9,OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE(XA_10,OPEN,CLOSE,1,0),COLORBLUE;
XA_15:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(XA_15,OPEN,CLOSE,0,0),COLORRED;
XA_16:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
STICKLINE(XA_16,OPEN,CLOSE,0,0),COLORGREEN;
XA_17:=PERIOD=5 AND NAMELIKE(53) AND (ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.025 OR ABS(CLOSE-OPEN)>=60);
STICKLINE(XA_17,(HIGH+LOW)/2,(HIGH+LOW)/2,2,0),COLORYELLOW;
STICKLINE(XA_13 OR XA_14 OR XA_9 OR XA_10 AND BETWEEN(CLOSE,1,500),LOW+(HIGH-LOW)/2,LOW+(HIGH-LOW)/2,1,0),COLORYELLOW;
202108201220.jpg
|