Moin, kann man das hier kürzer schreiben? if myEMA > myWMA+20 then resultMA = 2 else if myEMA > myWMA+5 AND myEMA < myWMA+20 then resultMA = 1 else if myEMA < myWMA-20 then resultMA = -2 else if myEMA < myWMA-5 AND myEMA > myWMA-20 then resultMA = -1 else resultMA=0 ENDIF ENDIF ENDIF ENDIF