Two PerBar - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

The author of the idea - the screenwriter
mq5 code author - Bara Bashkakon
The Expert Advisor works only on hedging accounts: it opens buy and sell positions simultaneously.
- Lots - open interest if there are currently no open positions
- Lot coefficient - the ratio of position increase when there is currently a position
- Max Batch - Maximum quantity limit
- Take Profit (in pips) - Take profit set in pips
- Magic number - unique EA identifier
Example of "point":

When a new bar appears, the EA closes the position and opens both buy and sell positions. Expect that within the bar, one of the positions will be closed via Take Profit and the trend will reverse slightly.
Attachment download
📎 two_perbar_.mq5 (22.88 KB)
Source: MQL5 #22465
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •