Marketposition Variable  [SOLVED]

Questions about MultiCharts and user contributed studies.
epepping

Oct 29 2006

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

User avatar
Alex Kramer
Posts: 834
Joined: Feb 23 2006

Oct 30 2006

Thanks for you attention, this is a known issue to be fixed.

User avatar
Alex Kramer
Posts: 834
Joined: Feb 23 2006

Oct 31 2006

In the meantime you can use MarketPosition < 0, MarketPosition >0 instead of =-1, =1. This should work.

epepping

Nov 01 2006

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.