Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

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

author EAcpu | 3 reads | 0 comments |

Two PerBar - expert for MetaTrader 5

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":

Two PerBar - expert for MetaTrader 5

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

Verification code Refresh