PS: this one actually works, not like the one that is posted at the official metatrader 5 site
PPS: mgh file sould be copied into include folder
TF Adaptive Moving Average
When opening a one day chart, the MA line is recalculated based on the number of trading days (displayed candlesticks) for a month with the five or six bar daily candlesticks. All periods smaller than one day up to 1 hour are recalculated relative to weeks, and periods of less than an hour - relative to daily bars displayed on the chart. Sample SMA calculation for a 5-minute chart. A daily trading period on the charts for currency pairs consists of 1,440 minutes. Therefore, 1440 minutes / 5 minutes = 288 MA period. A CFD session lasts 6 hours. ( 6 * 60 = 360 / 5 = 72 – MA period. If the session lasts 8 hours, the calculation would be 8 * 60 = 480 / 5 = 96 MA period.
With the indicator the trader doesn't need to select MA periods for different time frames.
Interpretation of the indicator is as follows. If the current price of the selected time frame is above the average price of the instrument, you should buy. If the current price for the selected time frame is below the average price of the instrument, you should sell.
I put your PPO in folder C/PROGRAMM/MT5/MQL5/INDICATORS/EXAMPLES...but when I open mt5 PPO does not appears......
Try compiling it
It must appear since it is a very simple indicator )coding wise) and there is no reason whatsoever that would prevent it from showing. Also, better to put it in "indicators" folder than to "indicators/examples"
This indi looks really interesting and very promising. Is there any possibility of making it for MT4?
Thanks so much for your help.
That indicator was coded by Gennadiy Stanilevych. I did not find metatrader 4 version
Thanks alot for the info.
No...nothing to do...you coded for me CARBON and PPO...but both dont appear on INDICATORS...see my image.
Thought that something is wrong with indicator when you copy it to examples folder, but, when I copied it there and compiled it, it was all OK. See how it looks on my metatrader 5 terminal. So, sorry, but I really do not know what is happening with your terminal and why is it not showing the indicator when it should (maybe some bug : my metatrader 5 build is currently 821)
ok...thank you for your reply,my mt5 is 821 too.....I don't know where is the problem....my be I try to reinstall it.....