diff --git a/Indicators/x-saherelm.xpv.mq5 b/Indicators/x-saherelm.xpv.mq5 index 038dfbfc..6ea90fe1 100644 --- a/Indicators/x-saherelm.xpv.mq5 +++ b/Indicators/x-saherelm.xpv.mq5 @@ -39,25 +39,21 @@ input group "Makret Cycles"; input group "Short"; input ENUM_X_PERIOD_METHOD scMethod = X_PERIOD_AUTO; // How to Find Period input ENUM_TIMEFRAMES scPeriod = NULL; // Time Period -// input int scLength = 0; // Length // input group "Medium"; input ENUM_X_PERIOD_METHOD mcMethod = X_PERIOD_AUTO; // How to Find Period input ENUM_TIMEFRAMES mcPeriod = NULL; // Time Period -// input int mcLength = 0; // Length // input group "Long"; input ENUM_X_PERIOD_METHOD lcMethod = X_PERIOD_AUTO; // How to Find Period input ENUM_TIMEFRAMES lcPeriod = NULL; // Time Period -// input int lcLength = 0; // Length // input group "Hind"; input ENUM_X_PERIOD_METHOD hcMethod = X_PERIOD_AUTO; // How to Find Period input ENUM_TIMEFRAMES hcPeriod = NULL; // Time Period -// input int hcLength = 0; // Length // input group "Fibonacci"; @@ -511,6 +507,13 @@ int OnCalculate( // Main Loop ... for (int i = limit - 1; i >= 0 && !IsStopped(); i--) { + // + // For Improve Indicator Speed ... + if (i > 1000) { + continue; + } + + // CalculateBuffers(i); }