fxDreema

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

    Posts made by gaberen

    • Storing the risk taken on a pair's individual currencies as a variable?

      I'm currently working on a multi-symbol MT5 EA to help me backtest my algorithms. I want to store the risk of each currency from the fx pairs I trade to make sure that I don't risk too much on correlated symbols.

      Here is a snippet of my project:
      https://fxdreema.com/shared/yIfuGVLNc

      I'm currently trying to use Global Variables but it hasn't been working like I want it to. The way I have it right now, it only stores the risks of the 2 currencies from the pair selected in the strategy tester settings (see Pictures below). I want it to store the risks of all the currencies that the EA is trading.

      818587dd-a74f-4a09-9f5b-bb00ca1536d7-image.png
      4b39cb7d-0b05-4ce9-b5a9-eb7aa39a0d24-image.png

      I'm not really sure if Global Variables are the way to do it, does anyone have any better ideas?

      Thank you in advance!

      posted in Questions & Answers
      G
      gaberen
    • 1 / 1