fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Help to compare 61 variables at the end of trade

    General Discussions
    2
    2
    341
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bocadeangu last edited by Bocadeangu

      Good evening, friends from the forum.

      I am Brazilian and I already apologize for the English. I'm writing through Google Translate.

      My EA project here at Fxdreema is intended to look like a simple neural network (Perceptron).

      Through indicators and candles, each CONDITION block assigns a value to a unique variable. The value can be 1 or -1.

      I need help to find out at the end of the trade which variables were with negative numbers and which variables were positive.

      Let's say the sum of the variables was> 0. In this case, I make a purchase.

      1. If the trade is a winner: I want to see which variables were positive and increase their value. (Example: If it was 1, I want to change the value to 1.2)

      2. I want to see which variables were negative and decrease their values. (Example: if it was 1, I want to change the value to 0.9)

      I know what I can do with blocks. But i would have to compare 61 variables with 2 CONDITION blocks each (122 blocks). After that, use 122 more blocks of MODIFY VARIABLES.

      My question is whether there is a more elegant solution in the CUSTOM MQL custom block to be implemented.

      Obs. I am completely layman in MQL5 code. I don't know anything about programming.

      l'andorrà 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @Bocadeangu last edited by

        @bocadeangu I'm not a programmer so I cannot provide an elegant solution to that issue. My suggestion is doing it visually. Try can take a screenshot by using the 'Chart screen shot' block every time the trade hits TP with all requested variables visible with a 'Comment' block. You will need to visualize a lot of photos but at least you will get it.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        M
        J
        H
        S
        S
        C
        F
        S
        R

        22
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors