RRS Martingale
- Uzman Danışmanlar
- Rajeev Ranjan Sharma
- Sürüm: 1.0
RRS Martingale is based on the Martingale strategy, which involves increasing the lot size opposite to the price movement and waiting for recovery. Martingale is usually a very risky technique, but this EA is built on well-calculated mathematics to minimize drawdown, reduce risk, and maximize profits.
This EA automatically calculates all values based on pre-programmed mathematical algorithms using your TakeProfit and LotMultiplier inputs.
Variables & Descriptions
Variable | Value | Description |
---|---|---|
Trading_Strategy | Martingale_TrailingSL, Martingale_TakeProfit | Martingale_TrailingSL: Uses a trailing stop loss to recover trades. Martingale_TakeProfit: Uses take profit to recover trades. Note: Trailing Stop Loss can provide more profit, while Take Profit minimizes drawdown. Choose based on your trading style. |
Trailing_Type | Classic_Trailing, Virtual_Trailing | Virtual Trailing: The trailing stop loss is hidden from the broker’s server (remains on your local PC). Classic Trailing: A visible trailing stop loss is placed and reflects on the broker’s server. Note: This feature is useful if your broker does not support hyperactive EAs, has modification limits per day, or if you suspect stop-loss hunting. Recommendation: Martingale relies on strict calculations, so it's better to use Classic Trailing. |
TakeProfit_Type | Classic_TP, Virtual_TP | Virtual TP: The take profit level is hidden from the broker’s server. Classic TP: The take profit level is visible to the broker’s server. Note: Useful for avoiding broker manipulation. Recommendation: Martingale requires strict calculations, so it's better to use Classic Take Profit. |
OrderMode | PendingOrder, DirectOrder | PendingOrder: The EA places Buy Limit and Sell Limit orders for the next trade. DirectOrder: The EA places Buy or Sell orders directly for the next trade. Note: Martingale requires precise calculations, so it is recommended to use Pending Orders. |
TakeProfit | Integer (Points/Pips) | Set your take profit value in points/pips (the smallest price movement unit for your asset). This value is also used in TrailingSL operations. |
LotMultiplier | Double | Determines the lot size increase for the next trade. Example: If the previous trade's lot size is 0.10 and LotMultiplier is 1.7, the next trade lot size will be 0.10 × 1.7 = 0.17, then 0.28, and so on. LotMultiplier must be at least 1.5 for the EA to function properly. |
Max_OpenTrade | Integer | Sets the maximum number of open trades allowed. |
MoneyManagement_Action | Stop_EA, Close_And_Continue | Stop_EA: Once the "Target_Revenue" is reached, the EA stops taking new trades and must be reinstalled to restart. Close_And_Continue: Once the "Target_Revenue" is reached, the EA closes all running trades and continues trading. |
MoneyManagement_Type | Fixed_Money, Balance_Percentage | Fixed_Money: Closes trades when the account equity reaches a set amount. Balance_Percentage: Closes trades when a certain percentage of the account balance is reached. |
Target_Revenue | Double | If MoneyManagement_Type is Fixed_Money, enter the target equity value. If Balance_Percentage, the EA will calculate the value based on your account balance. |
RiskManagement_Action | StopEA, CloseAndContinue | StopEA: If the negative floating loss reaches Money_In_Risk, all trades are closed, and the EA stops trading (manual restart required). CloseAndContinue: If the negative floating loss reaches Money_In_Risk, all trades are closed, but the EA continues trading. |
Risk_In_Money_Type | FixedMoney, BalancePercentage | FixedMoney: Closes trades when the floating loss reaches a set monetary value. BalancePercentage: Closes trades when the defined percentage loss is reached. |
Money_In_Risk | Integer | If Risk_In_Money_Type is FixedMoney, enter the maximum amount you can afford to lose. If BalancePercentage, the EA calculates the value based on your account balance. |
NewsManagement | NewsDeactivated, HighImpactNews, ImportantNews | NewsDeactivated: No news filter applied. HighImpactNews: Avoids trading during high-impact news events. ImportantNews: Avoids trading during pre-specified important news events listed in Important_News. |
BeforeNews_Minutes | Integer (Minutes) | Number of minutes before news events when trading should pause. (e.g., 120 = 2 hours before). |
AfterNews_Minutes | Integer (Minutes) | Number of minutes after news events when trading should pause. (e.g., 180 = 3 hours after). |
News_CutLoss | Integer | If a trade has a floating loss greater than or equal to this value during a news event, the EA will close the trade. |
News_ReCheckMinutes | Integer | The frequency (in minutes) at which the EA should update news data from ForexFactory. |
Important_News | String | List of important news events that should pause trading (comma-separated). |
Please share your experience, feedback, and trading reports.
Good Luck & Happy Trading! 🚀