VAR1:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
VAR2:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
VAR3:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
长期线:VAR1+100,COLOR00FF00,LINETHICK2;
中期线:VAR3+100,COLORFF00FF,LINETHICK2;
短期线:VAR2+100,COLORRED,LINETHICK2;
DRAWBAND(短期线,RGB(247,145,240),中期线,RGB(230,247,193));
关注: IF(短期线<=10,10,0),COLORFF6EC7,LINETHICK2;
买入: IF((CROSS(短期线, 中期线) AND 中期线<15),30,0),STICK,LINETHICK2;
DRAWICON((CROSS(短期线, 中期线) AND 中期线<15),30,13);
DRAWICON(短期线<=10,0,1);
警戒区: IF((短期线>85),85,100),COLOR00FFFF ,LINETHICK2;
DRAWICON(短期线>=85,100,2);
卖出:DRAWICON(CROSS(85, 短期线), 85,15);
IF(长期线>REF(长期线,1),长期线,DRAWNULL),COLOR00FF00,LINETHICK2;
IF(长期线<REF(长期线,1),长期线,DRAWNULL),COLORFF0000,LINETHICK2;
2010751123690282.png
|