fxDreema

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

    BlueMoon

    @BlueMoon

    4
    Reputation
    2824
    Profile views
    246
    Posts
    3
    Followers
    3
    Following
    Joined Last Online

    BlueMoon Unfollow Follow

    Best posts made by BlueMoon

    • Thank you fxDreema

      I just wanted to take a moment to thank you for creating such a wonderful product. I wanted to say I enjoy working on this and playing with all different blocks. I have yet to create a strategy that actually creates positive results but its nice to know I have everything I need to create one and I don't depend on anyone.

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

      I want to set Trailing Stop for all my existing trades (they were either opened using EA or manual) of different currency pairs.

      I want start trailing SL once my trades have reached certain profit. The certain profit is 50% of the 4 hour chart ATR 25 value. I am trying to use the following block but I am not getting the desired results.

      I also wonder do I need to enter the value for "Market" in the "Trailing Start section" Will it get the value of the Market depending which open trade it is trying to set the trailing for? Also I need to divide the value of the ATR result by the "Point" value for that Market to get the actual Pips of the ATR. How and where do I do this?

      0_1499179865148_upload-2d655ce8-4b88-48d4-9a2b-fe2238e23a09

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Timeframe as input

      @fxdreema said in Timeframe as input:

      PERIOD_H1

      That worked like a charm! Thank you so much

      posted in Questions & Answers
      B
      BlueMoon
    • How do I get absolute value of a number?

      I know this should be very easy but is there a block to do this? If not can someone give me the custom code to convert a value into its absolute value?

      e.g. of what I am looking for:

      I will have a variable for the value could be a position number or a negative number. I want to convert this always in a positive number.

      -3 should become 3
      3 should stay 3
      -5.987 should become 5.987

      posted in Questions & Answers
      B
      BlueMoon
    • Limit on Set Current Market for next blocks

      Seems like there is a limit of 256 characters that you can assign in this block in the "Market List"

      This is causing me issues since 1 of my broker uses the format of "EURUSDpro" which uses 9 characters per currency pair. I also need to separate each pair using a comma. This means a total of 10 characters per pair. I am not able to use 28 pairs that I need this block since this will use 280 characters.

      Can this limit be increased?

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Source Code Fxdreema

      @fxdreema said in Source Code Fxdreema:

      Oh, I am doing something only when I'm in mood, I don't know 🙂

      Any idea when will your mood trigger? 😉

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Select the top 5 variables

      Thank you so much. I got to learn something really nice.

      However, seems like I didn't explain it clearly what I needed. This code will generate a string with values of all the variables(out of 100) that has top 10 values separated by a comma. But I need the vairable names separated by comma. The result variable should look more like the following:

      "var01,var09,var99,var10,var77,var72,var91........"

      Thanks for your help

      posted in Questions & Answers
      B
      BlueMoon

    Latest posts made by BlueMoon

    • RE: Issues with Once per bar

      0_1592246529438_975d02ba-2d8d-454c-b258-aae76c558a0d-image.png

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Issues with Once per bar

      Thanks for your reply. Can you please explain what you mean by depends on the context? here is the full blocks screenshot. I just added the alerts block to see if I get those alerts to validate even if the Condition block is running.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Issues with Once per bar

      0_1592222563152_acde2ce1-2f98-46e1-8f23-92005eee9e93-image.png

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Issues with Once per bar

      0_1592222523838_6324d956-b67e-457c-a370-bb5d1034cdf1-image.png

      posted in Questions & Answers
      B
      BlueMoon
    • Issues with Once per bar

      I am having some issues with "Once per bar" block. I am not sure if this is a bug or I am doing something incorrectly.

      This is what I am trying to do:

      Whenever a new H4 candle bar opens, I have a condition to check if the previous bar was a "Bull" or a "Bear. I do this by comparing the Open and Close price of Candle(1) I believe this is the right way to do this since Candle(0) is the current candle that might have just opened. I do not know what is going on but it works sometimes and does not work sometimes. Any ideas of such a behavior or if I can try something else to get the same result?

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Actions at a specific time everyday

      Many thanks @trader-philipps

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trade Created Block v/s Pending Order Triggered

      I am going to try the following. Let me know your thoughts. I will update here how it goes.

      The other area of my EA where I am creating a new Trade, I will set a variable and set a value of it to "1" before I create the Trade. Once the Trade is created, it will trigger my "Trade Created" block. I will check the value of the variable first and if it is "1" then I will not execute the things I want to execute and just set the value of the variable back to "0"

      When my Pending Order gets triggered it will also trigger my "Trade Created" block. This will again check the value of the variable and it will find thee value to be "0" so it will continue to execute my code.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trade Created Block v/s Pending Order Triggered

      I am already using "Group" for my trades in this EA for a different purpose and it is not possible to mix it with this.

      posted in Questions & Answers
      B
      BlueMoon
    • Actions at a specific time everyday

      I want to run some blocks everyday at a specific time.

      Example: I want to run something everyday at 4:45pm EST. I checked all the Time Filters but could not find something that will meet me requirement.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trade Created Block v/s Pending Order Triggered

      @trader-philipps Thank you very much for your reply. Honestly I do not like any of the suggestions you have made. It will just over complicate things. I really like to keep things simple. I will just have to consider making design changes so I just don't have to deal with this while still achieving what I need to do.

      I was just hoping that the "Trade" event had a special block called "Pending Order Triggered" and this block would get activated every time a new Trade is created due to Pending Order getting executed.

      I really appreciate you taking the time to reply on a Sunday afternoon..

      posted in Questions & Answers
      B
      BlueMoon