dax daily rsi 3

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #205270 quote
    crusoe76crusoe76
    Participant
    Junior

    Simple and efficient strategy on dax daily with RSI 3 periods.

     

    // Definition of code parameters
    DEFPARAM CumulateOrders = False // Cumulating positions deactivated
    
    // Conditions to enter long positions
    indicator1 = RSI[3](close)
    c1 = (indicator1 CROSSES OVER 50)
    
    IF c1 THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF
    
    // Conditions to enter short positions
    indicator2 = RSI[3](close)
    c2 = (indicator2 CROSSES UNDER 50)
    
    IF c2 THEN
    SELLSHORT 1 CONTRACT AT MARKET
    ENDIF
    
    // Stops and targets
    SET STOP pTRAILING 60
    SET TARGET pPROFIT 500
    robertogozzi thanked this post
    germany-cash-e-daily-1670233631l8cp4.png germany-cash-e-daily-1670233631l8cp4.png germany-cash-e-daily-1670233631l8cp4-700x373-1.png germany-cash-e-daily-1670233631l8cp4-700x373-1.png
    #205468 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Thank you for sharing your code.

    #205471 quote
    GraHalGraHal
    Participant
    Master

    Don’t put any real money on the stratgey until you have tried / seen the results with the tick by tick box enabled … see attached screenshot at red arrowhead.

    Backtest over 1k bars (not 10k bars) and then PRT will not auto-disable theTick Mode.

    Tick-Mode.jpg Tick-Mode.jpg
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

dax daily rsi 3


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
crusoe76 @crusoe76 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by GraHalGraHal
3 years, 9 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 12/09/2022
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...