Script uses an EMA (Exponential Moving Average) as an indicator. When the price crosses (breakout/breakdown) the EMA, the trigger is activated. Script does the breakout and breakdown calculations. It considers one candle close above or below the EMA.
It is used only in trending markets like bullish trends and/or bearish trends and never in flat. It can get very...