fxDreema

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

    Chart Objects from external indicator

    Questions & Answers
    2
    4
    1893
    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.
    • C
      coverman last edited by

      I am trying to build an EA with an external indicator.
      The indicator places green and red arrows on the chart in the direction when to trade.
      The colors of the arrows can be set in the Buffer 2 and Buffer 3.
      I thought I could make a check if Buffer 2 != 0 then BUY.
      If Buffer 3 != 0 then SELL.

      But nothing happens, so I guess it's not sending out anything throught that buffer which is controlling the colors.
      Is there any other way to check this? I think I read about something called Levels Tester to check the output, but can't find that block and not sure how to use it then.
      Or is there any other solution that might work? Any ideas?

      timmyhanke 1 Reply Last reply Reply Quote 0
      • timmyhanke
        timmyhanke @coverman last edited by

        @coverman

        usually for arrows from indicator that dosnt plot objects use the indicator is visible block , and be sure that the indicator draws the arrows at the same candle otherwise you have to set how many candles back that block shall check for the buffer arrow.

        1 Reply Last reply Reply Quote 0
        • C
          coverman last edited by

          Thanx a lot. That's it. It place the arrows on the previous candle when it close.
          I knew it does, but didn't think about it for the EA. So now it seems to work. Now I will just try to make it do what I want it to do.

          timmyhanke 1 Reply Last reply Reply Quote 0
          • timmyhanke
            timmyhanke @coverman last edited by

            @coverman

            If you need further help don't be afraid to ask 🙂

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

            Online Users

            H
            B
            K
            A
            S

            15
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors