@jstap it's work ! thank you 
M
Posts made by mistrzmaju
-
RE: Closing problem with hedging positionsposted in Questions & Answers
-
Closing problem with hedging positionsposted in Questions & Answers
Hi, I have been using fxdreem for a while now. I'm doing an EA based on YT to learn how to use it.
I came across an EA that involves hedging each position along with the grid.
I wanted to change the logic of closing positions. I would like that when Profit (account) = x $, I would like to close all positions.Situation as below, with $10 profit, positions were about to close

Anyone know which piece of code I should pay attention to?

Link to EA -> https://fxdreema.com/shared/PEKNQJA8
Thx for help !