EMA with a RSI limit

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #139942 quote
    PaulchalPaulchal
    Participant
    Average

    Hi

    New to coding and having difficulties coding the strategy.

    Strategy: EMA 10 crosses over EMA 20 buy. Sell when RSI >70.

    Could anyone show me how to get the sell element of the code right please

    #139945 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Choose the correct forum, ProOrder is devoted to strategies (not ProBuilder). I moved it.

    There you go (not tested):

    IF LongOnMarket AND Rsi[14](close) > 70 THEN
       SELL AT MARKET
    ENDIF
    #140089 quote
    PaulchalPaulchal
    Participant
    Average

    Thanks for the above

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

EMA with a RSI limit


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Paulchal @paulchal Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by PaulchalPaulchal
6 years, 2 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 07/23/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...