fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Two conditions I’d like help with

    Questions & Answers
    help
    2
    2
    1099
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mpr260975 last edited by

      Hi fxdreema

      I’d like some help achieving the following outcomes....

      1. A loop checking If buy orders + buy pending orders is greater than sell orders + sell pending orders, execute a sell pending order to make the numbers even.....if reverse this for the opposite conduction.

      2. Every bar slide pending orders towards current price by a percentage (50% would move the pending order half way between the current price and the current pending order open price)

      And if you can get these things to happen without creating a pending order open storm, you’re a genius

      Michael

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        1. https://fxdreema.com/shared/835hQ6HTc I guess I need to create a block like "Bucket of Trades/Pending Orders", but the name of such block is so ugly and this is what stops me 🙂

        2. I think I'm gonna add % option in that "slice order" block, because there is only pips option right now. I can probably be done with some calculations, but it will be ugly.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        T
        S
        A
        M
        R
        G
        G
        Y
        C
        S
        S
        S

        24
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors