Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 16:33:09 +0000



Post From: Feature Request: Link Time Zone to Chart Linking / Session Times.

[2019-11-03 20:16:05]
T44 - Posts: 363
If you are frequently changing symbols in a chart and want to update other settings, then an ASCIL study can work well - have it change the settings based on the value of sc.Symbol

e.g.

int IsES;
IsES = sc.Symbol.CompareNoCase("ES",2);
if (IsES == 0) {
  sc.StartTime1 = HMS_TIME(8,30,00);
  sc.EndTime1 = HMS_TIME(14,59,59);
  sc.StartTime2 = HMS_TIME(15,0,0);
  sc.EndTime2 = HMS_TIME(8,29,29);
}