fxDreema

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

    Condition not always working.Help welcomed

    Questions & Answers
    2
    3
    438
    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.
    • R
      rawad 0 last edited by

      My buy setup rules are as follows:

      • Price needs to be above 200EMA
        -MACD should be below 0 level and the mainline crosses above the signal line
        PROBLEMS:
        -1st condition for the 200EMA is not always respected
        -Entry is not always on the close of the candle even when there is no slippage . In case of slippage is it possibile to enter at 14:59 time of the 0 candle ID on the 15 min time frame
        Examples
        Below is attached two images one of the chart that shows 2 trades (1st trade should not happen because it is below the 200ema)
        2nd image shows my fxdreema blocks
        0_1589930100108_200EMAC.jpg 0_1589930107109_Blocks.jpg
      S 1 Reply Last reply Reply Quote 0
      • S
        seb 0 @rawad 0 last edited by seb 0

        @rawad-0
        The first condition block compares 200MA calculated on close prices with candle close 0, the candle close 0 is the close of the actual candle, which hasn't stopped forming, its close price is gona be different once it will stop forming. So you have to set candle ID 1.

        1 Reply Last reply Reply Quote 0
        • R
          rawad 0 last edited by

          Thank you for your reply, My 200 EMA problem is solved. If it is possible to help me with another problem. The EA is missing certain trades because of the cross width being at minimum of 1 which means if the initial cross over is small the trade will not be executed. When the execution condition is set to above or below these trades are taken but with no limits and a trade is executed on every bar after the cross over. Is there a way to use the above or below condition for the MACD but execute the trade only once after the cross over ?

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

          Online Users

          E
          R
          S
          M
          N
          E
          T
          J

          17
          Online

          146.8k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors