fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. BlueMoon
    3. Topics
    B
    • Profile
    • Following 3
    • Followers 3
    • Topics 96
    • Posts 246
    • Best 5
    • Controversial 2
    • Groups 0

    Topics created by BlueMoon

    • B

      How do I make 10 seconds stop between 2 blocks?
      Questions & Answers • • BlueMoon

      2
      0
      Votes
      2
      Posts
      485
      Views

      roar

      delay-block?

    • B

      Alignment and size of the blocks
      Questions & Answers • • BlueMoon

      6
      0
      Votes
      6
      Posts
      1194
      Views

      fxDreema

      Only when you update the title. Their size depends on the text in the title. When the project goes into the database, there is no data about the blocks size, there is only a position of the block, while the size is decided by the browser

    • B

      Value of each pip on standard lot in base currency
      Questions & Answers • • BlueMoon

      2
      0
      Votes
      2
      Posts
      928
      Views

      M

      0_1501619746495_upload-aabc04dd-2a0f-4d63-bf63-e647292220b6

    • B

      Check Unrealized Profit Block
      Questions & Answers • • BlueMoon

      6
      0
      Votes
      6
      Posts
      2038
      Views

      B

      Thank you so much!!!

    • B

      Dynamic Varaible
      Questions & Answers • • BlueMoon

      3
      0
      Votes
      3
      Posts
      777
      Views

      fxDreema

      What about this Variables thing above the list of blocks?

      Otherwise if you are thinking about PHP-like variables, those are not possible. MQL4/5 is based on C++ (I believe), in which all variables are defined before the compilation. But you can probably work with arrays. There are some dynamic arrays. But it's a pain in the ass to work with arrays in MQL4/5, at least for me. You can try it. To define Variable that is array, try to name that variable with []

    • B

      Trailing Stop (for group of trades)
      Questions & Answers • • BlueMoon

      4
      0
      Votes
      4
      Posts
      1849
      Views

      roar

      You would have to assign different weight on each trade - if you have 1.00 lot buy at price 1.000 and 0.01 lot buy at price 2.000, the midpoint is not price 1.500 but close to 1.000..
      There could be a way to calculate this, with a million variables, but its not very simple đŸ˜„

      Well, MT5 does this automatically, everytime...

    • B

      Trailing Stop to start trailing based on ATR
      Questions & Answers • • BlueMoon

      7
      1
      Votes
      7
      Posts
      3940
      Views

      l'andorrĂ 

      The only way is open the block itself on the MT metaeditor. There is no way to do it within fxDreema.

    • B

      What is the difference between these 2 blocks?
      Questions & Answers • • BlueMoon

      2
      0
      Votes
      2
      Posts
      943
      Views

      U

      @yalgaar Pink works under the [For EACH trade], BLUE works with [Bucket of trades] and others

    • B

      Why is my trailing stop not working?
      Questions & Answers • • BlueMoon

      2
      0
      Votes
      2
      Posts
      973
      Views

      fxDreema

      Connect this block to some other, let's say "Pass". This "Pass" block does nothing at all, but it's used when you want to run another block that is normally not connected to anything. The rule is that for a block to work, it must be connected with another block. All disconnected blocks are removed from the output file.

    • B

      Trailing stop for all existing trades on condition
      Questions & Answers • • BlueMoon

      2
      0
      Votes
      2
      Posts
      925
      Views

      fxDreema

      Just use the Trailing stop (each trade) block. There are many options inside, one of which is for something that I call Trailing Start. This is where you can write this offset of 50 pips, so no trade will be touched until 50 pips of profit is reached.

      Set Trailing Step to 1 pip.

      And for Trailing Stop you have the option to use % values. You can see you have "% of Profit" option and also other options.

    • B

      Is there a search function in the forum?
      Questions & Answers • • BlueMoon

      3
      0
      Votes
      3
      Posts
      732
      Views

      B

      @miro1360 said in Is there a search function in the forum?:

      I think here is ...
      0_1498250948476_upload-c9a311b7-c0ee-4018-8bca-5ea98f6d00db

      Thank you so much micro1360!!!
      I can see it now! đŸ™‚

      I suggest fxDreema to make it different color for others who might not see just like me. Following is how I see it.

      0_1498306769324_upload-a8f41d8a-53b3-4065-8a43-99065a40e1e3

    • B

      Best way to get pips from ATR
      Questions & Answers • • BlueMoon

      8
      0
      Votes
      8
      Posts
      4444
      Views

      M

      I did not noticed this option "Customized", in that case, using formula this way it must working good đŸ˜€

    • B

      Once a day at certain time
      Questions & Answers • • BlueMoon

      4
      0
      Votes
      4
      Posts
      1806
      Views

      B

      I am trying the following but this is not working. Can you suggest what could be wrong?

      0_1497616956646_upload-29eb5409-ed50-4d9a-bb17-1545e7946ad0

    • B

      Check Profit Unrealized in backtesting
      Questions & Answers • • BlueMoon

      1
      0
      Votes
      1
      Posts
      504
      Views

      No one has replied

    • B

      Smoothed Moving Average
      Questions & Answers • • BlueMoon

      17
      0
      Votes
      17
      Posts
      3420
      Views

      B

      @miro1360 said in Smoothed Moving Average:

      actually it is working fine, look here for details in my drawing:
      0_1498153316356_upload-dbff39ce-4142-4b01-8cca-664621913b13

      CandleID 3 is not true with condition but CandleID 2 is true with condition and trade was opened when CandleID 2 was CandleID 1 (lool mixed explanation đŸ˜„ ) ... but it is working right ... MA cross hapened after big bullish candle closed (and you toke trades when candle closes (from ID 1) ) ... so I think, it is working fine

      You are awesome Miro1360!!!! I am not happy that my strategy is not going to be profitable! but I am very joyful that we cracked the problem out. Thank you very much for the diagram and the explanation. This is 100% clear to me and I am in agreement with you about this.

      What I learned here is that you do not have to look at the space between the 2 candles to find out if the EMA is above or below each other. But you have to look at the center of the candle itself! Thanks again for the explanation. I am your fan now!!

    • B

      Trailing Stop Mutiple Levels for Take Profit not working as expected
      Questions & Answers • • BlueMoon

      17
      0
      Votes
      17
      Posts
      4741
      Views

      R

      @bluemoon so does this work fine now

    • B

      Trailing
      Questions & Answers • • BlueMoon

      4
      0
      Votes
      4
      Posts
      1234
      Views

      B

      @fxDreema said in Trailing:

      The Trailing stop block works with the current price (let's say Ask) and the current SL to decide when is the right time to modify SL. It looks at the difference between both levels all the time. Now, you want to modify SL at every 10 pips and to put SL at 50% of the difference between Ask and SL. You have absolute Step and relative Stop. You can try with this option "Multiple levels" for Trailing Stop, but the problem with this option is that you can define certain number of levels, it's not a formula that can work for infinite number of levels.

      Again, the problem is that you need to somehow work with invisible grid of levels where each new level is exactly 10 pips above (or below) the previous one. But the Trailing stop block looks at the SL line to decide when to modify it again. You want the SL line to change like this:

      when profit 50 pips put SL at 25 pips when profit 60 pips put SL at 30 pips when profit 70 pips put SL at 35 pips when profit 80 pips put SL at 40 pips when profit 90 pips put SL at 45 pips when profit 100 pips put SL at 50 pips

      This is the closest that was able to make: https://fxdreema.com/shared/MM7kc2SZb But because I use relative Step, the levels are not exactly 50, 60, 70, 80 and so on... But what is the chance to have more than 5-6 SL modifications, it's very low. I put some "Delay" block in "on Trade", so the EA will pause on each SL modification and you will be able to easily measure all the distances.

      You are awesome!! Thank you very much to take the time. However I have a few questions and need some more clarifications:

      I don't understand the need of the "Delay" block. Can you please explain more about the need for this? You mentioned "Multiple levels" for trailing stops in your message but in the link you sent for the real blocks, I don't see you are using this. I believe you are showing 2 methods to achieve this. But I am getting confused with the methods. Can you please clarify this? Lets say I am ok to use "multiple levels" and manually type all levels and their stops. Is there a limit to how many levels it will allow me to type in the block? In your examples you have used the "SL" for the stops. Does it matter if you use "SL" or "TP" for trailing? is there any difference?
    • B

      Open new trades based on Profit or Loss on existing Open trades
      Questions & Answers • • BlueMoon

      2
      0
      Votes
      2
      Posts
      1098
      Views

      M

      try this:

      0_1492794918786_upload-b3519d97-e045-416d-b50a-d738b7467c7a

    • B

      Difference between "Check Profit" and "Check Profit (Unlealized)
      Questions & Answers • • BlueMoon

      5
      0
      Votes
      5
      Posts
      3727
      Views

      fxDreema

      There is a pink block "check profit" (with small letters) that is more special, it should be used inside a loop made with one of the "For each...." blocks.

    • B

      Trade Close event
      Questions & Answers • • BlueMoon

      6
      0
      Votes
      6
      Posts
      1958
      Views

      B

      Oh! Not sure how I could not see that! Thanks.

    • 1
    • 2
    • 3
    • 4
    • 5
    • 4 / 5