Forum

Error 10025 whit a partial TP order

#include <Trade\Trade.mqh> CTrade trade; input double PartialProfitTarget = 500.0 ; // Target profit in account currency for partial closure (TP1) input double FullProfitTarget = 300.0 ; // Target profit for full closure (TP2) input double PartialClosePercentage = 0.5 ; // Percentage of the position

breakeven e partial profit drama!

hi guys i need your help. i have to admit that for me the mql5 is something really hard to understand. for this reason i found some code on this forum and i tried to adapt it to my needs with the help of chatgpt.. but it was really frustrated. so, for this reason i'm writing now for ask your help