SRAxisY

Support and Resistance Axis Y
Description
Displays the text values of Support & Resistance S2, R2 on the Y Axis
Category
Extended
Parameters

None

Chart Script

M :=(H+L+C)/3;
A :=H-L;
RR:=M+A;
SS:=M-A;
R : DrawAxisY(RR,-10,12),Width2,Color#A0FF0000,AxisMargin12;
S : DrawAxisY(SS,-10,12),Width2,Color#A0004000;
DrawTextAxisY(RR,'R',1),Color#FF0000,VCenter;
DrawTextAxisY(SS,'S',1),Color#004000,VCenter;
@SetName('SR');