Idea Contributor: slacktrader, MQ5 Code Developer: barabashkakvn.
Today's strategy revolves around trading against the trend that's been established over the last N hours. The catch? You can only open one position per day at a specified hour.
Input Parameters
- Max Positions: This is the maximum number of positions you can open. It's not advisable to set this below 2.
- Lots (if "Lots" <= 0.0 -> use "Risk"): This determines your position volume. If you set this value to 0 or any negative number, the system will calculate your position size based on the risk percentage of your free margin.
- Take Profit: Set your target profit level here.
- Risk Percentage for a Trade: Define the risk per trade as a percentage of your free margin.
- Maximum Lot Size: This caps the maximum size of your lot.
- Opening Hour: Specify the hour you wish to open a position.
- Trend Check Hours: Indicate how many hours back you want to check to determine the trend direction.
- Lot Multiplier After One Losing Trade: This is the ratio by which your lot size will increase after a single losing trade.
- Lot Multiplier After Two Losing Trades: Similar to the above, but after two consecutive losses.
- Lot Multiplier After Three Losing Trades: Increase your lot size ratio following three consecutive losing trades.
- Lot Multiplier After Four Losing Trades: Adjust the lot size ratio after four losses in a row.
- Lot Multiplier After Five Losing Trades: This is the ratio after five consecutive losing trades.
Comments 0