How to make entries on bias criteria created with indicators?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #123879 quote
    EntropydynamicsEntropydynamics
    Participant
    New

    Hi

    I’d like some help in coding a strategy, using indicators that are already available on Pro-Real time.

    It consists of 1 Indicator to form Bias: if Yes then Long Only, if No then Short only.

    Entry Criteria: [Indicator 1 shows Positive And Indicator 2 shows Positive = Long Entry.] [Indicator 1 shows Negative And Indicator 2 shows Negative = Short Entry.]

    If Bias = Long And Entry Criteria = Long on Next Bar Open

    If someone is willing to help, then naturally I’ll disclose the Indicators.

    Thanks

    ED

    #123881 quote
    NicolasNicolas
    Keymaster
    Legend

    I need help to stop people opening topics with the same title “i need help to code …”. If someone has a good and efficient way for that? 😆

    #123883 quote
    EntropydynamicsEntropydynamics
    Participant
    New

    OK, clearly Im new and made a common post. I wanted to be straight to the point and gave an overview of what I was looking for.

    Not to be rude, but the sarcasm isnt ideal.

    #123885 quote
    NicolasNicolas
    Keymaster
    Legend

    Sorry for being sarcastic! I will change the title and help you for sure.

    Difficult to give you a perfect example, but you can code boolean variables (true or false) like this for instance:

    rsiAbove50 = rsi[14]>50

    or

    rsiRising = rsi[14]>rsi[14][1] //rsi is superior from its previous value

    or

    rsiCross = rsi[14] crosses over 50

    I encourage looking at the free course to start learning to program: Learning videos

    #123890 quote
    EntropydynamicsEntropydynamics
    Participant
    New

    Thanks for the reply, I’ll give it a try.

    Would you know if its possible to have Daily Range Bars to confirm my Bias. EG: BUll range candle = Long only trades

    And then have the Entry criteria look at RSI crossing 50 on Daily Price candles?

Viewing 5 posts - 1 through 5 (of 5 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

How to make entries on bias criteria created with indicators?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

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

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