How would I use 2 EMA's in the one strategy, like a 10 and a 30 line?
I've tried calling CreateIndicator() once for each EMA line, though that give an "Found indicator with same params" error.
I couldn't see any params for GetIndicatorValue() to get different period values and I'm at a loss on this one so far.
Using the same indicator multiple times in the one strategy
-
- Posts: 10
- Joined: Sat May 30, 2015 8:07 pm
-
- Posts: 10
- Joined: Sat May 30, 2015 8:07 pm
Re: Using the same indicator multiple times in the one strat
So next time I have an issue I might wait a day before I try these forums as I keep answering my own questions. There was no issue using multiples, it was just a coding error that wasn't picked up by the compiler.
Who is online
Users browsing this forum: No registered users and 14 guests