Rio de Janeiro - Brazil
Experience: Advanced
Platform: Sierra Chart
Broker: Stage5/IQFeed
Trading: ES
Posts: 85 since Jun 2009
Thanks Given: 7
Thanks Received: 47
|
Hi.
I'm getting wrong ADXVMA values in my strategies. For debugging, I plotted the current values using Print and saw that it was far from the correct values. I've put this in my strategy:
protected override void OnBarUpdate()
{
Print("ADXVMA: " + ADXVMA(21).ADXVMAPlot[0] + " Close: " + Close[0]);
Print("ADXVMA[1]: " + ADXVMA(21).ADXVMAPlot[1] + " Close[1]: " + Close[1]);
Print("===============");
}
The values printed are wrong when I see the correct values of it plotted in the chart.
|