fxDreema

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

    Using iCustom Feature

    Questions & Answers
    3
    8
    3139
    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.
    • E
      eklonsousa last edited by

      Hi guys!

      I'm starting to use fxDreema to develop an EA using a custom indicator bought at MQL5 and I need to get signal from buffer 14 to buy and signal from buffer 15 to sell, as code :

      if( GetIndicatorValue(14) > 0 ) then buy

      if( GetIndicatorValue(15) > 0 ) then sell

      Which is the best way to program this using FxDreema? The indicator's develop sent this code and I don't know how to join them.

      Thanks!

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

        fxDreema is an EA builder, but one of those where you normally don't need to write code. To work with a custom indicator, go to My Indicators and add the indicator there. Then you can use "Condition" block and select the indicator (http://prntscr.com/i08ais), also select the correct buffer number, parameters and everything. Then on the right side select Value -> Numeric if you want to compare it with 0.

        But when working with custom indicators, I always advice to check the indicator first with that Trace block: https://fxdreema.com/demo/mt4-trace-multiple

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

          Thanks for your reply!

          Do I need to use both, Condition and Trace, or do Trace replace Condition for indicator?
          Please, take a look:
          https://fxdreema.com/shared/EvY7Mvv4d

          My backtests do not run at all. It stay stucked.

          1 Reply Last reply Reply Quote 0
          • M
            miro1360 last edited by

            there is possibility that your indicator plot only arrows as objects and not into buffers ... it is way how some indicators are done .... are you using adx crosses? if yes, than arrows are simple only adx cross based on DI condition:

            0_1516044932732_e9e9a980-4571-45e6-8308-ccf0c3003a5b-image.png

            Between trading and gambling is a very small gap, be careful.

            E 1 Reply Last reply Reply Quote 0
            • E
              eklonsousa @miro1360 last edited by

              @miro1360 Thanks for your reply!

              This indicator uses Buffers. Also the developer sent an code with the correct iCustom feature. I'm facing some issue while programming using fxDreema.

              I've made a test using trace . I'm not sure about it and the backtest worked but not the Ea. I mean, the EA open orders in every single candle from that TF.

              It looks like this:
              alt text

              Thank you so much!

              1 Reply Last reply Reply Quote 0
              • M
                miro1360 last edited by

                if this is your indicator:
                0_1516053233856_61c15664-78f8-4bef-9b63-0a6ef5384c11-image.png

                you can see, that here is a lot of buffers from which is indicator line constructed, blue color is one buffer, orange color is another, than here is red and orange arrow as another buffers ...
                these buffers are sometimes active (have value) and sometimes are not (they have value too but it is called EMPTY_VALUE)

                trace block is for visual tracking (finding) values from buffer and observing how behave these values (in visual tester) ... it is NOT for runing other blocks (for trading as in your example) ... with trace block you can find buffer behaviour and with Condition block you set right condition for buffer ... in your example replace Trace with Condition block ...

                Between trading and gambling is a very small gap, be careful.

                E 2 Replies Last reply Reply Quote 0
                • E
                  eklonsousa @miro1360 last edited by

                  Great @miro1360 !

                  I've tried with condition block but the EA doesn't work. The Backtest stay stucked.

                  I'll try with another setups.

                  Thank you so much for your help!

                  1 Reply Last reply Reply Quote 0
                  • E
                    eklonsousa @miro1360 last edited by eklonsousa

                    Hey guys!

                    I'm using the Condition Block "When indicator appear". I want to open a trade only when the buffer turn from 0 to 1.

                    But my backtest dont run. It stay stucked consuming memory machine. Do you think that it can be a buffer issue?

                    this code was sent by the developer :

                    0_1516109144810_Screen Shot 2018-01-16 at 11.22.38.png

                    And I`m using buffers 14/15 .

                    I've removed all rules just to try the back test. My EA is just like this:
                    https://fxdreema.com/shared/PCHeRb3ud

                    Thanks in advance

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

                    Online Users

                    A
                    S
                    I
                    H
                    M
                    D
                    A
                    W

                    12
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors