Get errors when applying NorgateData to Amibroker

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?


you might be missing the AFL Function Reference - #INCLUDE_ONCE (

Your afl needs reference to the Norgate Functions AFL

Norgate Data - AmiBroker Usage

#include_once "Formulas\Norgate Data\Norgate Data"

Thanks. I understand i have to paste it into my formula. I did and it works. Solved.