Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

Place Hedge Order of unbalanced positions in MT4 - script for MetaTrader 4

Views:
710
Rating:
(1)
Published:
2024.05.04 12:30
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 size and again we try to run the script, then it will place 0.05 lot buy trade.

Close or delete orders based on type in MT4 Close or delete orders based on type in MT4

This script will close all active trades and delete pending orders based on the order type passed on the input.

Sequentially Close all trades in MT4 Sequentially Close all trades in MT4

This script will close all active trades sequentially. following the order in which they were opened

Close biggest winning / losing trade in MT4 Close biggest winning / losing trade in MT4

This script will scan all the open trades and then will close the biggest winning/losing trade

Check trading day end is reached Check trading day end is reached

This script will detect an end-of-trading day and notify