Disliked{quote} It is very well working, look at the screenshot I provided and the warning I gave (chart price must be near the DXY price in order to see it). And remember this is not my indicator, I only did as requested.Ignored
But when I recompile the source with the option
#property indicator_chart_window
, ON, attach to main chart, check that the indicator appears in the main chart section not on sub, then recompile the same source with the option
#property indicator_chart_window OFF,
then it appears automatically, without any helping, on any market FX, gold, oil Silver platinum, for sure only relatively like we can see in pic2.
Is there a bug in MQL5?
Because I do not change any other code apart from this compiler option
#property indicator_chart_window ON or OFF
But I can live with it although inconvenient to recompile and keeping the src. If you could transform the code for compile on MT5, I would like to bring it over.