Join our fan page
Closing all open trades if all one symbol and one trade direction - script for MetaTrader 4
- Views:
- 7091
- Rating:
- 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.
A simpler way to display Heikin Ashi
Martingale Trade Simulatora Simple Visual Strategy Tester / Manual Trade Training using Martingale.
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 v4This is the exact conversion of pivotshigh and pivotslow functions from pine script v4 as an mql4 indicator.