Page 1 of 1

"Marketposition" issue

Posted: 29 Oct 2013 14:05
by Marm
Hi,

As it is only possible to use "marketposition" with stops, is there a way to use the market position as part of a sentimentor?
For example, indicator A is used to enter a position, and indicator B is used to exit only if there is an existing position.
Thanks,

Re: "Marketposition" issue

Posted: 29 Oct 2013 15:16
by Auri
Hi,

no, unfortunately this is not possible with Nano. MarketPosition() can only be used in Stop Codes. But in case you only need it to close an existing position you can define it in the same code via the MetaSentimentor Close Long / Close Short threshold levels (by default = Sentiment = 40 (Close Long), Sentiment = 60 (Close Short)).

Cheers

Re: "Marketposition" issue

Posted: 29 Oct 2013 18:11
by Marm
Ok thank you for your quick answer.