• Overview
  • Reviews (2)
  • Comments (12)
  • What's new

Open Close Orders One Hotkey

This utility is designed for opening Buy and Sell market orders and closing all positions. The positions are opened and closed by pressing a hot key.

  • The "A", "S" and "D" keys send a request for opening Buy orders with predefined values of Lot, Take Profit, Stop Loss;
  • The "Z", "X" and "C" keys send a request for opening Sell orders with predefined values of Lot, Take Profit, Stop Loss;
  • The "Space" key sends a request to close all positions on the current instrument.

In the settings, you can assign the hot keys from the list:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Tab, Enter, Shift, Ctrl, Alt, Pause, CapsLock, Esc, Space, PageUp, PageDown, End, Home, Left, Up, Right, Down, Insert, Delete.


Disadvantages of the utility

Does not work in the strategy tester.

For the utility to work, the chart window should be active (click on the chart).


Parameters

  • SETTINGS_1 FOR 1 ORDER BUY - settings of the first Buy order.
  • HOT KEY FOR OPENING "A" - hot key for the opening request, "A".
  • LOT SIZE - lot size.
  • TAKE PROFIT - take profit.
  • STOP LOSS - stop loss.
  • MAGIC BUY 1 - magic number.
  • SETTINGS_2 FOR 2 ORDER BUY - settings of the second Buy order.
  • HOT KEY FOR OPENING "S" - hot key for the opening request, "S".
  • LOT SIZE - lot size.
  • TAKE PROFIT - take profit.
  • STOP LOSS - stop loss.
  • MAGIC BUY 2 - magic number.
  • SETTINGS_3 FOR 3 ORDER BUY - settings of the third Buy order.
  • HOT KEY FOR OPENING "D" - hot key for the opening request, "D".
  • LOT SIZE - lot size.
  • TAKE PROFIT - take profit.
  • STOP LOSS - stop loss.
  • MAGIC BUY 3 - magic number.
    • SETTINGS_4 FOR 2 ORDER SELL - settings of the second Sell order.
    • HOT KEY FOR OPENING "X" - hot key for the opening request, "X".
    • LOT SIZE - lot size.
    • TAKE PROFIT - take profit.
    • STOP LOSS - stop loss.
    • MAGIC SELL 1 - magic number.
    • SETTINGS_5 - general settings.
    • HOT KEY FOR CLOSE ALL "D" - hot key for the closing request, "D".
    • SLIPPAGE FOR ALL ORDER - slippage (for all orders).
    • MAGIC FOR ALL ORDERS - magic number for the EA to open orders.
    • MAGIC FOR CLOSE ALL - magic number for the EA to close orders.
    • MAGIC SELL 2 - magic number.
    • SETTINGS_6 FOR 3 ORDER SELL - settings of the third Sell order.
    • HOT KEY FOR OPENING "C" - hot key for the opening request, "C".
    • LOT SIZE - lot size.
    • TAKE PROFIT - take profit.
    • STOP LOSS - stop loss.
    • MAGIC SELL 3 - magic number.
    • SETTINGS_7 FOR CLOSE ALL - close all.
    • HOT KEY FOR CLOSE ALL "Space" - key for the closing request, "Space".
    • MAGIC FOR CLOSE ALL - magic number used by the utility to close orders.
    • SETTINGS_8 FOR SLIPPAGE - slippage settings.
    • SLIPPAGE FOR ALL ORDER - slippage (for all orders).
    Matthew Todorovski
    12115
    Matthew Todorovski 2018.06.12 16:25 
     

    User didn't leave any comment to the rating

    iloirin
    14
    iloirin 2018.05.08 13:58 
     

    Ваш советник - отличный помощник! Спасибо за альтруизм! Удачи Вам и профита!

    Version 1.2 2018.01.17
    Fixed code errors.
    Version 1.1 2017.12.06
    Added the keys for re-assigning in the utility settings: Tab, Enter, Shift, Ctrl, Alt, Pause, CapsLock, Esc, Space, PageUp, PageDown, End, Home, Left, Up, Right, Down, Insert and Delete.
    Added the keys for opening Buy and Sell orders.