fxDreema

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

    Modify Stop Loss On Previous Candle Close

    Questions & Answers
    2
    4
    949
    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
      MIKEIKE last edited by

      Hi I have a working EA but I am using Modify Stop in a custom price formula. The formula is calculated from the previous bar, but the EA appears to be re-calculating on every tick of the current bar? It is modifying at high frequency and not upon the close of each bar? Assist please?

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

        By the way some connection is missing between blocks 25 and 26 🙂

        Previous bar is already finished, the value should be the same. The only thing is that there is no need to recalculate the same thing again and again... if you have backtest speed considerations...
        "Once per bar" makes things faster in this case.

        But before "modify stops" better use "For each Trade" 🙂

        1 Reply Last reply Reply Quote 0
        • M
          MIKEIKE last edited by

          Thanks!!!!!!!!! Is there a way to prevent a trade from occurring in the same bar as an exit?

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

            I'm not sure about the meaning of the question, but to limit things in one bar - "Once per bar"

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

            Online Users

            A
            E
            N
            S
            K
            M
            L
            E

            16
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors