How to code these conditions?

Forums ProRealTime English forum ProOrder support How to code these conditions?

  • This topic has 2 replies, 2 voices, and was last updated 6 years ago by avatarRicx.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #46332

    I want to create a system to use on forex markets following 4 conditions, however I don’t know how to write a code matching them. Can anybody help me out or tell me where I can learn how to write codes like this?

    Conditions to enter long:

    1. Price > MA50
    2. SET UP BAR – Look to buy when close is in the top 25% of the bar’s range
    3. Either the set up bar or the previous bar is the lowest low of the last 5 bars
    4. Enter market on the next bar, only when and if the price trades 1 pip above the set up bar’s high

    Thx in advance 🙂

    #46339

    The fina buy condition makes no sense. It states “buy if the bar trades 1 pip over it’s own high”. Obviously this will never come true. I replaced it with a stop order.

    How to code such simple conditions you learn by reading the two manuals proorder/probuilder, very simple.

    1 user thanked author for this post.
    #46413

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login