Entry strategy · EMA

Gap Growing Without a Break (EMA 9 below)

Helper filterSHORT

Three conditions: in the first of the last 2 candles (you decide) the gap was above the threshold (%0.1 (you decide)); the gap has never shrunk since that candle (staying equal doesn't break it); and in this candle EMA 9 is below EMA 21. If all three hold, it opens SHORT. You set both the threshold and the window yourself.

What is the EMA gap?

The distance between the fast EMA (9) and the slow EMA (21), divided by price, as a percentage: the gap. The gap is an ABSOLUTE value — it doesn't say direction, only how wide it is. If it's opening, the move is accelerating; if it's closing, the move is fading. Direction comes from the order of the two lines.

How do you use it?

This is a STATE condition: it holds on every candle as long as the chain continues, and the entry is on the first candle the chain holds — it comes after the crossover, catching settled momentum rather than the start of the turn. Sideways, the gap flickers and breaks the chain often; that's why it's a trending-market condition.

Which settings does it read?

Two boxes are read: Condition Window (currently 2) how many candles the chain must last — set it to 1 and the chain is a single candle, the condition drops to "gap above threshold and EMA 9 below"; Width Threshold currently goes to the bot as %0.1. In the panel the threshold toggle comes OFF by default and the bot receives 0 — since the gap is absolute, 0 effectively filters nothing out.

Does this condition close the position?

It only approves the entry; even if the condition breaks after the position opens, it doesn't close it. What closes it is your choice: if Profit Lock is on, PNL tracking takes over (while it's on, the Trailing Stop, Take Profit Net, Limit Take Profit Net boxes are locked); if it's off, the numbers you entered in these three are placed as orders on Binance and the position closes from there. DCA Rescuer and Liquidation Shield kick in under their own conditions; and you can always close from the panel with CLOSE or manually from Binance.

Entry strategy See the modules

UMRAYS bot's Gap Growing Without a Break (EMA 9 below) explanation chart: the bot's status strip at the top, EMA lines and their labels on the chart.
From the bot's own explanation screen, on the decision candle: the strip at the top is the bot's sentence for that candle; the labels at the top left are the line names.

Each row was tested separately on this chart's own engine.

CONDITION WINDOW (CANDLES)

ValueWhat happensEntry moment
1the chain will run for 1 candle without a break — raising it TIGHTENS1
2the chain will run for 2 candles without a break — raising it TIGHTENS1
3the chain will run for 3 candles without a break — raising it TIGHTENS1
5the chain will run for 5 candles without a break — raising it TIGHTENS1

WIDTH THRESHOLD (%)

ValueWhat happensEntry moment
0.00NO REQUIREMENT — gap is not read, everything passes1
0.10gap will exceed %0.10 · default1
0.50gap will exceed %0.501