- 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));
- 關(guān)注: IF(短期線<=10,10,0),COLORFF6EC7,LINETHICK2;
- 買入: IF((CROSS(短期線, 中期線) AND 中期線<15),30,0),STICK,LINETHICK2;
- DRAWICON((CROSS(短期線, 中期線) AND 中期線<15),30,13);
- DRAWICON(短期線<=10,0,1);
- 警戒區(qū): 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;
-
|