Hi,
simple code for this powerful trend indicator, the RSIOMA.
It basically takes two moving averages, calculates their RSI, and then also add a moving average of the calculated RSI.
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 |
//////////////////////////////////////////////// ///////////////////RSIOMA///////////////////// ///////////////////////////////////////////////// n=14 (periodo dell'RSI e della EMA) m=21 (periodo della media) //BuyTrigger =80 //SellTrigger =20 //MajorTrend =50 ma=exponentialaverage[n](close) rsioma=rsi[n](ma) marsioma=exponentialaverage[m](rsioma) return rsioma as "RSI", marsioma as "MA" ///////////////// FINE /////////////////////////////////////////////// |
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