Another channel indicator made of standard deviation of a 2 centered linear regression of the 300 last periods of high and low price values (by default).
1 2 3 4 5 6 7 8 9 |
//Parameters : // Len = 300 z1 = linearregression[Len](high) z2 = linearregression[Len](low) z2s = -std[len](low)+z2 z1s = std[len](high)+z1 RETURN z1 coloured(255,250,240), z2 coloured(255,250,240), z1s as "high LR dev", z2s as "low LR dev" |
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