fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. rafaels919
    3. Topics
    R
    • Profile
    • Following 6
    • Followers 1
    • Topics 12
    • Posts 87
    • Best 7
    • Controversial 0
    • Groups 0

    Topics created by rafaels919

    • R

      "Open Parenthesis Expected" compiling error in MT5
      Questions & Answers • @mt5 error code parethesis compile • • rafaels919

      4
      0
      Votes
      4
      Posts
      2103
      Views

      l'andorrà

      Then this goes beyond my knowledge, sorry. Maybe roar can help.

    • R

      "Candle Low/High" parameters don't work
      Questions & Answers • • rafaels919

      9
      0
      Votes
      9
      Posts
      2127
      Views

      l'andorrà

      @jjot fxDreema is good, but nor perfect, my friend! 😄 I alway recommend to store that information into a variable. Then use it normally in a condition block.

    • R

      Help needed in modifying values in a sequence
      Questions & Answers • • rafaels919

      31
      0
      Votes
      31
      Posts
      7012
      Views

      l'andorrà

      @roar said in Help needed in modifying values in a sequence:

      @l-andorrà

      I guess that 'loses -2' text is the reason for that failure. I'm not sure, though. I would say this is not the correct way to write that variable there.

      It is not the default way, but actually that works fine 😉

      Once more I learnt something new! 😉
      Thank you.

    • R

      String variable adjustment using "Modify Variables" block?
      Questions & Answers • • rafaels919

      6
      0
      Votes
      6
      Posts
      1846
      Views

      l'andorrà

      @trader-philipps said in String variable adjustment using "Modify Variables" block?:

      @l-andorrà String datatype is used for characters such as a b c, blanks and other special character and also numbers. However the values as numbers are not numbers to calculate with such as multiplication.
      In order to transform a number in String datatype to a number in a numeric datatype you need to convert it.
      In the given case there is a comma separated lost of numbers stored in a String datatype. In order to get it as numbers, you'd need to create an array of numbers from it and address each value from the array's index.
      If you use the String (list of numbers) as a betting sequence, fxdreema does that work for you.
      If you want to do this manually, you need to implement the de-seralization by yourself.

      And this is why a true programmer should be the only one answering in this forum. No me! LOL XD.

    • R

      Is there a way for the "Close trade" block to Not be counted as a Loss by the EA?
      Questions & Answers • • rafaels919

      6
      0
      Votes
      6
      Posts
      1031
      Views

      S

      @roar
      LMAO

    • R

      "Close Trade" block affects the betting sequence.
      Questions & Answers • • rafaels919

      9
      0
      Votes
      9
      Posts
      1209
      Views

      R

      @l-andorrà I can use variables and constants to some degree (storing information and using across the whole project), but definitely not "easily". If it's easy for you, or someone else, I would appreciate the help.

    • R

      Condition's Value input is being ignored.
      Questions & Answers • • rafaels919

      22
      0
      Votes
      22
      Posts
      2675
      Views

      R

      @roar The logic that I presented the issue with works fine, the issue was in my own configuration. Haven't figured it out yet, but should be able to fix it soon.
      Thanks for the help!

    • R

      How to change Variable value when a condition is met?
      Questions & Answers • • rafaels919

      5
      0
      Votes
      5
      Posts
      850
      Views

      l'andorrà

      You're welcome man ;).

    • R

      Formula - calculating difference
      Questions & Answers • • rafaels919

      13
      0
      Votes
      13
      Posts
      2749
      Views

      R

      @trader-philipps That works well, thank you!

    • R

      How to skip certain number of candles?
      Questions & Answers • • rafaels919

      12
      0
      Votes
      12
      Posts
      1737
      Views

      R

      Yeah, that's the only block that I edit.
      I'm trying to skip 120 candles, but that configuration didn't work.

    • R

      Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?
      Questions & Answers • • rafaels919

      51
      0
      Votes
      51
      Posts
      11865
      Views

      T

      @cpxiom Passion is always a good attitude 😉

    • R

      How to increase the "Base Volume" based on balance gain percentage?
      Questions & Answers • • rafaels919

      6
      0
      Votes
      6
      Posts
      1378
      Views

      S

      I did something similar in my code. First you will need some inputs and variables
      0_1593218341482_458d4274-37b2-43b7-b49e-ef44f98056d7-image.png
      This means that for every $100 in my account that the bot will add 0,01 to it's lot size automatically.
      Next we also need to set 2 variables
      0_1593218423357_e0896475-f230-496f-a950-ba496f29fa9a-image.png

      We will use these 4 values for our calculation.
      Personally I think it's better to base lot size from the AccountEquity instead of from the AccountBalance because sometimes in my bot, the balance is way more than the equity and I don't want my bot to over invest in the market.

      OK so the net step I took was to calculate the lot divider variable using the inputs of $100 and 0.01 lots.

      0_1593218608035_ec143a26-7514-4ba3-bf22-afd78a596186-image.png

      In this example, the lot divider is 10,000
      So if my account has $200 in it.... 200/10000 = 0.02 so my trade size will be 0.02
      I hope this helps?
      0_1593218792511_e58ee7e4-c415-4c0f-892a-86423d7a5363-image.png

      My bot has a variable called Start_Equity. If you do not have this variable and you wish to use the current account balance or equity then the term to use in this block would be (AccountBalance) or (AccountEquity)

      It's working perfectly like this in my bot.

    • 1 / 1