OPEN-SOURCE SCRIPT

Rex Oscillator [CC]

Updated
The Rex Oscillator measures market behavior based on the relationship of the close to the open, high and low values of the same bar. A big difference between the high and close on a bar indicates weakness, and wide disparity between the low and close indicates strength. The difference between open and close also indicates market performance. Buy when the indicator is green and sell when it turns red.

Let me know if you would like me to publish other scripts or if you want something custom done!
Release Notes
allowed user to change signal length
Release Notes
changed bar color to match indicator
Release Notes
updated to make it a histogram chart
Release Notes
fixed issue with default resolution
Centered OscillatorshistogramMoving AveragesoscOscillatorsREXtrendtrendtrading

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


I created the largest stock indicator library:
github.com/ooples/

Custom Indicator Requests:
forms.gle/ouMffZR3dQ8bSJQG7

Tips are appreciated:
paypal.me/cheatcountry
patreon.com/cheatcountry
Also on:

Disclaimer