- Mar 5, 2020
Thanks admin.Yes, I am the coder of this indicator (not the author because Market Profile indicator was created by J. Peter Steidlmayer before I was born).
You can easily tweak the indicator to remove object deletion simply by removing one line of code from it.
For MQL4, find and remove:
For MQL5, find and remove:MQL4:ObjectsDeleteAll(0, OBJ_RECTANGLE);
But the result won't be very good, since the objects just won't fit on a larger timescale. But you can try it if you think that you need it.MQL5:ObjectsDeleteAll(0, 0, OBJ_RECTANGLE);