Grid layer lot size and close all not working
-
project link: https://fxdreema.com/shared/KYZYbV1Rd
I created this grid ea which opens buy and sell without any condition. the issue i have is lot martingale is not working in sell, it works in buy only although the buy and sell have same blocks. Also sell trade doesnt close once there are few layers opens, no issue with buy closing though, sometimes it doesnt work for buy too.
-
You are using the exact same variable for both buys and sells when they need to be independent. That's why the don't work.