I need to store some parameters for pending trades. I am using for this the TradeVar's. But unfortunately the TradeVar are not keeping the values. With open trades it's working but not with pending trades.

I tried to assign the pending trade to the ThisTrade variable. But when I do so my script is crashing.

ThisTrade = enterLong(1, -2*PIP);

What can I do?

Last edited by SnoopySniff; 02/21/19 14:34.