Forum

Get profit of last closed position

Hi Guys, I want to use a "score" called "MFSCore" in my EA that depends on the success of the last trades. My Problem is simple but annoying. The Code doesn't work at all. Am doing somethin obviously wrong? int MarkFisherScore ( ulong LastMainTradeTicketNr, char SetOrGet) //0 = Set new Mark Fisher

Partial Take Profit

Dear Community I'm trying to perform a partial stop loss for each position. I try to check if the initial order that opened the position has got the same volume as the position itself. The order and the position should have the same ticket right? If that is true, the position shall be partially