Ema of RSI Crossover

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #197171 quote
    oyinloyea
    Participant
    Veteran

    How do I code  21 EMA of 7 period RSI crossing up  21 EMA of a 14 period RSI. Thanks in advance

    #197172 quote
    JC_Bywan
    Moderator
    Master

    Hi,

    rsi7=RSI[7](close)
    rsi14=RSI[14](close)
    firstema=ExponentialAverage[21](rsi7)
    secondema=ExponentialAverage[21](rsi14)
    
    if firstema crosses over secondema then
    ...
    endif
    oyinloyea thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Ema of RSI Crossover


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
oyinloyea @oyinloyea Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_Bywan
3 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 07/12/2022
Status: Active
Attachments: No files
Logo Logo
Loading...