fxDreema

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

    How can I upload my own indicator?

    Questions & Answers
    3
    8
    2229
    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.
    • isp00rt
      isp00rt last edited by

      I am creating a new EA and I need an indicator that is not available on the Fxdreema list. I see I can select my personal indocators but every time I click on "click here" to do it, nothing happens. How can I upload it?

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        click here?

        To add a new indicator (its input parameters actually), go to "My Indicators", then click on "Add Custom Indicator" and then on the right side you will see a button on the top. Click on it, browse to the file, load it and its parameters should appear. Then Click on "Update"

        1 Reply Last reply Reply Quote 0
        • isp00rt
          isp00rt last edited by

          Ok, done. One more question, please. I read the indicator itself is not uploaded. Does it mean it must be active on my chart for the EA to use it?

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            I was saying this only as an information. The indicator must exists as an .ex4 file in /Indicators of course. Even if you manually write an EA, you don't actually need the indicator contents, you only need the name and the input parameters of the indicator. Indicators work as a separate program, they are not embedded into the EA. The EA only "calls" them, in other words - tells MT4 to load them and get the information from them - and they are automatically loaded and connected with the EA.

            If you manually load and indicator to the chart, this is another instance of the indicator, but its data is not used by the EA. The EA deals with indicators automatically.

            1 Reply Last reply Reply Quote 0
            • F
              Flipflop4 last edited by

              I have a question (more like a desperate plea for help) about custom indicators so rather than start a new thread I'll pop it here. I'm trying to create an EA which uses the output signals (are these called buffers?) from two custom indicators. I read the help about using the 'trace' block but couldn't find the block itself. I thought maybe it had been replaced with the 'Indicator tester' block but I really am a complete novice at this so didn't know what to do with it.

              Anyway, one of the indicators gives out big red and green arrows (amongst other signals) and the other is a moving average indicator which changes between Green (Up), Red (Down) and Yellow (Flat) - what I'd like to do is have it so that when several of these MAs are in agreement with each other and the last big arrow signal (within X candles) the EA opens a buy/sell order and we take it from there. Seems simple enough but I can't get my head around how to make the conditions do what I need them to do.

              The part of code below is for the ma in colour indi... hoepfully pasted the right bit.

              //---- indicator settings
              
              #property  indicator_chart_window
              #property  indicator_buffers 3
              #property indicator_color1 Yellow      
              #property indicator_color2 Green
              #property indicator_color3 Red
              
              extern int       MAPeriod=14;
              extern int       MAType=1;
              
              //---- buffers
              
              double ExtMapBuffer1[];
              double ExtMapBuffer2[];
              double ExtMapBuffer3[];
              
              //---- variables
              
              int    MAMode;
              string strMAType;
              
              
              //+------------------------------------------------------------------+
              //| Custom indicator initialization function                         |
              //+------------------------------------------------------------------+
              int init()
                {
                 IndicatorBuffers(3);
                 
              //---- drawing settings
                 SetIndexBuffer(2,ExtMapBuffer1);
                 SetIndexBuffer(1,ExtMapBuffer2);
                 SetIndexBuffer(0,ExtMapBuffer3);
                 
                 SetIndexStyle(2,DRAW_LINE,STYLE_SOLID,2);
                 SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,2);
                 SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,2);
              

              So at the moment I have the left operand in the condition block set to my indicators > ma in colour > selected the buffer (e.g., green) == value, numeric, 1 (right operand).... clearly this isn't right. I only have the ex4 for the other indicator so I'll try find a way to either attach it or link it here...

              Thanks in advance and apologies for the headache!

              1 Reply Last reply Reply Quote 0
              • F
                Flipflop4 last edited by

                A link to the second indi I'm trying to use http://dropcanvas.com/4nu13 - it's the HGI indicator from stevehopwoodforex, created by minds far superior to mine.

                1 Reply Last reply Reply Quote 0
                • fxDreema
                  fxDreema last edited by

                  You know, I explain arrow indicators so often, that now I really hate to do it 🙂 Search for EMPTY_VALUE in the forum and probably you will find some of these explanations.
                  Unfortunately there is no built-in custom indicator (in /Indicators) that puts arrows and works as regular custom-made arrow indicators. I wanted to make and example and put it in "Examples", but what can I do. Yes, I can find some custom indicator and do it with it, but then the person who will see that example will not have this indicator installed, and I prefer all examples to be ready for testing.

                  Yes, I renamed "Indicator tester" to "Trace". I also updated it a little bit, so now it outputs prettier information. You can always use "Trace" on the server for testing indicators, no problem at all.

                  Hint: For arrow indicators, if they don't work, try with Candle ID bigger than 0

                  1 Reply Last reply Reply Quote 0
                  • F
                    Flipflop4 last edited by

                    Thank you so much for your reply. Been away but now I'm back I'll try everything you've mentioned.

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

                    Online Users

                    P
                    G
                    R
                    N
                    S
                    E
                    E
                    M
                    O
                    B
                    M
                    Z
                    S
                    S
                    T

                    26
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors