A Kind of non-repainting COG

A Kind of non-repainting COG

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.

Share this

Risk disclosure:

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 : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

Register or


avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas The last value is $output[i], so return $output[i] Be aware that the indicator is repainting...
RicLg Merci Nicolas pour le retour. En effet on récupère "the Last value" du dernier Point de t...
Nicolas c'est exactement ce que je fais entre les lignes 58 et 64 pour pouvoir tracer la ligne complète
kbrooks323 Hello would someone be willing to release a scan code for this? that would be helpful as I s...
Nicolas You can do easily this screener by using the assisted creation tool. It would take you about...
kbrooks323 I just figured it out thanks!
majid52026 Hi I want MBXF Timing for mq5 Does anyone have this indicator???
dertopen Hi Nicolas good work for the code translation when i chek the mbfx system site i see in t...
Nicolas Yes, just change the color by yourself in the indicator settings window.
bluetime6 Hello Doctrading.   Can you ask you for something? Can you code a screener screen po...