[Parameter(SymbolPeriod.Min)]
public SymbolPeriod SymbolPeriod;
[Parameter(SymbolPeriod.Min60)]
public SymbolPeriod SymbolPeriod60DK;
OnInit()
AddSymbol(Symbol, SymbolPeriod);
AddSymbol(Symbol, SymbolPeriod60DK);
public override void OnDataUpdate(BarDataCurrentValues barDataCurrentValues)
{
if(barDataCurrentValues.LastUpdate.IsNewBar && SymbolPeriod.Min60==barDataCurrentValues.LastUpdate.SymbolPeriod){
Debug("60dk bar açıldı");
}
}