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

Close-All - script for MetaTrader 5

Views:
43329
Rating:
(71)
Published:
2019.05.26 19:13
Updated:
2024.02.02 08:06
dummy.mq5 (0.67 KB) view
\MQL5\Scripts\
Close-All.mq5 (29.76 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This is a script to close all market positions and/or pending orders.

Optionally, you can disable Algo-Trading button to prevent other running experts from opening further positions and orders.



Change SL/TP on chart drop off Change SL/TP on chart drop off

This script will change the SL and TP of all open trades of the symbol to the price where the script is dropped off.

Sell Relative Strengt Index Sell Relative Strengt Index

Sell Relative Strengt Index (SRSI)

Export Summary Grouped by Symbols Export Summary Grouped by Symbols

The script exports summary of closed trades grouped by each currency pair to .csv file

Variance Variance

Variance (Welford’s method for computing)