fxDreema

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

    How can I mute for first program, run the second one

    Questions & Answers
    3
    4
    510
    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.
    • T
      tradingstrategy88 last edited by

      Let's say, I have one EA has two program, two open trade with different condition, how can I set: when the second program run, then first program stop running until the second program finish.

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @tradingstrategy88 last edited by

        @tradingstrategy88 You might use one of the following options:

        1. Use switch off Switch on blocks when entering trade and reset on exit
        2. Use flags .. for example boolean and do the same as in 1.
        3. Define a variable (eg. bool data type) and set it's value to the correspondent event before entering trade and on exit. Check value on each entry path
        4. Use groups for each trading strategy and for check use No trade block with correspondent group number

        There may be more options but in principle you set a condition on entry of a trade, which will be checked by each of the implemented strategy entry paths. As long as that condition is valid you will not let each strategy to go it's entry path. You need to care for re-set the condition on trade exit.

        I like to share my knowledge, but expect the others to contribute as well.

        T 1 Reply Last reply Reply Quote 0
        • T
          tradingstrategy88 @trader.philipps last edited by

          @trader-philipps Thanks for that, But do you have any example ? I keep confusing with it

          1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà last edited by

            I strongly recommend you to read trader's splendid tutorial thread including most of those features:

            https://fxdreema.com/forum/topic/8618/tutorial-expert-advisor-with-some-recent-issues-solved/14

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

            Online Users

            F
            R
            S
            D
            V
            O

            16
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors