Forum

How to get profit by EA?

If I remove conditionals at line 1 and 2, it works fine getting the profit about time that I want, the problem is that i want to get only a specific EA profit. Doing this bellow i receive 4755 error(trade deal not found). Why it does not work? double getResultadoDiarioEA(){ double retorno = 0;

TRADE_TRANSACTION_HISTORY_ADD

How can I get magic number when i have TRADE_TRANSACTION_HISTORY_ADD event