Job finished
Specification
Easy, quick change the calculation of in-built ATR so that it calculates atrmodified as:
(1)
input int period =14;
double sum = 0 ;
for n = 1 to period
{
double add = MathMax( ((High[n]-Open[n]),Open[n]-Low[n] ) ;
sum=sum+add
}
double atrmodified = sum / period
(2)
Plot in window (1) with on/off option
(3)
Draws line above and below the current open +/- the calculated number.
(4)
Draws fib lines above and below current open +/- the calculated number*multiplier
double x multiplier1 = 0.5;
double y multiplier2 = 0.382;
double z multiplier3 = 0.618;
or
fiblevels: 23.6, 0.5, 0.6, 0.7, 2.168 etc.
(5) Draws history up to x periods
(6) Can choose timeframes to display on any one chart, such as display daily on 15 minute chart.
(7) Can choose up to three time-based ranges to draw additional lines, e.g. 8am to 10pm; 0 to 15pm and so on, and apply fibs in the same way to these.
(8) Can adjust length of lines by number of bars to extend, and display prices just above.
(9) If any lines overlap on the chart within double overlapmaximum=2 (pips), highlight or make larger to see the strengthened support / resistance.
Rough Image example.