Streamline Futures Trading with This MetaTrader 5 EA

Mike 2018.06.06 23:34 19 0 0
Attachments

If you're looking to enhance your trading strategy, this Expert Advisor (EA) is a game changer! It utilizes functions from the Current Next Futures script to automatically switch to new futures before they expire. This EA handles trades on three specified instruments, making it super flexible for your portfolio.

Here's how it works: the EA opens a position based on the volume you set for each instrument. If the volume is negative, it’s a sell position; if it’s positive, then it’s a buy position. A few hours before the futures expiration—set by the hours_before_expiration parameter—the EA will close your current position and open a new one for the upcoming futures symbol. It's like having a personal trading assistant that ensures you never miss a beat!

Input Parameters

  • Symbol1 - Short name for your first instrument;
  • Symbol2 - Short name for your second instrument;
  • Symbol3 - Short name for your third instrument;
  • Lot1 - Trading volume for the first instrument;
  • Lot2 - Trading volume for the second instrument;
  • Lot3 - Trading volume for the third instrument;
  • hours_before_expiration - Number of hours before expiration when the EA should switch to new futures symbols.

Warning: Please note that this Expert Advisor has not been tested in real trading conditions. It's designed for use in the Strategy Tester.
List
Comments 0