call(3+16, saveTrades, 0, 1.0);

Posted By: MatPed

call(3+16, saveTrades, 0, 1.0); - 04/07/20 10:59

Hi,
I am trying to call the saveTrades function at the close of each trade, but in Test (not Trade) mode and Hedge=5 it does not work. I.e. the function is never called. Call Mode 1, or 2 works. Is this behavior correct?

Thank You
Posted By: jcl

Re: call(3+16, saveTrades, 0, 1.0); - 04/07/20 12:25

No, the manual was wrong. It's not at any close of a trade, it's at any execution of a TMF. This will be corrected.
Posted By: MatPed

Re: call(3+16, saveTrades, 0, 1.0); - 04/07/20 12:50

Ok. It will be a nice add to schedule a function at every trade close.
Posted By: jcl

Re: call(3+16, saveTrades, 0, 1.0); - 04/07/20 13:05

Will be done. It was in fact already planned, therefore the wrong manual description.
Posted By: MatPed

Re: call(3+16, saveTrades, 0, 1.0); - 04/07/20 13:08

Great, Thank You
© 2024 lite-C Forums