fxDreema

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

    Topics created by sjmackenzie41

    • S

      How to log variables to the console using Log Message
      Questions & Answers • • sjmackenzie41

      2
      0
      Votes
      2
      Posts
      845
      Views

      fxDreema

      Take a look at my answer here, I think it should be similar: https://fxdreema.com/forum/topic/4969/how-to-add-values-of-double-variable-to-string-variable/4

    • S

      Trying to move stop loss to the 50 EMA
      Questions & Answers • • sjmackenzie41

      4
      0
      Votes
      4
      Posts
      808
      Views

      fxDreema

      For me it works for buys 🙂 I see errors in my logs such as "Invalid TP...". But I guess it depends on the position of the MA line relative to the current price. You may want to check that before modifying stops. Or you may try the Trailing Stop block, I think it is a little bit more clever and there was some option to follow such line.

      I see some bug in the way input parameters are displayed now in the "Modify stops" block, I will check this later.

    • S

      Possible to detect actual EMA cross point
      Questions & Answers • • sjmackenzie41

      2
      0
      Votes
      2
      Posts
      457
      Views

      fxDreema

      I never tried that, but I guess it can be done with some calculations. After all, what you have is 2 crossed lines made out of 4 points. I'm not very good in mathematics, but I think the cross point is somewhere half way between both price levels.

    • 1 / 1