diff --git a/Experts/2MA_Cross.ex5 b/Experts/2MA_Cross.ex5 index 5518bbf..042c66b 100644 Binary files a/Experts/2MA_Cross.ex5 and b/Experts/2MA_Cross.ex5 differ diff --git a/Experts/PriceMA_Cross.ex5 b/Experts/PriceMA_Cross.ex5 index 02792eb..c410098 100644 Binary files a/Experts/PriceMA_Cross.ex5 and b/Experts/PriceMA_Cross.ex5 differ diff --git a/Experts/TickChart_ExampleEA.ex5 b/Experts/TickChart_ExampleEA.ex5 index edae5ee..e395fc3 100644 Binary files a/Experts/TickChart_ExampleEA.ex5 and b/Experts/TickChart_ExampleEA.ex5 differ diff --git a/Include/AZ-INVEST/SDK/CommonSettings.mqh b/Include/AZ-INVEST/SDK/CommonSettings.mqh index a825a37..6cc6ccb 100644 Binary files a/Include/AZ-INVEST/SDK/CommonSettings.mqh and b/Include/AZ-INVEST/SDK/CommonSettings.mqh differ diff --git a/Include/AZ-INVEST/SDK/CustomChartInputs.mqh b/Include/AZ-INVEST/SDK/CustomChartInputs.mqh index 98a7714..eddf9b8 100644 Binary files a/Include/AZ-INVEST/SDK/CustomChartInputs.mqh and b/Include/AZ-INVEST/SDK/CustomChartInputs.mqh differ diff --git a/Include/AZ-INVEST/SDK/CustomChartInputsBR.mqh b/Include/AZ-INVEST/SDK/CustomChartInputsBR.mqh index 63bec66..e1d3e81 100644 Binary files a/Include/AZ-INVEST/SDK/CustomChartInputsBR.mqh and b/Include/AZ-INVEST/SDK/CustomChartInputsBR.mqh differ diff --git a/Include/AZ-INVEST/SDK/CustomChartSettingsBase.mqh b/Include/AZ-INVEST/SDK/CustomChartSettingsBase.mqh index 6913b17..f9b1814 100644 Binary files a/Include/AZ-INVEST/SDK/CustomChartSettingsBase.mqh and b/Include/AZ-INVEST/SDK/CustomChartSettingsBase.mqh differ diff --git a/Include/AZ-INVEST/SDK/TimeControl.mqh b/Include/AZ-INVEST/SDK/TimeControl.mqh index 05e8606..fa1da74 100644 --- a/Include/AZ-INVEST/SDK/TimeControl.mqh +++ b/Include/AZ-INVEST/SDK/TimeControl.mqh @@ -1,5 +1,6 @@ // -// Copyright 2018-19, Artur Zas +// Copyright 2018-2021, Artur Zas +// GNU General Public License v3.0 -> https://github.com/9nix6/Median-and-Turbo-Renko-indicator-bundle/blob/master/LICENSE // https://www.az-invest.eu // https://www.mql5.com/en/users/arturz // @@ -8,46 +9,100 @@ class CTimeControl { private: + int scheduleID; + int startHH; int startMM; string start; + datetime startOfSession; int endHH; int endMM; string end; + datetime endOfSession; bool scheduleEnabled; public: + CTimeControl(int id = 0) { scheduleID = id; }; + void SetValidTraingHours(string _from = "0:00", string _to = "0:00"); + void SetValidTraingHours(bool _unused, string _timeSpan = "0:00-0:00"); bool IsTradingTimeValid(); bool IsScheduleEnabled() { return scheduleEnabled; }; + void UpdateSessionDateTime(int addSecods = 0); + datetime GetSessionStartTime() { return startOfSession; }; + datetime GetSessionEndTime() { return endOfSession; }; + void MoveSessionStartToNow(); + string ToString(); + + private: + void StringToHHMM(string value, int &HH, int &MM); + bool StringToHHMMRange(string value, int &startHH, int &startMM, string& _start, int &endHH, int &endMM, string& _end); + void SetScheduleState(); }; -void CTimeControl::SetValidTraingHours(string _from,string _to) +void CTimeControl::SetValidTraingHours(string _from, string _to) { this.start = _from; this.end = _to; StringToHHMM(this.start, this.startHH, this.startMM); StringToHHMM(this.end, this.endHH, this.endMM); + UpdateSessionDateTime(); - if(this.startHH == 0 && this.startMM == 0 && this.endHH == 0 && this.endMM == 0) + SetScheduleState(); +} + +void CTimeControl::MoveSessionStartToNow() +{ + datetime now = TimeCurrent(); + + MqlDateTime temp; + TimeToStruct(now,temp); + + startHH = temp.hour; + startMM = temp.min; + start = StringFormat("%02d:%02d", startHH, startMM); + + UpdateSessionDateTime(temp.sec + 1); +} + +void CTimeControl::UpdateSessionDateTime(int addSecods = 0) +{ + datetime now = TimeCurrent(); + + MqlDateTime temp; + TimeToStruct(now,temp); + + if(addSecods > 0) { - scheduleEnabled = false; + string startTimeTemp = StringFormat("%s:%02d", this.start, addSecods); + startOfSession = StringToTime((string)temp.year+"."+(string)temp.mon+"."+(string)temp.day+" "+startTimeTemp); } else { - scheduleEnabled = true; + startOfSession = StringToTime((string)temp.year+"."+(string)temp.mon+"."+(string)temp.day+" "+this.start); } + + endOfSession = StringToTime((string)temp.year+"."+(string)temp.mon+"."+(string)temp.day+" "+this.end); +} + +void CTimeControl::SetValidTraingHours(bool _unused, string _timeSpan = "0:00-0:00") +{ + if(!StringToHHMMRange(_timeSpan, this.startHH, this.startMM, this.start, this.endHH, this.endMM, this.end)) + return; + + UpdateSessionDateTime(); + SetScheduleState(); } bool CTimeControl::IsTradingTimeValid() { if(scheduleEnabled == false) - return true; + return true; datetime now = TimeCurrent(); @@ -57,12 +112,32 @@ bool CTimeControl::IsTradingTimeValid() datetime _start = StringToTime((string)temp.year+"."+(string)temp.mon+"."+(string)temp.day+" "+this.start); datetime _end = StringToTime((string)temp.year+"."+(string)temp.mon+"."+(string)temp.day+" "+this.end); - if((now >= _start) && (now <= _end)) + if(_start <= now && now <= _end) return true; else return false; } +string CTimeControl::ToString() +{ + string tradingScheduleName = "Trading schedule "; + + tradingScheduleName += (scheduleID != 0) + ? (string)scheduleID+" " + : ""; + + if(IsScheduleEnabled()) + { + return tradingScheduleName+"ON ("+this.start+" to "+this.end+") | trading "+(IsTradingTimeValid() + ? "enabled" + : "disabled"); + } + else + { + return tradingScheduleName+"NOT USED"; + } +} + void CTimeControl::StringToHHMM(string value, int &HH, int &MM) { MqlDateTime temp; @@ -73,4 +148,46 @@ void CTimeControl::StringToHHMM(string value, int &HH, int &MM) HH = temp.hour; MM = temp.min; -} \ No newline at end of file +} + +bool CTimeControl::StringToHHMMRange(string value, int &_startHH, int &_startMM, string& _start, int &_endHH, int &_endMM, string& _end) +{ + string result[]; + int count = StringSplit(value, '-', result); + if(count != 2) + return false; + + MqlDateTime temp; + TimeToStruct(TimeCurrent(),temp); + + // Start time + _start = result[0]; + datetime fullDateTime = StringToTime((string)temp.year+"."+(string)temp.mon+"."+(string)temp.day+" "+_start); + TimeToStruct(fullDateTime,temp); + + startHH = temp.hour; + startMM = temp.min; + + // End time + TimeToStruct(TimeCurrent(),temp); + _end = result[1]; + fullDateTime = StringToTime((string)temp.year+"."+(string)temp.mon+"."+(string)temp.day+" "+_end); + TimeToStruct(fullDateTime,temp); + + endHH = temp.hour; + endMM = temp.min; + + return true; +} + +void CTimeControl::SetScheduleState() +{ + if(this.startHH == 0 && this.startMM == 0 && this.endHH == 0 && this.endMM == 0) + { + scheduleEnabled = false; + } + else + { + scheduleEnabled = true; + } +} diff --git a/Include/AZ-INVEST/SDK/TradeFunctions.mqh b/Include/AZ-INVEST/SDK/TradeFunctions.mqh index d16d0b8..67ac1ff 100644 --- a/Include/AZ-INVEST/SDK/TradeFunctions.mqh +++ b/Include/AZ-INVEST/SDK/TradeFunctions.mqh @@ -1,5 +1,6 @@ // // Copyright 2017-2021, Artur Zas +// GNU General Public License v3.0 -> https://github.com/9nix6/Median-and-Turbo-Renko-indicator-bundle/blob/master/LICENSE // https://www.az-invest.eu // https://www.mql5.com/en/users/arturz // diff --git a/Include/AZ-INVEST/SDK/TradeManager.mqh b/Include/AZ-INVEST/SDK/TradeManager.mqh index 17d48a5..9606f4c 100644 --- a/Include/AZ-INVEST/SDK/TradeManager.mqh +++ b/Include/AZ-INVEST/SDK/TradeManager.mqh @@ -1,5 +1,6 @@ // // Copyright 2018-2021, Artur Zas +// GNU General Public License v3.0 -> https://github.com/9nix6/Median-and-Turbo-Renko-indicator-bundle/blob/master/LICENSE // https://www.az-invest.eu // https://www.mql5.com/en/users/arturz // diff --git a/Include/AZ-INVEST/SDK/VolumeBarChart.mqh b/Include/AZ-INVEST/SDK/VolumeBarChart.mqh index 6da43ed..12488bd 100644 --- a/Include/AZ-INVEST/SDK/VolumeBarChart.mqh +++ b/Include/AZ-INVEST/SDK/VolumeBarChart.mqh @@ -225,6 +225,7 @@ int TickChart::Init() s.barSizeInVolume, s.algorithm, s.showNumberOfDays, + s.showFromDate, s.resetOpenOnNewTradingDay, "=", als.showPivots, @@ -264,8 +265,7 @@ int TickChart::Init() cis.ChannelAppliedPrice, cis.ChannelMultiplier, cis.ChannelBandsDeviations, - cis.ChannelPriceLabel, - cis.ChannelMidPriceLabel, + cis.ChannelPriceLabels, "=", true); // used in EA // TopBottomPaddingPercentage, diff --git a/Include/AZ-INVEST/SDK/VolumeCustomChartSettings.mqh b/Include/AZ-INVEST/SDK/VolumeCustomChartSettings.mqh index 48db498..202101f 100644 --- a/Include/AZ-INVEST/SDK/VolumeCustomChartSettings.mqh +++ b/Include/AZ-INVEST/SDK/VolumeCustomChartSettings.mqh @@ -35,6 +35,7 @@ input int InpBarSizeInVolume = 1000; // Bar size input ENUM_VOLUME_CHART_CALCULATION InpAlgorithm = VOLUME_CHART_USE_TICKS; // Operating mode input int InpShowNumberOfDays = 5; // Show history for number of days + input datetime InpShowFromDate = 0; // Show history starting from input ENUM_BOOL InpResetOpenOnNewTradingDay = true; // Synchronize first bar's open on new day #endif @@ -42,6 +43,7 @@ int InpBarSizeInVolume = 1000; // Bar size ENUM_VOLUME_CHART_CALCULATION InpAlgorithm = VOLUME_CHART_USE_TICKS; // Operating mode int InpShowNumberOfDays = 5; // Show history for number of days + datetime InpShowFromDate = 0; // Show history starting from ENUM_BOOL InpResetOpenOnNewTradingDay = true; // Synchronize first bar's open on new day #endif @@ -56,6 +58,7 @@ struct VOLUMECHART_SETTINGS int barSizeInVolume; ENUM_VOLUME_CHART_CALCULATION algorithm; int showNumberOfDays; + datetime showFromDate; ENUM_BOOL resetOpenOnNewTradingDay; }; @@ -107,5 +110,6 @@ void CVolumeCustomChartSettigns::SetCustomChartSettings() settings.barSizeInVolume = InpBarSizeInVolume; settings.algorithm = InpAlgorithm; settings.showNumberOfDays = InpShowNumberOfDays; + settings.showFromDate = InpShowFromDate; settings.resetOpenOnNewTradingDay = InpResetOpenOnNewTradingDay; } diff --git a/Indicators/TickChart/ADX Cross Alerts.ex5 b/Indicators/TickChart/ADX Cross Alerts.ex5 index 3e4c5e5..eee2427 100644 Binary files a/Indicators/TickChart/ADX Cross Alerts.ex5 and b/Indicators/TickChart/ADX Cross Alerts.ex5 differ diff --git a/Indicators/TickChart/ADX.ex5 b/Indicators/TickChart/ADX.ex5 index 2c8723b..ed6b6d3 100644 Binary files a/Indicators/TickChart/ADX.ex5 and b/Indicators/TickChart/ADX.ex5 differ diff --git a/Indicators/TickChart/ATP.ex5 b/Indicators/TickChart/ATP.ex5 index c7e6b0b..3b4cb62 100644 Binary files a/Indicators/TickChart/ATP.ex5 and b/Indicators/TickChart/ATP.ex5 differ diff --git a/Indicators/TickChart/ATR.ex5 b/Indicators/TickChart/ATR.ex5 index 1ab826f..036c857 100644 Binary files a/Indicators/TickChart/ATR.ex5 and b/Indicators/TickChart/ATR.ex5 differ diff --git a/Indicators/TickChart/AroonOscillator.ex5 b/Indicators/TickChart/AroonOscillator.ex5 index abfd05c..f20229f 100644 Binary files a/Indicators/TickChart/AroonOscillator.ex5 and b/Indicators/TickChart/AroonOscillator.ex5 differ diff --git a/Indicators/TickChart/AwesomeOscillator.ex5 b/Indicators/TickChart/AwesomeOscillator.ex5 index 66ae3a6..fba74ec 100644 Binary files a/Indicators/TickChart/AwesomeOscillator.ex5 and b/Indicators/TickChart/AwesomeOscillator.ex5 differ diff --git a/Indicators/TickChart/BB_MACD.ex5 b/Indicators/TickChart/BB_MACD.ex5 index 147c078..014c5d1 100644 Binary files a/Indicators/TickChart/BB_MACD.ex5 and b/Indicators/TickChart/BB_MACD.ex5 differ diff --git a/Indicators/TickChart/BollingerBandsMacd.ex5 b/Indicators/TickChart/BollingerBandsMacd.ex5 index 9f1b1f1..6a62823 100644 Binary files a/Indicators/TickChart/BollingerBandsMacd.ex5 and b/Indicators/TickChart/BollingerBandsMacd.ex5 differ diff --git a/Indicators/TickChart/CCI(alternative).ex5 b/Indicators/TickChart/CCI(alternative).ex5 index 145b72e..1e8807b 100644 Binary files a/Indicators/TickChart/CCI(alternative).ex5 and b/Indicators/TickChart/CCI(alternative).ex5 differ diff --git a/Indicators/TickChart/CCI.ex5 b/Indicators/TickChart/CCI.ex5 index d43aa48..91e6028 100644 Binary files a/Indicators/TickChart/CCI.ex5 and b/Indicators/TickChart/CCI.ex5 differ diff --git a/Indicators/TickChart/ChaikinVolatility.ex5 b/Indicators/TickChart/ChaikinVolatility.ex5 index b651412..bda0c9b 100644 Binary files a/Indicators/TickChart/ChaikinVolatility.ex5 and b/Indicators/TickChart/ChaikinVolatility.ex5 differ diff --git a/Indicators/TickChart/ColorHMA.ex5 b/Indicators/TickChart/ColorHMA.ex5 index 168403f..96c9a16 100644 Binary files a/Indicators/TickChart/ColorHMA.ex5 and b/Indicators/TickChart/ColorHMA.ex5 differ diff --git a/Indicators/TickChart/DT_Oscillator.ex5 b/Indicators/TickChart/DT_Oscillator.ex5 index 4ae4981..e3f18aa 100644 Binary files a/Indicators/TickChart/DT_Oscillator.ex5 and b/Indicators/TickChart/DT_Oscillator.ex5 differ diff --git a/Indicators/TickChart/DidiIndex.ex5 b/Indicators/TickChart/DidiIndex.ex5 index 98b4b9a..9262c35 100644 Binary files a/Indicators/TickChart/DidiIndex.ex5 and b/Indicators/TickChart/DidiIndex.ex5 differ diff --git a/Indicators/TickChart/DonchianChannel.ex5 b/Indicators/TickChart/DonchianChannel.ex5 index 670f069..22a8ffd 100644 Binary files a/Indicators/TickChart/DonchianChannel.ex5 and b/Indicators/TickChart/DonchianChannel.ex5 differ diff --git a/Indicators/TickChart/Envelopes.ex5 b/Indicators/TickChart/Envelopes.ex5 index 50e1286..497f6b5 100644 Binary files a/Indicators/TickChart/Envelopes.ex5 and b/Indicators/TickChart/Envelopes.ex5 differ diff --git a/Indicators/TickChart/Fractals.ex5 b/Indicators/TickChart/Fractals.ex5 index 16dcb5e..7c8c5f3 100644 Binary files a/Indicators/TickChart/Fractals.ex5 and b/Indicators/TickChart/Fractals.ex5 differ diff --git a/Indicators/TickChart/GMMA.ex5 b/Indicators/TickChart/GMMA.ex5 index 0a50ab3..111253d 100644 Binary files a/Indicators/TickChart/GMMA.ex5 and b/Indicators/TickChart/GMMA.ex5 differ diff --git a/Indicators/TickChart/Gann_Hi_Lo_Activator.ex5 b/Indicators/TickChart/Gann_Hi_Lo_Activator.ex5 index b702605..f68ed92 100644 Binary files a/Indicators/TickChart/Gann_Hi_Lo_Activator.ex5 and b/Indicators/TickChart/Gann_Hi_Lo_Activator.ex5 differ diff --git a/Indicators/TickChart/Gann_Hi_Lo_Activator_SSL.ex5 b/Indicators/TickChart/Gann_Hi_Lo_Activator_SSL.ex5 index 2438c00..7f4216a 100644 Binary files a/Indicators/TickChart/Gann_Hi_Lo_Activator_SSL.ex5 and b/Indicators/TickChart/Gann_Hi_Lo_Activator_SSL.ex5 differ diff --git a/Indicators/TickChart/Gann_Hi_Lo_Activator_SSL.mq5 b/Indicators/TickChart/Gann_Hi_Lo_Activator_SSL.mq5 index 5959d3d..4330d70 100644 --- a/Indicators/TickChart/Gann_Hi_Lo_Activator_SSL.mq5 +++ b/Indicators/TickChart/Gann_Hi_Lo_Activator_SSL.mq5 @@ -16,10 +16,10 @@ #property indicator_color1 clrDodgerBlue, clrOrangeRed #property indicator_style1 STYLE_SOLID #property indicator_width1 2 -#property indicator_label1 "GHL (13, SMMA)" +#property indicator_label1 "GHL_SSL" //--- input parameters -input uint InpPeriod=13; // Period -input ENUM_MA_METHOD InpMethod=MODE_SMMA;// Method +input uint InpPeriod=10; // Period +input ENUM_MA_METHOD InpMethod=MODE_SMA;// Method //--- buffers double GannBuffer[]; double ColorBuffer[]; @@ -27,12 +27,12 @@ double MaHighBuffer[]; double MaLowBuffer[]; double TrendBuffer[]; //--- global vars -int ma_high_handle; -int ma_low_handle; -int period; +//int ma_high_handle; +//int ma_low_handle; +int _period; // - +#include #include // @@ -43,7 +43,7 @@ int period; int OnInit() { //--- check period - period=(int)fmax(InpPeriod,2); + _period=(int)fmax(InpPeriod,2); //--- set buffers SetIndexBuffer(0,GannBuffer); SetIndexBuffer(1,ColorBuffer,INDICATOR_COLOR_INDEX); @@ -57,19 +57,19 @@ int OnInit() ArraySetAsSeries(MaLowBuffer,true); ArraySetAsSeries(TrendBuffer,true); //--- get handles - ma_high_handle=iMA(NULL,0,period,0,InpMethod,PRICE_HIGH); - ma_low_handle =iMA(NULL,0,period,0,InpMethod,PRICE_LOW); - if(ma_high_handle==INVALID_HANDLE || ma_low_handle==INVALID_HANDLE) - { - Print("Unable to create handle for iMA"); - return(INIT_FAILED); - } + //ma_high_handle=iMA(NULL,0,_period,0,InpMethod,PRICE_HIGH); + //ma_low_handle =iMA(NULL,0,_period,0,InpMethod,PRICE_LOW); + //if(ma_high_handle==INVALID_HANDLE || ma_low_handle==INVALID_HANDLE) + // { + // Print("Unable to create handle for iMA"); + // return(INIT_FAILED); + // } //--- set indicator properties - string short_name=StringFormat("Gann High-Low Activator SSL (%u, %s)",period,StringSubstr(EnumToString(InpMethod),5)); + string short_name=StringFormat("Gann High-Low Activator SSL (%u, %s)",_period,StringSubstr(EnumToString(InpMethod),5)); IndicatorSetString(INDICATOR_SHORTNAME,short_name); IndicatorSetInteger(INDICATOR_DIGITS,_Digits); //--- set label - short_name=StringFormat("GHL (%u, %s)",period,StringSubstr(EnumToString(InpMethod),5)); + short_name=StringFormat("GHL (%u, %s)",_period,StringSubstr(EnumToString(InpMethod),5)); PlotIndexSetString(0,PLOT_LABEL,short_name); //--- done return(INIT_SUCCEEDED); @@ -89,7 +89,7 @@ int OnCalculate(const int rates_total, const int &spread[]) { - if(rates_total=0 && !_StopFlag; i--) { diff --git a/Indicators/TickChart/HA_Smoothed.ex5 b/Indicators/TickChart/HA_Smoothed.ex5 index f324d98..42be7cc 100644 Binary files a/Indicators/TickChart/HA_Smoothed.ex5 and b/Indicators/TickChart/HA_Smoothed.ex5 differ diff --git a/Indicators/TickChart/HalfTrend.ex5 b/Indicators/TickChart/HalfTrend.ex5 index 918dfde..d1b3a7f 100644 Binary files a/Indicators/TickChart/HalfTrend.ex5 and b/Indicators/TickChart/HalfTrend.ex5 differ diff --git a/Indicators/TickChart/Heiken_Ashi.ex5 b/Indicators/TickChart/Heiken_Ashi.ex5 index ca30590..6ee517d 100644 Binary files a/Indicators/TickChart/Heiken_Ashi.ex5 and b/Indicators/TickChart/Heiken_Ashi.ex5 differ diff --git a/Indicators/TickChart/Ichimoku.ex5 b/Indicators/TickChart/Ichimoku.ex5 index cb0afe2..b97a79c 100644 Binary files a/Indicators/TickChart/Ichimoku.ex5 and b/Indicators/TickChart/Ichimoku.ex5 differ diff --git a/Indicators/TickChart/KeltnerChannel.ex5 b/Indicators/TickChart/KeltnerChannel.ex5 index 69960ff..0694211 100644 Binary files a/Indicators/TickChart/KeltnerChannel.ex5 and b/Indicators/TickChart/KeltnerChannel.ex5 differ diff --git a/Indicators/TickChart/LRMA.ex5 b/Indicators/TickChart/LRMA.ex5 index 9ede44f..1efa7c0 100644 Binary files a/Indicators/TickChart/LRMA.ex5 and b/Indicators/TickChart/LRMA.ex5 differ diff --git a/Indicators/TickChart/LinearRegression.ex5 b/Indicators/TickChart/LinearRegression.ex5 index 577e7a1..33d8aba 100644 Binary files a/Indicators/TickChart/LinearRegression.ex5 and b/Indicators/TickChart/LinearRegression.ex5 differ diff --git a/Indicators/TickChart/MA.ex5 b/Indicators/TickChart/MA.ex5 index 803adcf..acdb725 100644 Binary files a/Indicators/TickChart/MA.ex5 and b/Indicators/TickChart/MA.ex5 differ diff --git a/Indicators/TickChart/MACD.ex5 b/Indicators/TickChart/MACD.ex5 index 3678aa8..3b44b85 100644 Binary files a/Indicators/TickChart/MACD.ex5 and b/Indicators/TickChart/MACD.ex5 differ diff --git a/Indicators/TickChart/MACD_Line.ex5 b/Indicators/TickChart/MACD_Line.ex5 index bfd5dda..b6c1429 100644 Binary files a/Indicators/TickChart/MACD_Line.ex5 and b/Indicators/TickChart/MACD_Line.ex5 differ diff --git a/Indicators/TickChart/Momentum.ex5 b/Indicators/TickChart/Momentum.ex5 index be3d4d9..c929a4a 100644 Binary files a/Indicators/TickChart/Momentum.ex5 and b/Indicators/TickChart/Momentum.ex5 differ diff --git a/Indicators/TickChart/NRTR.ex5 b/Indicators/TickChart/NRTR.ex5 index 60f3114..8c539c9 100644 Binary files a/Indicators/TickChart/NRTR.ex5 and b/Indicators/TickChart/NRTR.ex5 differ diff --git a/Indicators/TickChart/OBV.ex5 b/Indicators/TickChart/OBV.ex5 index aad67d5..647b422 100644 Binary files a/Indicators/TickChart/OBV.ex5 and b/Indicators/TickChart/OBV.ex5 differ diff --git a/Indicators/TickChart/OscillatorCandles.ex5 b/Indicators/TickChart/OscillatorCandles.ex5 index 4f279bf..6d01145 100644 Binary files a/Indicators/TickChart/OscillatorCandles.ex5 and b/Indicators/TickChart/OscillatorCandles.ex5 differ diff --git a/Indicators/TickChart/ParabolicSAR.ex5 b/Indicators/TickChart/ParabolicSAR.ex5 index 4293e9c..fa39a1a 100644 Binary files a/Indicators/TickChart/ParabolicSAR.ex5 and b/Indicators/TickChart/ParabolicSAR.ex5 differ diff --git a/Indicators/TickChart/ProVolume.ex5 b/Indicators/TickChart/ProVolume.ex5 index 324accc..ec8300e 100644 Binary files a/Indicators/TickChart/ProVolume.ex5 and b/Indicators/TickChart/ProVolume.ex5 differ diff --git a/Indicators/TickChart/QQE.ex5 b/Indicators/TickChart/QQE.ex5 index 5a14aef..280b47c 100644 Binary files a/Indicators/TickChart/QQE.ex5 and b/Indicators/TickChart/QQE.ex5 differ diff --git a/Indicators/TickChart/ROC.ex5 b/Indicators/TickChart/ROC.ex5 index d4b25da..0e746a9 100644 Binary files a/Indicators/TickChart/ROC.ex5 and b/Indicators/TickChart/ROC.ex5 differ diff --git a/Indicators/TickChart/RSI.ex5 b/Indicators/TickChart/RSI.ex5 index 90b459d..ca48063 100644 Binary files a/Indicators/TickChart/RSI.ex5 and b/Indicators/TickChart/RSI.ex5 differ diff --git a/Indicators/TickChart/RVI.ex5 b/Indicators/TickChart/RVI.ex5 index ac963a7..0d8ba8a 100644 Binary files a/Indicators/TickChart/RVI.ex5 and b/Indicators/TickChart/RVI.ex5 differ diff --git a/Indicators/TickChart/SchaffTrendCycle.ex5 b/Indicators/TickChart/SchaffTrendCycle.ex5 new file mode 100644 index 0000000..bbdc28e Binary files /dev/null and b/Indicators/TickChart/SchaffTrendCycle.ex5 differ diff --git a/Indicators/TickChart/SchaffTrendCycle.mq5 b/Indicators/TickChart/SchaffTrendCycle.mq5 new file mode 100644 index 0000000..85ac7f1 Binary files /dev/null and b/Indicators/TickChart/SchaffTrendCycle.mq5 differ diff --git a/Indicators/TickChart/StdDev.ex5 b/Indicators/TickChart/StdDev.ex5 index d5736cc..b131ead 100644 Binary files a/Indicators/TickChart/StdDev.ex5 and b/Indicators/TickChart/StdDev.ex5 differ diff --git a/Indicators/TickChart/Stochastic.ex5 b/Indicators/TickChart/Stochastic.ex5 index 42b8624..6b64a0a 100644 Binary files a/Indicators/TickChart/Stochastic.ex5 and b/Indicators/TickChart/Stochastic.ex5 differ diff --git a/Indicators/TickChart/T3.ex5 b/Indicators/TickChart/T3.ex5 index 4bd275e..ab87327 100644 Binary files a/Indicators/TickChart/T3.ex5 and b/Indicators/TickChart/T3.ex5 differ diff --git a/Indicators/TickChart/TDI.ex5 b/Indicators/TickChart/TDI.ex5 index 87ec0c3..e4d917d 100644 Binary files a/Indicators/TickChart/TDI.ex5 and b/Indicators/TickChart/TDI.ex5 differ diff --git a/Indicators/TickChart/TMA_CenteredBands.ex5 b/Indicators/TickChart/TMA_CenteredBands.ex5 index e7b80db..d8a64ad 100644 Binary files a/Indicators/TickChart/TMA_CenteredBands.ex5 and b/Indicators/TickChart/TMA_CenteredBands.ex5 differ diff --git a/Indicators/TickChart/TRIX.ex5 b/Indicators/TickChart/TRIX.ex5 index ce85797..0789dee 100644 Binary files a/Indicators/TickChart/TRIX.ex5 and b/Indicators/TickChart/TRIX.ex5 differ diff --git a/Indicators/TickChart/TimeLine.ex5 b/Indicators/TickChart/TimeLine.ex5 index 5846d4e..d3da2a4 100644 Binary files a/Indicators/TickChart/TimeLine.ex5 and b/Indicators/TickChart/TimeLine.ex5 differ diff --git a/Indicators/TickChart/VEMA_Wilders_DMI.ex5 b/Indicators/TickChart/VEMA_Wilders_DMI.ex5 index d7ef332..8d2b138 100644 Binary files a/Indicators/TickChart/VEMA_Wilders_DMI.ex5 and b/Indicators/TickChart/VEMA_Wilders_DMI.ex5 differ diff --git a/Indicators/TickChart/VWAP_lite.ex5 b/Indicators/TickChart/VWAP_lite.ex5 index 1075792..00fd1da 100644 Binary files a/Indicators/TickChart/VWAP_lite.ex5 and b/Indicators/TickChart/VWAP_lite.ex5 differ diff --git a/Indicators/TickChart/Volatility.ex5 b/Indicators/TickChart/Volatility.ex5 index 4ed6545..340fefc 100644 Binary files a/Indicators/TickChart/Volatility.ex5 and b/Indicators/TickChart/Volatility.ex5 differ diff --git a/Indicators/TickChart/Volume_Average_percent.ex5 b/Indicators/TickChart/Volume_Average_percent.ex5 index 3908c86..13c93a7 100644 Binary files a/Indicators/TickChart/Volume_Average_percent.ex5 and b/Indicators/TickChart/Volume_Average_percent.ex5 differ diff --git a/Indicators/TickChart/Volumes.ex5 b/Indicators/TickChart/Volumes.ex5 index 2c3ce16..64fb36b 100644 Binary files a/Indicators/TickChart/Volumes.ex5 and b/Indicators/TickChart/Volumes.ex5 differ diff --git a/Indicators/TickChart/WPR.ex5 b/Indicators/TickChart/WPR.ex5 index 7122135..cb5f380 100644 Binary files a/Indicators/TickChart/WPR.ex5 and b/Indicators/TickChart/WPR.ex5 differ diff --git a/Indicators/TickChart/WeisWaves.ex5 b/Indicators/TickChart/WeisWaves.ex5 index fd80320..fc6382b 100644 Binary files a/Indicators/TickChart/WeisWaves.ex5 and b/Indicators/TickChart/WeisWaves.ex5 differ diff --git a/Indicators/TickChart/ZigZag.ex5 b/Indicators/TickChart/ZigZag.ex5 index c00e688..a262385 100644 Binary files a/Indicators/TickChart/ZigZag.ex5 and b/Indicators/TickChart/ZigZag.ex5 differ