Isn't it true that MarketPosition returns only 1, indicating long, -1, indicating short, or 0, indicting flat?
wiki:
https://www.multicharts.com/trading-sof ... etPosition
What does it mean by MarketPosition returning 2 as in the following example then?
https://www.multicharts.com/trading-sof ... arketOrder
MarketPosition=2? [SOLVED]
Re: MarketPosition=2?
Yes.Isn't it true that MarketPosition returns only 1, indicating long, -1, indicating short, or 0, indicting flat?
That is a typo. However, there are two related keywords:What does it mean by MarketPosition returning 2 as in the following example then?
https://www.multicharts.com/trading-sof ... arketOrder
MarketPosition_at_Broker
MarketPosition_at_Broker_for_the_Strategy.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: MarketPosition=2? [SOLVED]
I have fixed the error in the example in both Wiki and prebuilt PLEditor help file.