Merhaba,
Stratejiye tick data eklemeniz halinde her işlemde OnDataUpdate() metodunu tetiklenir.
5 saniyede bir tetiklemeyi sadece OnTimer() metudu ile yapabilirsiniz.
public override void OnInit()
{
most = MOSTIndicator(Symbol1, SymbolPeriod1, OHLCType.Close, MostPeriod1, MostPercentage1, MostMovMethod1);
ott = OTTIndicator(Symbol1, SymbolPeriod1, OHLCType.Close, OttPeriod1, OttOpt1, OttMovMethod1, OttSupportLine1);
SendOrderSequential(true, Side.Buy);
WorkWithPermanentSignal(true);
SetTimerInterval(5);
}
public override void OnTimer(){
Debug("Ontimer() tetiklendi");
}
Unblocked Games offering a wide range of experiences: action, puzzle, platform, racing, clicker mechanics, strategy, sports, even horror.
https://unblocked1games.github.io