Omx30 rsi strategy

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #176450 quote
    murre87murre87
    Participant
    Senior

    Hi.

    Traded successfully with this strategy manuellt. Would it be possible to code it?

    Simple for someone with skills 😊

     

    Sweden 30 Cash (100SK) 1min chart.

    Go short if RSI closing above 70,83 and crossing down under 70, closing. Hold 4 points. SL 6 points above entry price.
    Go long if RSI close below 28,5 and closing above 30. Hold 4 points. SL 6 points below entre price. Never hold over night.

    #176455 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go (not tested):

    MyRSI = rsi[14](close)
    S1 = MyRSI > 70.83
    L1 = MyRSI < 28.5
    ES = MyRSI crosses under 70
    EL = MyRSI > 30
    // LONG entry
    If L1 And not LongOnMarket then
       Buy 1 contract at Market
    Endif
    // SHORT entry
    If S1 And not ShortOnMarket then
       Sellshort 1 contract at Market
    Endif
    // LONG exit
    If EL and LongOnMarket then
       Sell at Market
    Endif
    // SHORT exit
    If ES and ShortOnMarket then
       Exitshort at Market
    Endif
    // SL & TP
    Set Stop pLoss 6
    Set Target pProfit 4

    SL and TP seem too tight. Check with your broker if they are within required limits for the traded instrument.

    Nicolas and Midlanddave thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

Omx30 rsi strategy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
murre87 @murre87 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
5 years, 1 month ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/29/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...