I'm having trouble debugging from my Visual Studio 2008.
I did exactly as instructed on the guide.
a) On NT Editor - enable "Debug Mode"
b) On VS 2008 - "Attach To Process" - field set to "Managed Code"
c) Set my breakpoint to line where - Print(High[0]);
d) I then ran the strategy on a EUR/USD chart
Nothing shows up on the locals window on VS. I even reload Ninjascript and reload all historical data on the chart. Nothing shows up on locals.
The following is my strategy
{
AddPointAndFigure("$EURUSD", PeriodType.Tick, 1, 5, 3, PointAndFigurePriceType.HighsAndLows, MarketDataType.Last);
}
protectedoverridevoid OnBarUpdate()
{
if (BarsInProgress == 1)
{
Print(High[0]);
Print(Low[0]);
Print("The Day is: " + ToDay(Time[0]));
Print("The Time is: " + ToTime(Time[0]));
Print("");
}
}
Comment