RSV:=((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)))*(100);
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,5,1);
STICKLINE((LWR1>=LWR2),HIGH,LOW,0,0),COLORCYAN;
STICKLINE((LWR1>=LWR2),OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE((LWR1<LWR2),HIGH,LOW,0,0),COLOR0000FF;
STICKLINE((LWR1<LWR2),OPEN,CLOSE,3,1),COLOR0000FF;
VAR1AA:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
VAR2AA:=VOL;
上升價(jià)格線:(SUM((VAR1AA)*(VAR2AA),8))/(SUM(VAR2AA,8)),COLOR0000FF;
下降價(jià)格線:LLV(上升價(jià)格線,8),COLOR00FF00;
V3A:=IF((CLOSE>REF(CLOSE,1)),88,0);
V4A:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND
((HIGH)/(CLOSE)<1.01) AND
(V3A>0),91,0);
DRAWTEXT(FILTER((V4A>90),34),(LOW)*(0.99000001),'★'),COLOR00FFFF;
VA:=REF(C,1);
VB:=SMA(MAX(C-VA,0),6,1)/SMA(ABS(C-VA),6,1)*100;
DRAWTEXT(CROSS(84,VB),H*1.01,'跑'),COLORFFFFFF ;
VAR1:=REF(CLOSE,1);
VAR2:=MA(CLOSE,5);
VAR3:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
VAR4:=SMA(MAX(CLOSE-VAR1,0),12,1)/SMA(ABS(CLOSE-VAR1),12,1)*100;
VAR5:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),24,1)*100;
VAR6:=IF(CROSS(VAR3,VAR5),LOW,REF(LOW,BARSLAST(CROSS(VAR3,VAR5))));
VAR7:=IF(CROSS(VAR5,VAR3),HIGH,REF(HIGH,BARSLAST(CROSS(VAR5,VAR3))));
VAR8:=IF(CLOSE>=MA(CLOSE,20),80,50);
VAR9:=IF(CLOSE>=MA(CLOSE,20),50,20);
VARA:=IF(VAR3<VAR8 AND
REF(VAR3,1)>=VAR8,HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8
AND
REF(VAR3,1)<VAR8)-1),REF(HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8
AND
REF(VAR3,1)<VAR8)-1),BARSLAST(VAR3<VAR8
AND REF(VAR3,1))));
VARB:=IF(HIGH>VARA,LOW,REF(LOW,BARSLAST(HIGH>VARA)));
VARC:=IF(HIGH>VARA,VAR3,REF(VAR3,BARSLAST(HIGH>VARA)));
VARD:=IF(HIGH>VARB AND VAR3<VARC AND
VAR3<VAR5,HIGH,REF(HIGH,BARSLAST(HIGH>VARB
AND VAR3<VARC AND VAR3<VAR5)));
VARE:=IF(VAR3>VAR9 AND
REF(VAR3,1)<=VAR9,LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9
AND
REF(VAR3,1)>VAR9)-1),REF(LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9
AND
REF(VAR3,1)>VAR9)-1),BARSLAST(VAR3>VAR9
AND REF(VAR3,1))));
VARF:=IF(LOW<VARE,HIGH,REF(HIGH,BARSLAST(LOW<VARE)));
VAR10:=IF(LOW<VARE,VAR3,REF(VAR3,BARSLAST(LOW<VARE)));
VAR11:=IF(LOW<VARF AND VAR3>VAR10 AND
VAR3>VAR5,LOW,REF(LOW,BARSLAST(LOW<VARF
AND VAR3>VAR10 AND
VAR3>VAR5)));
壓力線: VAR11,COLORFF00FF ,LINETHICK2 ;
支撐線:VARD, COLORBLUE,LINETHICK2 ;
RSV1:=((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)))*(100);
LWR11:=SMA(RSV1,3,1);
LWR21:=SMA(LWR11,5,1);
DRAWTEXT(CROSS(LWR1 ,LWR21
),L*0.986,'◎'),COLOR00FFFF;{優(yōu)化};
|