The BB RSI ADX PA MTFA MC Expert Advisor is a custom MetaTrader 5 (MT5) trading robot that uses Bollinger Bands, RSI, ADX, and Multi Time Frame Analysis (MTFA) to identify potential trading opportunities. This EA also includes additional filters such as ATR and price action confirmations to enhance the accuracy of trade signals.
- Uses Bollinger Bands, RSI, and ADX for trade signals.
- Includes ATR and Multi Time Frame Analysis (MTFA) filters.
- Supports multiple currency pairs.
- Customizable trading parameters.
- Automatic lot size calculation based on account balance.
- Price action confirmations for bullish and bearish patterns.
- Download the
BB_RSI_ADX_PA_MTFA_MC.mq5file. - Open the MetaTrader 5 platform.
- Go to
File->Open Data Folder. - Navigate to
MQL5->Experts. - Copy the
BB_RSI_ADX_PA_MTFA_MC.mq5file into theExpertsfolder. - Restart the MetaTrader 5 platform.
- In the Navigator window, find the
BB_RSI_ADX_PA_MTFA_MCexpert advisor underExperts. - Drag and drop the expert advisor onto a chart.
EA_MagicNumber: Magic number for the EA.TradingCurrencies: Comma-separated list of currency pairs to trade.TimeFrame: Timeframe for the EA to operate on.
BBMAPeriod: Period for the Bollinger Bands.BBStdEntry: Standard deviation for the Bollinger Bands entry.RSIUpper: Upper threshold for the RSI.RSILower: Lower threshold for the RSI.RSIPeriod: Period for the RSI.
BBStdProfitExit: Standard deviation for the take profit Bollinger Bands.BBStdLossExit: Standard deviation for the stop loss Bollinger Bands.ApplyBarSince: Enable or disable the bar since condition.BarSince: Minimum bars since the last trade.
Lot_Type: Type of lot size calculation (Risk Percentage or Fixed Lot Size).MaxRiskPercentPerTrade: Maximum risk percentage per trade.FixedLotSize: Fixed lot size.
EnableTrail: Enable or disable trailing stop.
ATR_FilterOn: Enable or disable the ATR filter.ATR_MA_Period: Period for the ATR.
ADX_FilterOn: Enable or disable the ADX filter.ADX_Period: Period for the ADX.ADX_Level: Level for the ADX.
RSI_MFTA_FilterOn: Enable or disable the RSI MTFA filter.RSI_MFTA_TimeFrame: Timeframe for the RSI MTFA.RSI_MFTA_Period: Period for the RSI MTFA.RSI_MFTA_Upper: Upper threshold for the RSI MTFA.RSI_MFTA_Lower: Lower threshold for the RSI MTFA.
Bullish_Confirmation: Enable or disable bullish confirmation.
Bearish_Confirmation: Enable or disable bearish confirmation.
Initializes the expert advisor, sets up the currency pairs, and configures the chart.
Cleans up when the expert advisor is removed from the chart.
Main function that runs on every tick. Checks for new bars and processes trade signals.
Processes trade signals for a specific symbol.
Checks if a new bar has formed.
Calculates the position size based on risk percentage and stop loss in pips.
Calculates the take profit price.
Calculates the stop loss price.
Calculates the stop loss in pips.
Checks if there are open orders with the specified magic number.
Trailing stop loss function based on Bollinger Bands.
Checks for a bullish hammer pattern.
Checks for a bearish engulfing pattern.
Records the number of bars since the last trade for a symbol.
Retrieves the number of bars since the last trade for a symbol.
This expert advisor is provided under the MetaQuotes Software Corp. license. For more information, visit MetaQuotes Software Corp..
Trading in the financial markets involves risk. This expert advisor is provided for informational purposes only and should not be considered as financial advice. Always do your own research before making any trading decisions.
For more information, visit the MetaQuotes Software Corp. website.