fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. RazordLid
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 22
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by RazordLid

    • RE: Trying to learn multiple conditions in an EA

      Yes - that is right. I have a few projects that I want to have conditions initially in place, and then have secondary, and possibly third conditions.
      I am not looking to have the answers provided as I want to learn, although if you can give a few pointers I will update project as I go if that is okay?
      The logic is:
      Step 1 - all steps must occur
      Step 2 - in addition to all steps in step 1, which may be 1, or many bars later
      Step 3 - the close below the 20EMA must occur before a close above the 50EMA, and whilst step 1 conditions are still valid.
      If I can get the logic of this correct, then I think it will be very beneficial for the testing I would like to do.
      Thanks in advance for any advice!

      posted in Questions & Answers
      R
      RazordLid
    • Trying to learn multiple conditions in an EA

      Hi - I am new to fxdreema, I hope this is posted correctly. I am trying to create a test EA that has the following rules for a sell condition (although buy would be exact opposite). I have created a project and seems to get stuck around the transition from Step 2 to Step 3 and I would appreciate any pointers;
      https://fxdreema.com/shared/FcAMNUzHc
      Step 1
      20EMA has to be below 50EMA and 200EMA
      50EMA has to be below 200EMA
      Step 2
      Price needs to close above the 20EMA, although not close above the 50EMA
      Step 3
      With Step 1 & 2 still valid, price needs to close back down below the 20EMA - this would trigger a trade.
      Apologies if this is basic. I have completed a few simple EAs already that operate, although I cannot work through the logic correctly. Any help appreciated.

      posted in Questions & Answers
      R
      RazordLid
    • 1
    • 2
    • 2 / 2