fxDreema

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

    fxzen

    @fxzen

    0
    Reputation
    373
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    fxzen Unfollow Follow

    Latest posts made by fxzen

    • Bug in help for "Draw Arrow"

      Arrow drawing help for wingdings code has an error / broken reference

      0_1564410567187_1fa5911d-fd3a-4438-9f41-48679721960a-image.png

      posted in Bug Reports
      F
      fxzen
    • RE: How to use OR Block/Logic in FXdreema?

      There is an explanation in the examples on how to use OR blocks

      https://fxdreema.com/demo/mt4-or-logic-2

      posted in Questions & Answers
      F
      fxzen
    • RE: Avoid Weekends and Holidays

      For sure, the best approach is the one that works and that you understand, and that sounds good to me.

      Simple and understandable trumps elegance.

      posted in Questions & Answers
      F
      fxzen
    • RE: Break even point (Each trade)

      @DGRL

      Awesome 😄

      posted in Questions & Answers
      F
      fxzen
    • RE: Break even point (Each trade)

      @DGRL
      I think I understand what you are after, it is a typecasting issue. I'm fairly certain it has to do with trying to do the calculation in the variables section and the way the code is Dynamically generated.

      Here the order is placed, and the multiple(2 in variable) * spread(8) = 160. So the SL is adjusted by 150 once in 20 pips of profit.

      Shared project:

      https://fxdreema.com/shared/1eFNI4ZZb

      Result:

      0_1556913854312_ee7fdac3-6458-43db-9f09-7ad8cc8f3499-image.png

      0_1556914013515_8e220ea9-f76c-4638-9b04-e588a50f0f81-image.png

      posted in Questions & Answers
      F
      fxzen
    • RE: Break even point (Each trade)

      Can you manually compile or provide the error code when the EA does not load?

      It can be that you are putting a space or it's a type issue (variable type)

      posted in Questions & Answers
      F
      fxzen
    • RE: Avoid Weekends and Holidays

      You could do condition on Market properties, time. Then do Value > Time > Components and select for that day.

      Then do a "Time filter" based on weekday, if it ends up being a weekday, do a formula that does a N+1 (counter)

      Then you can have another block can check for this N+1 value and if it's present, it tries to place the trade. If it's successful placing the trade, reset the variable back to 0.

      This won't handle the holidays, but without looking at external feeds (at least in MT4) I'm not sure of a way do to this without just manually programming in the holidays for every one that happens, for every year.

      The only other idea is that if your broker disables your connection during weekends/holidays, you could also use the "Terminal Connected" block. Holidays can also be tricky depending on instrument. For example, some holidays only Asian indexes are closed, while on others only American indexes are closed.

      posted in Questions & Answers
      F
      fxzen