Move Annotations
Move Annotations is an indicator drawn over the price chart.
core language
indicator "Move Annotations"pane: pricebig_move = abs(close - open) > 2 * atr(14)gap_up = open > high[1]gap_down = open < low[1]if big_move:icon "bolt", at: (bar.index, high), color: yellowtooltip "Range {bar.range:0.00} vs ATR {atr(14):0.00}", at: (bar.index, high)if gap_up:label "Gap up", at: (bar.index, low), color: greenif gap_down:label "Gap down", at: (bar.index, high), color: redimage "logo.svg", at: (bar.index, close), width: 16Sample data. Not a result. The real AlgoBarsX engine ran this exact script on made-up bars, and this replays what it drew and did. It shows no profit or loss, and it says nothing about how the script would do in a real market.
Replay of this script on 150 sample bars: 0 lines drawn.
Move Annotations is an indicator drawn over the price chart.
It calculates big_move as whether the absolute value of the close minus the open is above 2 × the 14-bar ATR, gap_up as whether the open is above the previous bar's high and gap_down as whether the open is below the previous bar's low.
On each bar, it checks whether big_move and, if so, draws an icon and draws a tooltip.
On each bar, it checks whether gap_up and, if so, labels "Gap up".
On each bar, it checks whether gap_down and, if so, labels "Gap down".
On the chart, it draws an image.