I am trying to find the adaptive min and max variables of the ATR indicator scale for each shif which are used in the visualization.
Sadly I dont find it in the following documentation. https://www.mql5.com/de/docs/indicators/iatr.
It seems within the visualisation the scale is adaptive.
If you know how to get these values, it would be nice if you could point me in the right direction.
Below my script for the atr value.
input int atrPeriod=18;
ArraySetAsSeries(atrData,true); // Setting up table/array for time series data
atrControlPanel = iATR(_Symbol, _Period, atrPeriod); // Getting the Control Panel/Handle for ATR
numberOfAtrData = CopyBuffer(atrControlPanel, 0, 0, atrPeriod, atrData); // Collect most current ATR(20) Data and store it in the datatable/array atrData
Print("ATR4: ",atrData," ATR3: ",atrData," ATR2: ",atrData," ATR1: ",atrData," ATR0: ",atrData);