Help understanding indicator functions

 

Good day all, i would just like some help understanding the marked parameters in the pic of an indicator. what do these functions do?

Thank you

 
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. We can't know your indicator or its version- Post your code.
 
William Roeder:
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. We can't know your indicator or its version- Post your code.

sorry, forgot to attach the indicator

 
extern double          SmoothLength     = 10.0;
extern double          SmoothPhase      = 0;
extern bool            SmoothDouble     = false;
extern bool            Interpolate      = true;
  1. First two appear to be inputs to JMA
              'JMA adaptive average' indicator by 'GODZILLA' for MetaTrader 5 in the MQL5 Code Base

  2. Instead of computing JMA(v,length), if Double is true it computes JMA(JMA(v,√ length),√ length)

  3. Interpolate is used when TimeFrame is not current. Instead of using the higher timeframe's values (MTF stair step) it interpolates between the two values.
 
ahmedk:

Good day all, i would just like some help understanding the marked parameters in the pic of an indicator. what do these functions do?

Thank you

That is an offspring of ADXVMa indicator (where the "adx trend" is one of the steps that are calculated in the process of making the ADXVMA average

Smoothing used in it has nothing in common with Nikolay Kositsins version (completely different code) and is used in order to smooth up the "adx" values that tend to be choppy

Smooth phase can vary from -100 to +100. Setting it to 5 will not change much. +values used in phase are producing "overshooting" while -values in phase are "undershooting". Try using +100 or -100 and you shall see more clearly what hapens
 
Thank you mladen and william both so much! your help is much appreciated!
Reason: