![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
A set (13) of close scripts using different criteria to close orders scripts.rar
hi guys, entering n exiting is indeed essential in trading. Exit in particular is most challenging, i am looking for a hedgeing EA or script which can hedge open (opposite direction trades) in 1 click. ie: if i have 10 longs than it opens 10 shorts of "equal size"
i want to use this tool to prevent big being caught in middle of some commentry which shakes market up. So, when volatility settles down i can exit the hedge at the nearest "extreme overbought/sold level"
if anyone know of such hedging positions script/EA, please let me know... thx in advance :)
hi guys, entering n exiting is indeed essential in trading. Exit in particular is most challenging, i am looking for a hedgeing EA or script which can hedge open (opposite direction trades) in 1 click. ie: if i have 10 longs than it opens 10 shorts of "equal size"
i want to use this tool to prevent big being caught in middle of some commentry which shakes market up. So, when volatility settles down i can exit the hedge at the nearest "extreme overbought/sold level"
if anyone know of such hedging positions script/EA, please let me know... thx in advance :)
Hedge Script - script for MetaTrader 4
Simple Hedge Panel - expert for MetaTrader 5Order-Tool "Hedger" - expert for MetaTrader 4
You can try on Monday (tomorrow).
Using script to close all order with one click is help much for trader,
but still often I am not using script close all because only having onw or two position each trading
Close Positions Current Symbol - script for MetaTrader 5
This script closes all positions by the symbol on the chart of which it was thrown. The script copies the Magic number at the position to be closed, while the script does not have its Magic number.
For example, the symbol 'USDJPY' has several positions open:
Close All if Take Profit activation - expert for MetaTrader 5
The EA expects a position to close when Take Profit is triggered. After that, an attempt is made to close all positions (without taking into account the symbol and Magic number) and delete all pending orders (without taking into account the symbol and Magic number).
MultiCurrency Close All - expert for MetaTrader 5
Close and delete all at certain times - expert for MetaTrader 5
Close after N - expert for MetaTrader 5
Position lifetime is set through three independent parameters: ' After: Hour ', ' After: Minutes ', ' After: Seconds '. There is a limitation: any of these three parameters cannot have a value greater than 255.
Since the EA's Magic number is equal to '0', it will be seen in the history that the closing was made by the EA with the Magic number '0'.
Close all at the specified symbol - expert for MetaTrader 5