Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal

Closing all open trades if all one symbol and one trade direction - script for MetaTrader 4
- Views:
- 7639
- 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

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

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

SSH is popular indicator as it uses simply two moving averages. This version is a mylti-TF of SSH with TF change ability from screen.