Merhaba,
aşağıdaki yapıyı inceleyebilirsiniz.
OTT ott;
public override void OnInit()
{
AddSymbol(Symbol, SymbolPeriod);
ott = OTTIndicator(Symbol, SymbolPeriod, OHLCType.Close, 2, 1.4m, MovMethod.VAR, true);
WorkWithPermanentSignal(true);
SendOrderSequential(true, Side.All);
}
public override void OnDataUpdate(BarDataCurrentValues bd)
{
var ust=ott.CurrentValue*1.007m;
var alt=ott.CurrentValue*0.993m;
}
Unblocked Games offering a wide range of experiences: action, puzzle, platform, racing, clicker mechanics, strategy, sports, even horror.
https://unblocked1games.github.io