0% found this document useful (0 votes)
281 views1 page

Big Price Action Iq Script

The document describes setting up a technical indicator called BIG PRICE ACTION that uses a Darvas box length input to plot support and resistance lines. It takes the box period length as input and plots the highest high and lowest low values over that period to identify potential support and resistance levels.

Uploaded by

Sankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
281 views1 page

Big Price Action Iq Script

The document describes setting up a technical indicator called BIG PRICE ACTION that uses a Darvas box length input to plot support and resistance lines. It takes the box period length as input and plots the highest high and lowest low values over that period to identify potential support and resistance levels.

Uploaded by

Sankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

instrument {

name = 'BIG PRICE ACTION',


icon = 'indicators:RSI',
overlay = True
}
boxp=input (21, "front.newind.darvasbox.length", input.integer, 5)
input_group {
"Support and resistance",
top_color = input { default = "red", type = input.color },
bottom_color = input { default = "green", type = input.color },
}
RST = boxp
RSTT = value_when(high >= highest(high, RST), high, 0)
RSTB = value_when(low <= lowest(low, RST), low, 0)
plot (
RSTT,
"Resistance",
iff(RSTT ~= RSTT[1], na ,top_color),
4,
0,
style.levels,na_mode.restart
)
plot (
RSTB,
"support",
iff(RSTB ~= RSTB[1], na ,bottom_color),
4,
0,
style.levels,na_mode.restart
)

You might also like