I added a line of code on line 99 and now I am getting the Error on calling 'OnBarUpdate' method on 276 error message when I try to enable the script. I added the Print(Made it to Line) code. In the Ninjascript Output Made it to line 88 prints but not Made it to line 99 so I know the issue is in Set 1.
Before adding the code on line 99, the script worked fine. What I am trying to do is tell the script to trade only if the current bid is higher than the high of yesterday. I thought I would just say something like Current Bid > than High on the daily candle from 1 day ago.
Please see the attached photo showing what I am talking about.
Thank you,
Nick
Comment