AutoStopAndTakeLevels

A script for automatically setting stop-loss and take-profit levels for pending orders and open positions.

Place the executable file into the 'Scripts' folder of your trading terminal, then simply drag and drop it onto the chart where you have pending orders or open positions.
You can also assign a hotkey to the script for quick execution.
In the "Inputs" tab, select your desired stop-loss and take-profit levels and click "OK." All existing orders will be processed immediately. Open positions will also be processed, provided the current price has not yet moved beyond the specified levels. Once finished, the script will automatically terminate and unload; to use it again, simply drag it onto the chart once more.

Input parameters:

- Stop loss in points (0 = off)            -- Stop-loss for the position in points. Used for setting a fixed price-based stop/take level; the monetary value will vary
                                                          depending on the position size.
- Take profit in points (0 = off)         -- Take-profit for the position in points. Used for setting a fixed price-based stop/take level; the monetary value will vary
                                                          depending on the position size.
- Enable SL/TP calculation in monetary terms 

- Stop loss, $ (0 = off)                      -- Stop-loss in monetary terms ($). Used for setting a fixed profit/loss amount, regardless of the position size.

- Take profit, $ (0 = off)                   -- Take-profit in monetary terms ($). Used for setting a fixed profit/loss amount, regardless of the position size.

- Forced SL/TP for open positions       -- Applies SL/TP levels to open positions; if disabled, open positions will not be processed.

If you run the script on a chart where orders or positions already have stop-loss or take-profit levels set, and you select zero as the input parameter, the corresponding levels for all those positions or orders will be removed. If you select non-zero values, the levels will be moved to these new values.


フィルタ:
レビューなし
レビューに返信