Mastering Pending Orders with e-News-Lucky for MetaTrader 5

Mike 2018.06.16 19:35 22 0 0
Attachments

Idea by: Scriptor.

MQL5 Code by: Vladimir Karputov.

If you're looking to get a leg up on your trading game, the e-News-Lucky system for MetaTrader 5 is a game changer, especially when it comes to managing pending Buy Stop and Sell Stop orders. This tool allows you to set pending orders that will be placed and removed at precise times—specifically, the Time of Order Placement and Time of Order Removal. Just remember to set the time in hours and minutes only!

Once one of your pending orders is triggered (and you can keep an eye on this through the OnTradeTransaction function), the other pending order will automatically be removed, keeping your strategy streamlined.


Input Parameters

  • Lots - The volume of the pending order you want to place;
  • Stop Loss (in pips) - Your Stop Loss setting;
  • Take Profit (in pips) - Your Take Profit setting;
  • Trailing Stop (in pips) - Set your trailing stop;
  • Trailing Step (in pips) - Determine your trailing step;
  • Time of Order Placement (use only hh:mm) - The exact time for placing pending orders;
  • Time of Order Removal (use only hh:mm) - The exact time for removing pending orders (positions close at this time too);
  • Distance from Market - Set how far from the current price you want your pending orders;
  • Magic Number - A unique identifier for your EA.

Here's a quick test example using GBPUSD on the H1 timeframe:

e-News-Lucky GBPUSD H1

List
Comments 0