fxDreema

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

    Custom inidcator

    Questions & Answers
    3
    6
    1418
    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.
    • G
      Goatan last edited by

      I'm having problem using a custom indicator. It provides three signals buy sell exit. I want to use this indicator so that if it indicates buy then a buy order is made if it indicates sell or exit then the buy order is closed, and vice verse. but I'm really struggling to get anything to work.

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

        Indicators are very different. Use "Indicator tester" block to visually see what values some of it's buffers sends to the EA, so when you know this you will have an idea how it works. If everything is fine you can use "Condition" block to compare values or one of the blocks in "Indicators" category - they are like special versions of "Condition" block and works for most indicators.

        1 Reply Last reply Reply Quote 0
        • E
          ergin09 last edited by

          how can we use indicator tester is there any help document or tutorial

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

            Connect it with "Pass" under "on Tick" and select some indicator inside. Here is a little example with it (it was previously named "Levels tester" and I have to update this example): http://fxdreema.com/demo/levels-tester

            1 Reply Last reply Reply Quote 0
            • E
              ergin09 last edited by

              after that how can i open a order when buy signals come out in indicator ?

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

                You have "on Tick" - blocks placed there are executed on every tick. Well, the ones at the top (where no blocks are connected above them). These blocks should be conditions, filters... anything that asks for certain condition before taking some actions.

                Tick comes -> Check some conditions -> Do some actions.

                For example, conditions might be:
                No trade is running -> Check if MA5 is above MA10

                and the action can be:
                Buy now

                Also there is a category for working with indicators. This category is named "Indicators" and it contains some blocks that are some kind of complex Condition block. Also Condition can be used to check what it has to be checked.

                Indicators are different in how they communicate with the EA. They communicate with their buffers. On each of these buffers you have current value and values for each bar in the history where the indicator is drawn. A buffer is an array... if we have to say it in programming language. And "Indicators tester" is used to just see what is in a single buffer, at least to know if it's something meaningful, not crap (because there are many indicators with crap on their buffers).

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

                Online Users

                M
                M

                10
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors