Why does convert or open to Code based from Rules based strategy generate duplicate DataSeries?
Author: KEVINP
Creation Date: 10/18/2015 7:26 PM
profile picture

KEVINP

#1
Why does convert or open to Code based from Rules based strategy generate duplicate DataSeries?

In the code below which is the code generated going from Rules based to Code based, the conversion generated a duplicate CCI DataSeries. The CCI DataSeries is used twice in the trading loop. The second time it is used, a duplicate CCI is used, not the first one.

Is there some internal reason for this? Do I need to adhere to this, or should I ignore it and eliminate the duplicate and use the first DataSeries for both occasions? Why is this?


CODE:
Please log in to see this code.



Thanks for any help in understanding.
profile picture

Eugene

#2
Answer: this is by design. You should ignore this.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).