OPEN-SOURCE SCRIPT

XAGUSD Long/Short Signal ~ By: Sarp Gokdag

About the Oscillator :

  • The Rex Oscillator is a study that measures market behavior based on the relationship of the close to the open, high and low values of the same bar. The theory behind the Rex Oscillator is that a big difference between the high and close on a bar indicates weakness. Conversely, wide disparity between the low and close indicates strength. The difference between open and close also indicates market performance.

  • The True Value of a Bar (TVB) gives us an indication of how healthy the market is. It is possible to have a negative close and a positive TVB, and vice versa. This indicates that the market is building strength on the opposing side of the trend. The Rex Oscillator is a moving average of the TVB, indicating the inertia of the market. When the Rex Oscillator turns positive in a bearish trend, a reversal is indicated. Likewise, Rex turning negative in a bull market indicates a reversal to the downside.

  • When the Rex Oscillator turns positive in a bearish trend, a reversal is indicated. Likewise, Rex turning negative in a bull market indicates a reversal to the downside.

  • The REX Strategy goes long when the REX line of the REX Oscillator crosses above the Signal line and Short when the REX line crosses below the Signal line. The strategy is a reversal strategy through the use of the 'Cover and go Long' and 'Close and go Short' Actions. The REX Oscillator properties of Period' and Signal' can be changed for testing purposes using the available Rex1 'Factor.'

  • The blue line indicates the difference between the Rex MA and the Signal.
  • If the blue line crosses above "0", go Long.
  • If the blue line crosses below "0", go Short.

  • To achieve best results from this strategy, set your chart range minimum 4hrs, max 1 Day.

The above references an opinion and is for information purposes only. It is not intended to be investment advice. Seek a duly licensed professional for investment advice.
GoldMoving AveragesOscillatorsSilverVolatilityxagtryXAG USD ( Silver / US Dollar)XAUUSDXU030XU100

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明