Merhaba,
Aşağıdaki gibi bir yapı kurabilirsiniz.
bool bayrak=false;
public override void OnDataUpdate(BarDataEventArgs barData)
{
var CurrentClose=barData.BarData.Close;
if (CrossBelow(rsi, 50, 0)){
bayrak=true;
// alış emri gönderildi.
}
if(bayrak && CurrentClose>=mavilimw.CurrentValue*1.01m){
bayrak=false;
// satış emri gönderildi.
}
}
Unblocked Games offering a wide range of experiences: action, puzzle, platform, racing, clicker mechanics, strategy, sports, even horror.
https://unblocked1games.github.io