Puria method - expert for MetaTrader 5

Puria method - expert for MetaTrader 5

Idea by Sergey Deev mq5 code author - barabashkakvn A trading system based on the Puria method. It uses the fast iMA indicator (Moving Average, MA), two slow iMA indicators (Moving Average, MA) and one iMACD indicator (Moving Average Convergence/Divergence, MACD). If Use all ticks is set to "true", the EA will operate at every tick; if set to "false", the EA will operate only when a new bar appears. The EA opens only one
TDSGlobal - expert for MetaTrader 5

TDSGlobal - expert for MetaTrader 5

Idea by Scriptor mq5 code author - barabashkakvn The Expert Advisor operates using pending Buy limit and Sell limit orders. The working timeframe to analyze OHLC is specified in the Work TimeFrame parameter. Trading signals are obtained based on the analysis of the following indicators: iMACD (Moving Average Convergence/Divergence, MACD), iOsMA (Moving Average of Oscillator, OsMA) and iForce (Force Index, FRC). Search for results
Exp_SR-RateIndicator - expert for MetaTrader 5

Exp_SR-RateIndicator - expert for MetaTrader 5

A trading system based on the SR-RateIndicator indicator signals. A trade signal is generated at the close of a bar if the color of the histogram has changed from dark to bright pink or lime, i.e. when the indicator has entered the overbought or oversold zone. For the generated EA to operate correctly, the compiled SR-RateIndicator.ex5 indicator file should be added in the <terminal_data_directory>MQL5Indicators folder. Note that the
Exp_SpearmanRankCorrelation_Histogram - expert for MetaTrader 5

Exp_SpearmanRankCorrelation_Histogram - expert for MetaTrader 5

A trading system based on the signals of the SpearmanRankCorrelation_Histogram indicator. The signal is formed at the bar Close. There are three possible position entry and exit algorithms. Entry and exit at a zero breakout; Entry in overbought and oversold zones, exits at zero breakout; Entry and exit only in the overbought and oversold zones. To set one of these options, change the value of the following input parameter: input TradeMode
Cidomo - expert for MetaTrader 5

Cidomo - expert for MetaTrader 5

The Expert Advisor operates using Buy Stop and Sell Stop orders: within the "Number of bars" interval, the EA searches for High and Low prices in the "Work TimeFrame". Then, it places pending orders at a distance from the found High and Low equal to "Indent from High and Low". If you enable the "Use time control" option, pending orders will be placed not earlier than the specified time ("Start hour" and "Start minute").  Attention: If you
Exp_ColorMaRsi-Trigger_MMRec_Duplex - expert for MetaTrader 5

Exp_ColorMaRsi-Trigger_MMRec_Duplex - expert for MetaTrader 5

Two identical trading systems (for long and short deals) based on the ColorMaRsi-Trigger indicator signals that can be configured in different ways within a single EA with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system. This EA was obtained by further complicating the Exp_ColorMaRsi-Trigger_Duplex trading system to change the volumes of the positions to be
Hoop master - expert for MetaTrader 5

Hoop master - expert for MetaTrader 5

The author of the idea - Yuri mq5 code author - barabashkakvn The Expert Advisor uses Buy Stop and Sell Stop pending orders. The EA performs operations at the emergence of a new bar: if there are no positions, as well as no pending Stop orders, the EA places Buy Stop and Sell Stop at the "Indent" distance. If none of the orders triggers at the next bar, the EA deletes these pending orders and starts anew. Once any of the
Singleton Example - expert for MetaTrader 5

Singleton Example - expert for MetaTrader 5

I was working on an EA and identified that an object should never have more than one copy. Most EAs never get large enough for it to actually matter that a singleton is used, but I like the clarity in the code for the objects type.  This is just an update to a years earlier post of this for MQ4; it may be getting to be time to convert everything to MQ5. The code follows closely the tutorial at
Flat Channel - expert for MetaTrader 5

Flat Channel - expert for MetaTrader 5

Idea by JS_Sergey mq5 code author - barabashkakvn The Expert Advisor uses the  Standard Deviation smoothing custom indicator, which is a smoothed Standard Deviation. Determine trend existence based on the indicator values on bars #0, #1, #2, #3 and #4:  (StdDev #0 > StdDev #1)  && (StdDev #1 > StdDev #2)  && (StdDev #2 > StdDev #3)  && (StdDev #3 > StdDev #4) ->
Exp_Slow-Stoch_Duplex - expert for MetaTrader 5

Exp_Slow-Stoch_Duplex - expert for MetaTrader 5

Two identical trading systems (for long and short positions) based on the signals of the Slow-Stoch indicator, which can be configured in different ways within one Expert Advisor. For this purpose, all input parameters can be divided into two large groups: Those having names starting with L are input parameters to manage long positions; Those starting with S are input parameters to manage short positions.