hi. Just applied NorgateData Amibroker plugin and tried to backtest my algorithm with its data.
I added to my BUY condition the: AND NorgateIndexConstituentTimeSeries("$DJI"); as instructed.
However, i get 2 errors by Amibroker: error 30 "identifier NorgateIndexConstituentTimeSeries is undefined" and error 1. Could you please explain what went wrong?
Thanks.
HI
you might be missing the AFL Function Reference - #INCLUDE_ONCE (amibroker.com)
Your afl needs reference to the Norgate Functions AFL
Norgate Data - AmiBroker Usage
#include_once "Formulas\Norgate Data\Norgate Data Functions.afl"
2 Likes
Thanks. I understand i have to paste it into my formula. I did and it works. Solved.