Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
PAIN - indicator for MetaTrader 5
- Views:
- 4533
- Rating:
- Published:
- 2018.07.09 13:45
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Oscillator PAIN (Price Action Indicator) displays the OHL3C candlestick price ratio over a specified period of time.
It has two parameters:
- Period - calculation period;
- Method - calculation method.
Calculation:
Pain = (3*MA(Close) - MA(Open) - MA(High) - MA(Low)) / 2
where:
- MA - moving average with the Period time period and the Method calculation method.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21108