Normalized ATR Percent

← All 70 scripts

iqow-normalized-atr-percent.lua 1 KB · Free, MIT license

For the IQ Option web traderoom. Quadcode does not draw HIGHER and LOWER markers on mobile.

Add it to IQ Option in 3 steps

  1. Get the file. Press Get the script. Your browser saves a .lua file.
  2. Import it in IQ Option. Open the web traderoom on the Practice balance. Click the wave icon at the bottom left of the chart, open the Scripts tab, press Import script and pick the file.
  3. Add it to the chart. The code opens in an editor. Click the plus button under it (Add to chart). Save is only needed after you edit the code.

Risk. Trading can lose money. A marker is a chart observation, not a prediction, and this script is checked on test data, not proven in live trading. Try it on the Practice balance first.

  • Volatility
  • Context indicator
  • Own panel
  • Beginner

Expresses Average True Range as a percentage of the current close. Normalizing the value makes volatility readings easier to compare across instruments with different price levels.

  • File iqow-normalized-atr-percent.lua
  • Version 1.0.0
  • Size 47 lines · 1 KB
  • Timeframes Any timeframe
  • License MIT
Normalized ATR Percent drawn on synthetic candles
How the script draws, shown on synthetic candles generated for testing. It is an illustration of the markers and lines, not real market data or a result.

How to read it

A higher line means recent candles have been larger relative to price; the reference line gives a fixed scale to compare against.

Indicators used

  • ATR (14) as % of close

Same view with built-in indicators: Average True Range (14) shows the raw value in price units.

Default settings

ATR period14
Reference level1%

Every value is an input in the script settings. Platform advice is off by default.

Key points

  1. ATR measures how big recent candles are.
  2. Dividing by price turns it into a percentage you can compare between assets.
  3. Rising ATR percent means the market is moving more than before.
  4. It tells you about size, never about direction.

Limitations. ATR describes recent movement size, not future direction. Test on the Practice balance before risking real funds.

Complete source code

The download and this preview resolve to the same reviewed file. SHA-256: 46f5ff35492beb15bc7a3d31f80e4200b65d0160f39909fb28d18bb4ecb9bd51

-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Starter Library
-- IQOW Normalized ATR Percent v1.0.0
--
-- Expresses Average True Range as a percentage of the current close so that
-- volatility can be compared across instruments with different price levels.
-- This indicator does not place trades, predict outcomes, or provide signals.

instrument {
    name = "IQOW Normalized ATR Percent",
    short_name = "IQOW NATR %",
    icon = "indicators:ATR",
    overlay = false
}

period = input (14, "ATR period", input.integer, 1, 500)

input_group {
    "NATR line",
    line_color = input { default = "#56CEFF", type = input.color },
    line_width = input { default = 2, type = input.line_width }
}

input_group {
    "Reference line",
    reference_value = input (1.0, "Reference percent", input.double, 0.1, 100, 0.1, false),
    reference_color = input { default = rgba(255, 138, 52, 0.65), type = input.color },
    reference_width = input { default = 1, type = input.line_width }
}

atr_value = rma (tr, period)
normalized_atr = atr_value / close * 100

plot (normalized_atr, "Normalized ATR %", line_color, line_width)

hline {
    value = reference_value,
    color = reference_color,
    width = reference_width,
    style = style.dash_line
}

hline {
    value = 0,
    color = rgba(255, 255, 255, 0),
    show_label = false
}

More volatility scripts

  • Volatility
  • On price
  • Intermediate

Bollinger Keltner Squeeze

Marks the first candle after a Bollinger-inside-Keltner squeeze of at least 6 candles ends, with Momentum showing which side price is leaning. The squeeze shows quiet volatility; Momentum adds a direction.

Indicators: Bollinger Bands (20, 2) · Keltner Channel (20, 1.5 ATR) · Momentum (12)

Download all 70 scripts as one ZIP · MIT License, provided “as is”, without warranty. IQOptionWiki is independent of the IQ Option platform operator. Nothing here is investment advice or a guarantee of results.

GENERAL RISK WARNING

The financial products offered by the company carry a high level of risk and can result in the loss of all your funds. You should never invest money that you cannot afford to lose.
Kindly note that this article does not provide any investment advice. The information presented regarding past events or potential future developments is solely an opinion and cannot be guaranteed as factual, including the provided examples. We caution readers accordingly.