Hi,

When I code this type of script like below, It means that enterLong() will exit a open short position. It is not what I want to do.

I want to exit only when exitLong()/exitShort() condition is met.

Could you post a sample code for it?
Thanks in advance.

If ( condition 1 )
enterLong();

If ( condition 2 )
enterShort();

If ( condition 3 )
exitLong();

If ( condition 4 )
exitShort();

Last edited by SFF; 03/08/13 03:40.