fxDreema

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

    about condition formule

    Questions & Answers
    2
    2
    462
    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
      mydogen last edited by

      Hi friends,
      I have a problem a create to condition, I wanna create a conditions like below

      1-condtion

      if (High_1_1 > MA_1_1) gReferansHigh_1 = High_1_1; this condition is okey. %(#8000BF)[iHigh(NULL,1,1) >iMA(NULL, 1,5, 0, MODE_SMA, PRICE_CLOSE, 1);]**

      2-condition**

      if (Low_1_1 < MA_1_1) gReferansLow_1 = Low_1_1; this condition is okey. %(#BF00BF)[iLow(NULL,1,1) <iMA(NULL, 1,5, 0, MODE_SMA, PRICE_CLOSE, 1)]**

      3-condition**

      if (MA_1_0 > MA_1_1 && Close_1_0 > gReferansHigh_1) { this condition is Problem.

      My problem is for %(#BF0080)[gReferansHigh_1] ,How can i formule it.
      Regards..

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

        gReferansHigh_1 is some variable that is used from this EA to hold value. How this variable is used outside these conditions... I can't tell. But you can search for it in the code and you will see where it is defined (this will be like "double gReferansHigh_1...") and where it is used.

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

        Online Users

        T
        T
        Q
        A
        M

        13
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors