I love it!!
Thanks nittany #1
good job nittatny
Percentage of Change
I am looking for an indicator showing the price change in percentage compared to the day start.
In Stocks, it is commons to show the percentage of change (as it is commonly used in TV, websites, etc)
Now I wish to have an indicator show this value in MT4, but not only show but draw the line to have a history of percentage of change over a day.
Thanks
Price Percentage Oscillator
PPO is another trending/momentum indicator. It is a very close cousin to MACD, if you know how to use MACD you know how to use PPO. The two are so close, in fact, that I was reluctant to even write this. But I was bored tonight so I wrote it.
Included is a screenshot. On the screenshot you can see my other indicator ToR which uses ADX on multiple timeframes to let you know if you are in a ranging or trending market.that's a good indicator, but how change the formula to "fast ema - slow ema/100" and not divided for the slow ema? can you help me with it?
that's a good indicator, but how change the formula to "fast ema - slow ema/100" and not divided for the slow ema? can you help me with it?
Just replace the last iMA() in this part of the code
PPOBuffer=(iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i))/
iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i);[/PHP]
with 100 and you will get something like this :
[PHP] for(int i=0; i<limit; i++)
PPOBuffer=(iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i))/
100.0;Just replace the last iMA() in this part of the code
PPOBuffer=(iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i))/
iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i);[/PHP]
with 100 and you will get something like this :
[PHP] for(int i=0; i<limit; i++)
PPOBuffer=(iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i))/
100.0;Many thanks mladen! I'll try here now!
Price Percentage Oscillator
PPO is another trending/momentum indicator. It is a very close cousin to MACD, if you know how to use MACD you know how to use PPO. The two are so close, in fact, that I was reluctant to even write this. But I was bored tonight so I wrote it.
Included is a screenshot. On the screenshot you can see my other indicator ToR which uses ADX on multiple timeframes to let you know if you are in a ranging or trending market.Thank you very much.
After going through different TF I found that I always have to readjus the general settings for min nd max. Isnt it possible to have it "normalized" to avoid that?
Regards Wolfsch
Thank you very much.
After going through different TF I found that I always have to readjus the general settings for min nd max. Isnt it possible to have it "normalized" to avoid that?
Regards Wolfschwolfsch
It is calculated according to the following formula :
and as it is abovious it highly depends on time frame and symbol. But, since it is a kind of a MACD offspring, there is no normalizing method that would not "deform" the values

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Price Percentage Oscillator
PPO is another trending/momentum indicator. It is a very close cousin to MACD, if you know how to use MACD you know how to use PPO. The two are so close, in fact, that I was reluctant to even write this. But I was bored tonight so I wrote it.
Included is a screenshot. On the screenshot you can see my other indicator ToR which uses ADX on multiple timeframes to let you know if you are in a ranging or trending market.