ProBackTest based on RSI

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9643 quote
    HenryHenry
    Participant
    Average

    A request that was addressed to ProRealTime:

    Hello,

    I am trying to build a Trading System that relies solely on the RSI.

    in an ideal scenario, I would have a system that Buys when the RSI hits exactly a specific number (say for example 33.571) and Sells when the RSI hits another exact specific number (say for example 77.275).

    So far I have unsuccessfully tried to use all Boolean Operators that I know (< AND >; CROSSES OVER; CROSSES UNDER) but the system would not do what I require.

    Bottom line, I am looking to create a code that Buys or Sells when it hits a specific level.

    Thank you

    Suggestion for an anwser:

    sellnumber=77.275
    buynumber=33.571
    
    MyRSI=RSI[14](close)
    
    if not longonmarket and MyRSI crosses under buynumber then
    buy at market
    endif
    
    if longonmarket and MyRSI crosses over sellnumber then
    sell at market
    endif

     

Viewing 1 post (of 1 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

ProBackTest based on RSI


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Henry @henry Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/21/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...