fxDreema

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

    Indicator one buffer for one line with 2 color

    Questions & Answers
    3
    6
    309
    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.
    • R
      Rinaldoa70 last edited by

      Hi , I need some clarification if possible: I seem to have understood, reading almost all the posts on the subject, that being able to make a condition work where the color change of the line generates a buy or sell signal depends on the number of indicator buffer. so if there is only one buffer you can't get the signal.
      I noticed a couple of answers talking about the block indicator visible but I don't understand if even then it depends on the number of buffers or if there is a way to generate the signal. Thanks a lot for being available to anyone who replies.

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

        Is it an MT5 indicator? If so more than probably there will be one only buffer with all colours you need. Sadly, fxDreema cannot understand that. It need one separate buffer per colour.

        (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
        • R
          Rinaldoa70 last edited by

          Yes it is an MT5 indicator, HMA … it is how i understood… thanks very much for replay!

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

            You're welcome.

            (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
            • P
              PhiLykia @Rinaldoa70 last edited by

              @Rinaldoa70 In single buffer outputs, color changes are made by comparing x number of previous candles. Cadle Close1>Candle Close2 gets a rising color.

              If we examine the code, for example:

                {
                   if(ShowInColor && moving[shift-1] != EMPTY_VALUE)
                   {
                   trend[shift] = trend[shift-1];
                   if(moving[shift] > moving[shift-1]) trend[shift] = 1;
                   if(moving[shift] < moving[shift-1]) trend[shift] = 2;   
                   }    
                   else trend[shift] = 0; 
                }
              

              if (moving[shift] > moving[shift-1]) trend[shift] = 1;: If the moving value on the current bar is greater than the moving value on the previous bar, it assigns a value of 1 to the current shift index of the trend sequence. This represents an uptrend.

              if (moving[shift] < moving[shift-1]) trend[shift] = 2;: If the moving value on the current bar is less than the moving value on the previous bar, it assigns a value of 2 to the current shift index of the trend sequence. This represents a downtrend.

              1 Reply Last reply Reply Quote 0
              • P
                PhiLykia last edited by

                Set the "Trace" box for the buffer you want to check. You can develop a condition based on the output data.

                image.png

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

                Online Users

                M
                K
                F
                Z
                S

                11
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors