I found this indicator on TradingView, and I thought could be interesting.
I added arrows at the crossovers of the two signal lines.
It is a kind of Hi/Lo activator of a channel formed by 2 MA applied to High and Low price series.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
//coded by AlexF// ////////////////// period = 20 type = 0 smaHigh=Average[period,type](high) smaLow=Average[period,type](low) if close>smaHigh then Hlv=1 elsif close<smaLow then Hlv=-1 else Hlv=Hlv[1] endif if Hlv<0 then sslDown=smaHigh else sslDown=smaLow endif if Hlv<0 then sslUp=smaLow else sslUp=smaHigh endif if sslUp crosses over sslDown then drawarrowup(barindex,low-5*pipsize)coloured(0,255,0) elsif sslDown crosses over sslUp then drawarrowdown(barindex,high+5*pipsize)coloured(255,0,0) endif return sslUp as "UP", sslDown as "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
Hi AlexF,
I tested a simple trading system built from this indicator with a normal %SL and %TP, and SMA10 on 200.000 candles. (M15 and M30)
Do you want to see the results?
Sure, you can open a topic about it.
I would personally use some other filter to validate its signals
Yes this was the idea to add some other filter on the basic system.
What other filters are you thinking of? I would add them in a multi time frame as well.
Open a topic and we’ll discuss it
https://www.prorealcode.com/topic/ssl-channel/
oyes aste uno de soportes y recistencias
eso lo necesitamos