Simple screener that will return all bullish and bearish crosses that occur with 2 zero lag moving average on the last period.
Coded by request on English forum.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
//ZeroLag Fast MA: PeriodF = 9 DataF = Close lagF = ROUND((PeriodF-1)/2) dF = (DataF+(DataF-DataF[lagF])) F = exponentialaverage[periodF](dF) //ZeroLag Slow MA: PeriodS = 18 DataS = Close lagS = ROUND((PeriodS-1)/2) dS = (DataS+(DataS-DataS[lagS])) S = exponentialaverage[periodS](dS) c = F crosses over S or F crosses under S SCREENER [c] |
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