EMA with a RSI limit

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #139942 quote
    Paulchal
    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
    robertogozzi
    Moderator
    Master

    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
    Paulchal
    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.

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 Paulchal
5 years, 7 months ago.

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