ProfitProgrammers

Relative Price Oscillator

Here is a new experimental indicator we've been working on. The idea was to compare two EMA's of period midpoints to the actual closing price. The steps that were taken are listed below:

1.Calculate an EMA based on each period's midpoint ((High * Low) /2) for the last 9 periods.

2.Calculate an EMA based on each period's midpoint for the last 100 periods.

3. Divide the difference of the two EMA's by the closing price. ((EMA1 - EMA2) / Close).

4. Smooth the value from step #3 with an 18 period EMA. Multiply by 1000 for better scaling/visibility.


Using:

Bullish when line is green, bearish when line is red. Buy on first green, then sell on first red.

There is also an option to color the candles based on the RPO line.

-Profit Programmers
www.profitprogrammer.com
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?