When trying to create a Time condition, how do you make this non-timeframe dependent as in it will pull the correct bars end time (bar time) regardless of timeframe?
For example:
if (ToTime(Time[0]) == 093000 + (BarsPeriod.Value * 100))
{
MyPrice = Open[0];
}

Comment