Trying to clean up fractals
First set the empty value (PLOT_EMPTY_VALUE) with PlotIndexSetDouble().
Then set in the arrow buffer all values older than ... on PLOT_EMPTY_VALUE.
Documentation on MQL5: Custom Indicators / PlotIndexSetDouble
- www.mql5.com
PlotIndexSetDouble - Custom Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Im trying fracts buffor arrows to show only limited to 5 backwards and 5 frontwards of OBJ_'TEXT highest and lowest point
currently it shows fractal on every bar
Any help is highly appreciated
Here is code
Thanks