I have written this kind of indicator for the first time in july 2015, first as an oscillator, later as an indicator on the graph. Its the basic of my avatar.
It uses a triangular moving average of periods 2 applied on the average of the last “n” median price. If the slope is ascending, it plots blue arrows and yellow arrows when the slope of the TMA is descending.
n = 20
if cog > cog then
elsif cog < cog then
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 :