量化交易系统

MT5-Close all profit positions

  • 型号:
Main Image

The script allows to close all opened positions if Sum of Profit from all opened positions  is greater than value of the input parameter: SumProfit .


Input parameters

  • SumProfit = 100

You can change SumProfit to any positive value ( in dollars , not in the points!). This script will close all positions for a given currency pair only.

Keep in mind that you have to " Allow automated trading " on the "Expert Advisors" tab (Tools->Options).