This is the typical Bollinger Bands indicator made of linear regression for earch lines : center, high and low deviation of the average price.
1 2 3 4 5 6 7 8 9 |
//standard parameters of Bollinger Bands : //PERIOD = 20 //dev = 2 i1 = LinearRegression[PERIOD](Close) up = i1+dev*STD[PERIOD](i1) down = i1-dev*STD[PERIOD](i1) RETURN i1,up,down |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials