//@Name:Currency (Prices) //@Description:A script that returns 1 if a share/instrument is traded in the selected currency //@Returns:Number //@Width:80 //@Env:Production // Care has been taken in preparing this code but it is provided without guarantee. // You are welcome to modify and extend it. Please add your name as a modifier if you distribute it. //Coded by: Phil Tolhurst, ShareScript Support var currChoice = 0; var currList =[]; function init(status) { var currency; var allList = getList(List.All) var check = 0; for (var i=0;i