How to make entries on bias criteria created with indicators?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #123879 quote
    Entropydynamics
    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
    Nicolas
    Keymaster
    Master

    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
    Entropydynamics
    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
    Nicolas
    Keymaster
    Master

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

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

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