Australian (ASX) Stock Market Forum

Reply to thread

I just had [USER=1]@Joe Blow[/USER] move some post into this new thread so thanks mate.


Another tip for you today.....


Norgate Data - Determining the Sector/Industry Index symbol for the current security


I had been using some code to look up the relevant index and thought that there must be a better way to do this.


I read the Norgate usage page ( https://norgatedata.com/amibroker-usage.php#hics ) and couldn't figure it out, so I emailed Norgate and [USER=725]@Richard Dale[/USER] was kind enough to provide a solution that works for me.


NorgateIndex = NorgateIndustryIndex("$XJO", 1 ,"PR");

AddTextColumn( NorgateIndex, "Norgate Index");


This returns the following when put into exploration


[ATTACH=full]104214[/ATTACH]


so then you can use the relevant index code for the sector healthy indication. This can be done in a number of ways as it is up to you and your imagination.


Give it a go and hopefully you get some good results..


Trav.


Top