Merhaba,
IQ'da indikatör parametreleri strateji çalıştırılma (OnInit() metodu) anında bir sefer tanımlanır ve sonrasında değiştirilemez.
[Parameter(2)]
public int AtrPeriod;
public override void OnInit()
{
if(AtrPeriod>5){
mov2 = MOVIndicator(Symbol1, SymbolPeriod.Min5, OHLCType.Close, 12, MovMethod.S);
}else{
mov2 = MOVIndicator(Symbol1, SymbolPeriod.Min5, OHLCType.Close, 5, MovMethod.S);
}
WorkWithPermanentSignal(true);
SendOrderSequential(true);
}
Unblocked Games offering a wide range of experiences: action, puzzle, platform, racing, clicker mechanics, strategy, sports, even horror.
https://unblocked1games.github.io