adaptive ATR scale variable identification

 

Hey Guys,

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.

Thanks

veri


Screen1:



Below my script for the atr value.

input int      atrPeriod=18;

double atrData[];
double atr1;
int numberOfAtrData;
int atrControlPanel; 
void OnStart()
  {
//---
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[4]," ATR3: ",atrData[3]," ATR2: ",atrData[2]," ATR1: ",atrData[1]," ATR0: ",atrData[0]);
  }
Dokumentation zu MQL5: Technische Indikatoren / iATR
Dokumentation zu MQL5: Technische Indikatoren / iATR
  • www.mql5.com
//|                                                    Demo_iATR.mq5 | //|                        Copyright 2011, MetaQuotes Software Corp. | //|                                              https://www.mql5.com | "Erstellungsweise des Handles ist durch den 'type' Parameter (Typ der Funktion) angegeben...
 
  1. Du kannst hier deutsch sprechen.
  2. Die Max und Min, die Du im Bild zeigst gelten nur für die Darstellung! Wenn Du noch die beiden Häkchen setzt siehst Du, dass uU. die Werte nach oben oder unten aus dem Fenster verschwinden!
  3. Da es eine Sache des Charts und nicht des Indikators ist, versuch's mal mit einer dieser Chart-Funktionen. (Noch nie benötigt, also versucht, Du musst selber probieren!)
Grund der Beschwerde: