Reply To: RRG Line Crossovers

Optuma Forums Optuma Scripting RRG Line Crossovers Reply To: RRG Line Crossovers

  • Topics: 6
  • Replies: 9
  • Posts: 15

Hi Darren,

Thank you for the information!  I’m still getting a bit stuck however.  My intention is to obtain a signal on the adx:dm+ at the moving average crossovers below:

50ema = 50ema of the adx:dm+ (thick dashes)
20of 50 = 20ema of the 50ema of the adx:dm+ (thin dashes)

I’m able to obtain the correct information in the watchlist but not able to get the signals thru showbar.  here is what i have:

//  signal when the 50ema of ADX:DM+ crosses above the 20ema of 50ema of ADX:DM+

V1 = ADX().DMPlus;
EMA50 = MA(V1, BARS=50, STYLE=Exponential, CALC=Close);
20of50 = MA(EMA50, BARS=20, STYLE=Exponential, CALC=Close);

EMA50 crossesabove 20of50

  • This reply was modified 1 week, 6 days ago by AvatarJoshua Jones.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.