To display arrows, or anything else that needs to be placed above or below the highs and lows of candles that wont overlap the candle and work relatively well for all timeframes, use this:
Then for display:
I'm still trying to figure out how built in indies like fractals does it perfectly. I've yet to see custom indicators do the same. If I'm wrong, please correct me.
Inserted Code
double x=Point*MathSqrt(Period());
Then for display:
Inserted Code
ind_buffer[i]=Low[i]-x;
I'm still trying to figure out how built in indies like fractals does it perfectly. I've yet to see custom indicators do the same. If I'm wrong, please correct me.