VARB 1:=HHV (high,19);
Support: VARA 1, COLOR00FF00
Resistance: VARB 1, COLOR0000CC.
VAR 1:=SAR( 10,2,20);
{The main picture shows the way of buying and selling}
DRAWTEXT(CROSS(CLOSE,VAR 1),LOW*0.98,'▲'),COLORFF00FF
drawtext(cross(close,var 1),low*0.975,'∣'),colorff00ff;
DRAWTEXT(CROSS(CLOSE,VAR 1),LOW*0.975,' ‖'),COLORFF00FF
drawtext(cross(close,var 1),low*0.97,'∣'),colorff00ff;
DRAWTEXT(CROSS(CLOSE,VAR 1),LOW*0.97,' ‖'),COLORFF00FF
drawtext(cross(close,var 1),low*0.965,'∣'),colorff00ff;
DRAWTEXT(CROSS(CLOSE,VAR 1),LOW*0.965,' ‖'),COLORFF00FF
Adhesion line (closed & gtVAR 1, low, high, 0. 1, 0), COLORRED
Adhesive line (CLOSE & gtVAR 1, close, OPEN, 4.5, 0), COLOR0000AA.
Adhesive line (CLOSE & gtVAR 1, close, OPEN, 3,0), COLOR0000CC.
Adhesive line (CLOSE & gtVAR 1, close, OPEN, 2,0), COLOR0000DD.
Adhesion line (CLOSE & gtVAR 1, close, OPEN, 1, 0), COLOR0000FF.
DRAWTEXT(CROSS(VAR 1,CLOSE),HIGH* 1.02,'▼'),COLOR00FF00
drawtext(cross(var 1,close),high* 1.025,'∣'),color00ff00;
DRAWTEXT(CROSS(VAR 1,CLOSE),HIGH* 1.025,' ‖'),COLOR00FF00
drawtext(cross(var 1,close),high* 1.03,'∣'),color00ff00;
DRAWTEXT(CROSS(VAR 1,CLOSE),HIGH* 1.03,' ‖'),COLOR00FF00
drawtext(cross(var 1,close),high* 1.035,'∣'),color00ff00;
DRAWTEXT(CROSS(VAR 1,CLOSE),HIGH* 1.035,' ‖'),COLOR00FF00
Adhesion line (var1> CLOSE,CLOSE,OPEN, 1,0),COLOREEEE00
Adhesion line (var1> CLOSE,CLOSE,OPEN,2,0),COLORDDDD00
Adhesion line (var1> CLOSE,CLOSE,OPEN,3,0),COLORCCCC00
Adhesion line (var1> CLOSE,CLOSE,OPEN,4.5,0),COLORAAAA00
Adhesion line (var1> Close, low, high, 0. 1, 0), COLORFFFF00