Multiple Strategy Automation
ON SALE ALL OF DECEMBER!!!!
LIMITED FREE VERSION AVAILABLE HERE: https://www.mql5.com/en/market/product/32925
This expert advisor is used to automate one or more commonly used trading strategies.
Currently available strategies:
-Moving Average Crossover
-MACD Cross over 0 line
-MACD Cross over Signal
-Moving Average Crossover with MACD Signal cross
-Bollinger Band Cross
-CCI Filter for each of the above strategies.
-StochasticFilter for each of the above strategies.
-DeMarker fFilter or each of the above strategies.
All strategies can be used for opening or closing trades separately, or can be used in unison.
These strategies ARE NOT preset, and need to be tuned to your personal trading style using the trading parameters.
Min Balace: Any, recommend 1000+
-MA Cross Opens trade, MACD Cross 0 closes trade.
-MA Cross OR MACD Cross 0 Opens trade, MACD Cross Signal closes trade.
-All 3 can open trades, SL/TP closes trade.
-Any of the above options, with a CCI filter for opening trades.
-AutoLot: Use the account balance to decide the trade size
-AutoCloseOrders: Use one of the included strategies to close orders before SL/TP
-OnlyCloseInProfit: Use strategies to close, but only if trade is in profit. Otherwise wait for SL
-Risk: Used to determine trade size if AutoLot is TRUE
-LotSize: Used if AutoLot is FALSE
-TakeProfit: Closes orders to maintain profit
-StopLoss: Closes order to mitigate loss
-TrailingStop: Distance to wait before moving stoploss (stoploss can be 0, it wil ljust default to TrailingStop amount)
-TrailingStep: Number of pips to move when trailing is activated
-MaxOrders: Allow multiple open orders at the same time
-MaxSpread: Only open orders if spread is below this, or if set to 0
-Slippage: Allowed slippage when closing order
-MagicNumber: Number used to track trades, change if using on multiple charts
-UseMACross: Use the moving average crossover strategy
-UseMACDCross0: Use the MACD 0 crossover strategy
-UseMACDCrossSignal: Use MACD Signal crossover strategy
-UseBandCross: USe a Bollinger band crossover strategy
-UseMAAndMacdSig: Use Ma Cross and Macd Signal cross strategies in unison
TRADE CLOSE SETTINGS
-UseMACross_Close: Use MA crossover for closing trades
-UseMACDCross0_Close: Use the MACD 0 crossover for closing trades
-UseMACDCrossSignal_Close: Use MACD Signal crossover for closing trades
-UseBandCross_Close: Use Bollinger band crossover for closing trades
-UseMAAndMacdSig_Close: Use Ma Cross and Macd Signal cross for closing trades
Any other settings are parameters for indicators (eg. moving average period or type)
TRADE FILTER SETTINGS
-UseCCIFilter: Use a CCI filter in unison with any of the above strategies
-UseDeMarkerFilter: Use a DeMarker in unison with any of the above strategies
-UseStochasticFilter: Use a Momentum filter in unison with any of the above strategies
I am open to any suggestions for new strategies, and will eventually add more filters, strategies and a proprietary Open/Close strategy
# DISCLAIMER #
This tool is provided as-is. It is not preset for any specific results and is used to automate YOUR strategy. YOU must setup your own settings for moving averages, MACD, and filters, and do your own backtesting before use.
The creator of this tool is not liable for any misuse, lack of understanding, or monies lost during use.
-Remove unneeded functions that caused SELL bias
-Clean up infobox backend code
-Apply "PipsBetweenOrders=10" only to same signals (Don't open buy if last buy open price was within 10 pips)
-Fix bug where in certain conditions CCI filter was applied without being enabled
-Remove redundant code for speedups
-Fix bug in some strategies BUY logic
-Fix MA+MACD close logic
-Separate parameters for MA+MACD combo strategy
-Remove unneeded inputs
-Add close signal output to show which signal closed order
-Dynamically change infobox if terminal error occurs
-Dynamically add "historical accuracy" to infobox after trade occurs
-Remove duplicate functions, lessening load on terminal
-Add alerts to show when and why a trade is opened
-New modular backend for easier and faster updates
-Updated all filters code for less conflicts and cleaner multi-filter use
-Removed multiple unneeded loops speeding up backend
-Swap Momentum for Stoch filter
-Small bugfixes in Open/Close logic
-Massive code cleanup to reduce size and terminal usage
-Remove trade conflict filter
-Remove error 138 (requote) by adding refreshrates() before open/close logic
-Fix bug that stopped SELL orders from opening
-Allow multiple filters to be applied in unison
-Code Cleanup to lessen terminal load
-Make info box more informative
-Multi Order handling logic cleanup
-Add Momentum filter
-Separate trade opening parameters from trade closing parameters for more control
-Add Info box to left top corner
-Add more detailed comments, showing which strategy opened trade
-Loosen close logic, trades closed late waiting for specific crossover
|- eg. if(ma>maslow) instead of if(ma>maslow && ma1<maslow1)
-Add printout to show which signal opened trade
-Trailing Stop as per request by "Francisco Guerra"