Forum

Inherit or set new trade-comment on partially closed trade using PositionClosePartial or alternative (Hedging Account)

Hi, I am working on Partial Closing Positions (MQL5). On A Netting account, I simply open an opposite order with the right volume,and can (of course) set the trade comment (Name of the EA) like with any other trade. On a hedging account I use PostionTradePartial to partially close a position

direct job offer outside freelance

I have a question about the Rules of Using the Freelance service: " Fulfilling Orders outside of the Freelance service You can use the Freelance service only for its intended purpose - carrying out all necessary works and making payments for published Orders. Searching for customers and developers

Default values for optimization parameters

Hi, I am trying to define the default values for the values "start" "step" "stop" in the optimization. in the set file it may looks like this: Trailingstep= 1 || 1 || 1 || 10 ||Y But how do I hardcode the range in the EA code? input int Trailingstep= 1 || 1 || 10 ||Y; does not work. any pointers