Voodoo Trading Russian Language
Main page Scripts Indicators Experts

The list of scripts:


AutoSL_TP
Close&DeleteALL
CloseALL
CloseAtTimeOrder
CloseAtTimeALLOrders
CloseBy
DeleteALL
DrawHistoryOrders
EventsOfOrders
ExitMartingale
ExportMarketInfo to CSV
FindHoles
HiddenPendingOrder
HiddenStopLoss
LimiteTimeOrder
LimiteTimeALLOrder
LotsOptimizedLoss
LotsOptimizedMargin
MoveToBE
OneCancelOther
OpenAfterExecute
OpenAtTime
OpenBUY
OpenSELL
SystemTwoOrders
TrailingStopMA
TrailingStopPeak

Script SystemTwoOrders

The description of action:
     Script watching the order. Creates system consisting of two pending orders by a principle "at execution of one order another is cancelled". Orders can be different currency pairs. If one of orders was deleted, the script automatically finish the work. Can be attached to any chart.

Assignment:
     Allows to automate trading process. It is useful to those who uses orders dependent from each other. Open a orders, start a script, set its parameters and you should not watch orders any more, the script itself will delete the order after the specified event with other order. Simultaneous use together with other scripts watching the order is supposed.

Parameters:
     ticket_1 = the unique identifier of the first order. It can be found in a column "Order" of the tab "Trade" of the terminal.
The following of four parameters define events with the first order, at which the second order will be deleted(closed); value true - to trace event, value false - to not trace event.
     event_market_order_1 = the pending order was executed. This parameter is used only if ticket_1 is the pending order.
     event_delete_order_1 = the pending order was deleted or the open position was closed.
     event_stoploss_order_1 = the position was closed at a level stoploss.
     event_takeprofit_order_1 = the position was closed at a level takeprofit.
     ticket_2 = the unique identifier of the second order. It can be found in a column "Order" of the tab "Trade" of the terminal.
The following of four parameters define events with the second order, at which the first order will be deleted(closed); value true - to trace event, value false - to not trace event.
     event_market_order_2 = the pending order was executed. This parameter is used only if ticket_2 is the pending order.
     event_delete_order_2 = the pending order was deleted or the open position was closed.
     event_stoploss_order_2 = the position was closed at a level stoploss.
     event_takeprofit_order_2 = the position was closed at a level takeprofit.
     delay = frequency of a check up status of orders. It is set in milliseconds, for example value 5000 means periodicity of 5 seconds. It is necessary to remember, that too often periodicity can brake the terminal.

The status: Cost 7 EUR, it is possible to download the version for demo account.

Platform: MetaTrader 4.

To download the demo-version To buy the full version

See also these scripts:
OneCancelOther
- the system of two pending orders: "one cancels other".
OpenAfterExecute
- the system of two orders: "one opens other".
OpenAtTime
- open order at the specified time.


Frequently asked questions:
How I can run a script ?
How I can determine that the script works ?
Why the script does not trade ?

At occurrence of questions or offers write on Serega.Lykov@gmail.com, Sergey Lykov.
I can create the scripts, indicators and advisers of "MetaTrader 4" for a payment.
The partial or full reprint is supposed only referring to a source.
The site is designed and created by Sergey Lykov, Copyright © 2008-2024.

Hosted by uCoz