The Expert Advisor adds a button to the bottom right corner of each chart. After press of the button it reinitializes all charts of the chart symbol.
The chart reinitialization is implemented by termporary change of the chart timeframe.
This way is simple and doesn't has side effects, because it doesn't redraw (and recalculate) the temporary chart window.
//--- input parameters input string SampleText="Recalculate"; // Button text input color SampleTextColor=NavajoWhite; // Text color input color SampleBackColor=SlateGray; // Button background
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/224
This indicator is a combination of moving average and ATR indicators.20/200 pips - Simple profitable Expert Advisor
It has simple code and trading rules. It's doesn't use any martingale MM strategies.