Home System Trading Post

Unlocking the Power of Sprut: Your Ultimate MetaTrader 5 EA Guide

Attachments
22100.zip (4.22 KB, Download 0 times)

The brain behind the idea - Andrey

Code Creator - barabashkakvn

🚨 Heads up! By default, grid trading is completely DISABLED. This means that the options for Use buy stop, Use buy limit, Use sell stop, and Use sell limit are all set to "false". Before diving in, you'll need to choose your preferred grid type (pending order type) and fine-tune the best parameters: step, volume, and so on.

The EA utilizes a grid system made up of pending Stop and Limit orders.

Key Grid Features: You can set the first pending grid order at a specified Firstxxxx price or at a certain DeltaFirstxxxx distance from the current price. If Firstxxxx is greater than zero, the DeltaFirstxxxx parameter won't come into play. Conversely, if Firstxxxx is zero, then the DeltaFirstxxxx parameter will take effect.

Here's what you can customize:

  • Toggle pending order types: Buy stop (Use buy stop), Buy limit (Use buy limit), Sell stop (Use sell stop), and Sell limit (Use sell limit).
  • Set distinct steps for pending Stop and Limit orders (Step stop and Step limit).
  • Adjust the volume for the first pending Stop and Limit order (Volume stop and Volume limit).
  • Maintain an equal volume ratio for pending Stop and Limit orders (Coefficient stop and Coefficient limit).
  • Disable stop loss (Stop Loss) and take profit (Take Profit) by setting those parameters to "0.0".

Both stop loss (Stop Loss) and take profit (Take Profit) can be turned off by simply entering "0.0" for those parameters.

The lifespan of a pending order in minutes (Expiration) can also be specified; if you set it to "0", it won't be applied.

Closing all open positions and removing pending orders can happen in two scenarios:

  • When profit hits the Profit Close threshold.
  • When losses reach or exceed the Loss Close limit.

Related Posts

Comments (0)