Total Active / Closed orders by order type in MT4 – script MetaTrader 4

Total Active / Closed orders by order type in MT4 - script for MetaTrader 4
There are six different type of active or closed  orders which is  OP_BUY OP_SELL OP_BUYSTOP OP_SELLSTOP OP_BUYLIMIT OP_SELLLIMIT This script will find the count of active /closed orders based on the types Total Active / Closed orders by order type in MT4 – script MetaTrader 4

Close or delete orders based on type in MT4 – script MetaTrader 4

Close or delete orders based on type in MT4 - script for MetaTrader 4
This simple script will close /delete a order based on the input value passed on the script. for example if user pass OP_BUY then it will close all the buy trades. Similarly if someone pass OP_SELL_LIMIT then it will delete all sell limit orders  Close or delete orders based on type in MT4 – script

Place Hedge Order of unbalanced positions in MT4 – script MetaTrader 4

Place Hedge Order of unbalanced positions in MT4 - script for MetaTrader 4
This script calculates the total unbalanced postion of hedged or non hedged postions and then place hedge trades accordingly. Example  trader places 0.01 lot then 0.02 lot buy trade if then try to run the script , it will place 0.03 lot sell trade if again a sell trade is placed of lot size 0.05

Reverse Trades For All Symbols Script – script MetaTrader 4

Reverse Trades For All Symbols Script - script for MetaTrader 4
The strategy implemented in the script “Reverse_Trades_For_all_Trades_and_Symbols_V1.mq4” reverses all open trades for all symbols on the trading platform. When executed, the script iterates through all open trades, closing each one and opening an opposite trade for the same symbol. This effectively reverses the direction of each trade, allowing traders to profit from changes in market

Harmonized Pending Hedge of open trades for chart symbol – script MetaTrader 4

Harmonized Pending Hedge of open trades for chart symbol - script for MetaTrader 4
This script sets pending hedges with distance in pips for chart symbol. If hedged are 100% harmonized strategy will do nothing, else calculates difference between Buy and Sell Trades and places a harmonized pending hedge 100%. Deletes old hedges for symbol and places new ones. This way can be used as manual trailing pending hedges,