fxDreema

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

    Best posts made by rafaels919

    • RE: Is there a way for the "Close trade" block to Not be counted as a Loss by the EA?

      @roar I see. Thanks for your input, it is much appreciated!

      posted in Questions & Answers
      R
      rafaels919
    • RE: Help needed in modifying values in a sequence

      Hi @roar , thanks for your response!

      How do I modify the "sequence on loss"?
      alt text

      Changing the "seq[]" variable didn't change the sequence in the EA (which is set to 1,2,3,4,5,6 somehow):
      alt text

      Also, how do I make a shift to the previous value in the sequence?
      ( This function is important, as long as this works and I can freely utilize it using conditions and what not, having "one block" is not that important)

      posted in Questions & Answers
      R
      rafaels919
    • RE: Help needed in modifying values in a sequence

      @trader-philipps
      Let me know if I get this right.

      1. So the sequence string that is in the Constants is converted into 6 separate parts, seq[0]... seq[5]
      • What is the Variable "seq[]" used for?
      1. And the "loses" variable is the consecutive losses counter - and if I set it to 3 for example, it will shift back one value, right?

      So let's say the sequence is: 1,2,3,4,5,6 - just as in @roar 's project.
      If the "loses" variable is set to 3, and I lost the third consecutive trade (value "3" from the array^) - then it won't proceed to value 4, instead it will repeat the value 3 once -> is this correct?

      1. What is "seqLen" for?

      I think I need to know what each variable is for to understand the logic behind the setup.

      posted in Questions & Answers
      R
      rafaels919
    • RE: Help needed in modifying values in a sequence

      @roar I see. So I can use the "Modify Variables" block and change the "loses" variable -> and it will revert to that value from the array and continue from there, right?

      I will test that thoroughly a bit later with other conditions, so far I noticed few issues:

      1. When it loses 6 times in a row (full array length) it doesn't reset and stops working completely.
        alt text

      2. It skips second value from the array (0.02=0.01*2) from time to time, not sure why:
        alt text

      3. It also reverts back to the third value sometimes, which doesn't make sense (from 0.06 to 0.03):
        alt text

      PS: used your latest version. Didn't edit anything.

      posted in Questions & Answers
      R
      rafaels919
    • RE: Help needed in modifying values in a sequence

      Awesome, it shifts back now. @roar

      I might have found another bug though:
      The "base volume" bet is being skipped from time to time (0.01):

      Skipped>:alt text

      Not skipped>:alt text

      I sent you a PM @roar
      Either way, you done a great job figuring this out. I appreciate the help!

      Thanks to @trader-philipps as well.

      posted in Questions & Answers
      R
      rafaels919
    • RE: Help needed in modifying values in a sequence

      Is it possible to not use the "yellow" block output?
      alt text
      The second "Modify Variables" block is connected to the yellow output, but some of the other blocks on fxdreema have only a red output. Would be great to have this work with red output only.

      posted in Questions & Answers
      R
      rafaels919
    • RE: Help needed in modifying values in a sequence

      Alright, so I've replaced the indicator and adjusted the condition for the shiftback (so it triggers starting from 2nd loss) and this seems to work now :
      alt text

      posted in Questions & Answers
      R
      rafaels919
    • 1 / 1