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

Closing all open trades if all one symbol and one trade direction - script for MetaTrader 4

Views:
5444
Rating:
(5)
Published:
2023.12.27 13:09
Updated:
2023.12.27 13:10
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

All open trades must be of same symbol and type, e.g. all GBPUSD and all BUY.

This script will close out your position using one large trade to hedge your position

then using CloseBy() function to close all trades against the one large trade until all

trades are closed. There can be a maximum of 500 open trades.

    Heikin Ashi Lines Heikin Ashi Lines

    A simpler way to display Heikin Ashi

    Martingale Trade Simulator Martingale Trade Simulator

    a Simple Visual Strategy Tester / Manual Trade Training using Martingale.

    No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4

    This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over three years.

    pivots calculation based on pine script v4 pivots calculation based on pine script v4

    This is the exact conversion of pivotshigh and pivotslow functions from pine script v4 as an mql4 indicator.