TradingView
alirezayousefi1011
Dec 27, 2023 11:05 PM

2band 

Gold vs US DollarSKILLING

Description

Hello traders
In this script, I have defined two bands with a deviation of 2 and 3
I designed the setup so that the upper lines represent red resistance, the lower lines represent green support, and the blue line represents the average price of the previous 20 candles in each time frame.
This code can be used mostly in time frames above 30 minutes and somehow predict possible price targets.
For example, if the price closes above the blue line in the one-hour time frame, the two fixed lines above are considered as targets and vice versa.
I have also added the pivot point calculation formula in orange
Most importantly, I added the closing price of the previous days in black
I hope it will be used by dear traders and you will support more for new works.
Comments
afarhadi587
This sounds great
Contra-Fades
great script. much appreciated. would amazing if there was an option for keltner bands as well.
More