I used the code from this tutorial http://www.markplex.com/tutorial23.php
It plots without problems in TS, but there is no plot in MC. Printing out some values it seems that the block after once is executed 2 times, the second time on the seventh bar overriting the values that should be set on the first bar.