Page 1 of 1

Marketposition Variable  [SOLVED]

Posted: Oct 29 2006
by epepping
The market position variable does not work. It should give 1,0 or -1 depending on the position in the market (long,cash,short). Printing it reveals a weird value of 59373060.00

Posted: Oct 30 2006
by Alex Kramer
Thanks for you attention, this is a known issue to be fixed.

Posted: Oct 31 2006
by Alex Kramer
In the meantime you can use MarketPosition < 0, MarketPosition >0 instead of =-1, =1. This should work.

Marketpostion variable

Posted: Nov 01 2006
by epepping
Sorry, that will not work. The value at the start is not 0 for flat but a positive value, so i can not test for not being in the market. Or is there another way to do that.