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
- Get the file. Press Get the script. Your browser saves a .lua file.
- 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.
- 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.
Full illustrated guide, with screenshots →
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.
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 period | 14 |
|---|---|
| Reference level | 1% |
Every value is an input in the script settings. Platform advice is off by default.
Key points
- ATR measures how big recent candles are.
- Dividing by price turns it into a percentage you can compare between assets.
- Rising ATR percent means the market is moving more than before.
- 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.