Hello,
The following codes use for explorer, but it show tick1 variable not be assigned. I guess If clause statement have no run , any suggestions give to me?
THX in advance
Filter = Status( "lastbarinrange" ) ; //display only last bar from the Analysis range
tick1 = "";
if (GetDatabaseName()=="Norgate"){
if (StaticVarGetText("ticker1")!=""){
tick1 = StaticVarGetText("ticker1");
}else{
tick1 = getbaseindex();
}
}
// iterate through symbols
AddTextColumn( tick1, "Correlation_Sym",1.2,colorDefault);