fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. haoglueck
    3. Posts
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 13
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by haoglueck

    • RE: Help to compare 61 variables at the end of trade

      Define an array like Indicator_Value[2,61], then go through this array with loop, quite easy.

      posted in Questions & Answers
      H
      haoglueck
    • RE: Custom Indicator -- buffer not working as expected

      @tipsywisdom

      you are right and thank you for sharing the experience. I myself use semafor and cg.
      Just saying this maybe the reason of your problem.

      posted in Questions & Answers
      H
      haoglueck
    • RE: Custom Indicator -- buffer not working as expected

      @mmbinvest
      I think the reason is that this indicator repaints.
      And your EA records the arrows when they appear and plots the corresponding arrow on the chart.
      When the indicator arrows repaint aka disappear, the EA's arrow don't move.

      You know what? this indicator is tooo perfect, this is a sign of repainting like ZZ and tons of them.

      posted in Questions & Answers
      H
      haoglueck
    • RE: My ea opens two same positions why ???

      0_1634289775008_40e1f817-59c5-4601-bc25-eb67a11a9665-image.png

      Set it to 1 and try again?

      0_1634289821761_e831e348-75ec-4da9-9451-3920db72d272-image.png
      If not, set both to 1 and try again?

      posted in Questions & Answers
      H
      haoglueck
    • RE: time frame setting in "once per bar"

      Thank you for confirmation bro!

      posted in Questions & Answers
      H
      haoglueck
    • time frame setting in "once per bar"

      Please help me with a new question in detail:

      What happens if:

      1. I run the EA built with fxdreema on M5 chart.
      2. under "on tick", I connect some blocks under "once per bar". The blocks under this "once per bar" is for example trend-filter-from-higher-time-frame (time frame all set to M30). The purpose is to save some computing resource, I use signal by closed candle (e.g. candel ID always 1) anyway.
      3. I set the "time frame" of this "once per bar" as M30.

      So what happens when the EA is activated?

      • it goes through the current M30 bar once (after some ticks maybe), so I will get the right trend from higher-time-frame. Right?
      • the next execution is then somewhere in the next M30-bar? So the blocks under this "once per trade" are executed some every 30 minutes EXEPT the first round. Right?

      0_1634240584267_30dcad47-282a-4d1e-8e9c-74db58222e29-image.png

      posted in Questions & Answers
      H
      haoglueck
    • RE: block input logic

      @jstap
      Thank you!

      That is loud and clear answer!

      posted in Questions & Answers
      H
      haoglueck
    • RE: block input logic

      @l-andorrà

      Thank you!

      It is about execute of block #3, if the input of #3 are connected to 2x outputs.

      posted in Questions & Answers
      H
      haoglueck
    • block input logic

      dear friends,

      please kindly answer one basic question which I could not found a clear clarification anywhere. Thank you!

      0_1634150534844_9f169229-ee09-49c0-b5c6-d75aed3b41f1-image.png

      is the same as:

      0_1634150568359_dbca34be-e77c-40a6-8ae5-707fbb183235-image.png

      OR

      0_1634150594316_9185fd84-22a0-4c24-8584-e892c18334fc-image.png
      ?

      e.g. block #3 will be executed when both #1 && #2 are true, OR #1 || #2 is true? If simply connected without a "controlling block"

      posted in Questions & Answers
      H
      haoglueck
    • RE: define blocks execution sequence?

      Thank you sir!

      posted in Questions & Answers
      H
      haoglueck
    • RE: I want to set my lotsize on equity %

      my solution: use "custom mql code" block, and define a parameter "risk", and a variable LotSize.

      use mql4 function AccountEquity()

      LotSize = risk * (AccountEquity() / 10000) *0.1

      posted in Questions & Answers
      H
      haoglueck
    • RE: define blocks execution sequence?

      btw.

      with "executed", I mean the result of block #2, #2, #4 and #6 are present - the CPU has processed all these blocks - then block #100 is processed.
      Not just the blocks are just sitting in a queue like (#2 -> #3 -> #4 -> #100)waiting for CPU time。

      posted in Questions & Answers
      H
      haoglueck
    • define blocks execution sequence?

      please kindly suggest how can I secure that block #100 is executed after all other blocks under block #1 - no matter what the result is?


      A. The ID (100 is the largest) is suficient to secure this.
      0_1633809116057_08cdc273-3a88-44bc-a54c-f9b16ea3ef18-image.png

      OR

      B. After all other blocks are passed, by connecting all other blocks' output to it.

      OR buy connecting all outputs to the block #100
      0_1633809153209_f148666b-747a-4cfe-a7cf-332897aa2535-image.png

      C. both are good?


      Thank you guys!

      posted in Questions & Answers
      H
      haoglueck
    • 1 / 1