position opened makes text_new function not work on pricebar

Questions about MultiCharts and user contributed studies.
KhaosTrader
Posts: 186
Joined: 10 May 2012
Has thanked: 14 times
Been thanked: 11 times

position opened makes text_new function not work on pricebar

Postby KhaosTrader » 09 Oct 2012

Hi,

my strategy uses the text_new_s function to write labels on pricebars. However, if a trade is opened on a given bar, that bar will not receive the label text. I verified this by turning off the buy order and then i can see the text label, however once I enable the buy order and that buy order is placed, the code doesn't write the label on that bar.

How can I write a label using text_new_s on a pricebar where that pricebar has a position opened?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: position opened makes text_new function not work on pric

Postby Henry MultiСharts » 09 Oct 2012

Hello KhaosTrader,

Please attach a sample code and screenshots demonstrating this behavior.


Return to “MultiCharts”