fxDreema

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

    EA based on custom indicator not running

    Questions & Answers
    2
    15
    4299
    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.
    • J
      Jaychyke last edited by

      Hello Fxdreema,
      I have read instructions on previous posts about inputs and buffers of custom indicators and how to use them. I've downloaded this custom indicator and done all that I think is needed. The input and output parameters are all captured by the EA, and the indicator is in the "/indicators" folder. however, the EA could not be executed. What is wrong? Please take a look https://fxdreema.com/shared/kI3W49q5b and tell me what I can correct to enable the EA run. Thank you!

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

        probably this is wrong ... you need do it another way ...
        start with using Trace block to view price levels from indicator buffers on the chart (to view values) ...

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

        1 Reply Last reply Reply Quote 0
        • J
          Jaychyke last edited by

          Trace block? Pardon my ignorance. Kindly let me know what it is and how to use it to achieve my aim. Thank you for your prompt reply!

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

            instead of pending buy block place there Trace block (its name is really Trace) ... and set here your indicator to view, where are values placed (on which price level) - in visual tester .. to see, if you are working with correct values ...

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

            J 1 Reply Last reply Reply Quote 0
            • J
              Jaychyke @miro1360 last edited by

              @miro1360 I saw the Trace block, used it, still nothing happened! The EA was still not opening! https://fxdreema.com/shared/zED4QSW3
              However the following are the errors that MQL editor compiled about the project:
              'TF' - undeclared identifier NewEJmod (4).mq4 2432 61
              '240' - some operator expected NewEJmod (4).mq4 2432 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2432 70
              '1' - some operator expected NewEJmod (4).mq4 2432 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2432 82
              '0' - some operator expected NewEJmod (4).mq4 2432 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2450 61
              '240' - some operator expected NewEJmod (4).mq4 2450 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2450 70
              '1' - some operator expected NewEJmod (4).mq4 2450 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2450 82
              '0' - some operator expected NewEJmod (4).mq4 2450 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2464 60
              '240' - some operator expected NewEJmod (4).mq4 2464 63
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2464 69
              '1' - some operator expected NewEJmod (4).mq4 2464 77
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2464 81
              '0' - some operator expected NewEJmod (4).mq4 2464 88
              'TF' - undeclared identifier NewEJmod (4).mq4 2494 61
              '240' - some operator expected NewEJmod (4).mq4 2494 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2494 70
              '1' - some operator expected NewEJmod (4).mq4 2494 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2494 82
              '0' - some operator expected NewEJmod (4).mq4 2494 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2507 61
              '240' - some operator expected NewEJmod (4).mq4 2507 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2507 70
              '1' - some operator expected NewEJmod (4).mq4 2507 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2507 82
              '0' - some operator expected NewEJmod (4).mq4 2507 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2538 61
              '240' - some operator expected NewEJmod (4).mq4 2538 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2538 70
              '1' - some operator expected NewEJmod (4).mq4 2538 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2538 82
              '0' - some operator expected NewEJmod (4).mq4 2538 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2551 61
              '240' - some operator expected NewEJmod (4).mq4 2551 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2551 70
              '1' - some operator expected NewEJmod (4).mq4 2551 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2551 82
              '0' - some operator expected NewEJmod (4).mq4 2551 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2584 61
              '240' - some operator expected NewEJmod (4).mq4 2584 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2584 70
              '1' - some operator expected NewEJmod (4).mq4 2584 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2584 82
              '0' - some operator expected NewEJmod (4).mq4 2584 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2602 61
              '240' - some operator expected NewEJmod (4).mq4 2602 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2602 70
              '1' - some operator expected NewEJmod (4).mq4 2602 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2602 82
              '0' - some operator expected NewEJmod (4).mq4 2602 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2616 60
              '240' - some operator expected NewEJmod (4).mq4 2616 63
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2616 69
              '1' - some operator expected NewEJmod (4).mq4 2616 77
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2616 81
              '0' - some operator expected NewEJmod (4).mq4 2616 88
              'TF' - undeclared identifier NewEJmod (4).mq4 2646 61
              '240' - some operator expected NewEJmod (4).mq4 2646 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2646 70
              '1' - some operator expected NewEJmod (4).mq4 2646 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2646 82
              '0' - some operator expected NewEJmod (4).mq4 2646 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2659 61
              '240' - some operator expected NewEJmod (4).mq4 2659 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2659 70
              '1' - some operator expected NewEJmod (4).mq4 2659 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2659 82
              '0' - some operator expected NewEJmod (4).mq4 2659 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2690 61
              '240' - some operator expected NewEJmod (4).mq4 2690 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2690 70
              '1' - some operator expected NewEJmod (4).mq4 2690 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2690 82
              '0' - some operator expected NewEJmod (4).mq4 2690 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2703 61
              '240' - some operator expected NewEJmod (4).mq4 2703 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2703 70
              '1' - some operator expected NewEJmod (4).mq4 2703 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2703 82
              '0' - some operator expected NewEJmod (4).mq4 2703 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2736 61
              '240' - some operator expected NewEJmod (4).mq4 2736 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2736 70
              '1' - some operator expected NewEJmod (4).mq4 2736 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2736 82
              '0' - some operator expected NewEJmod (4).mq4 2736 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2754 61
              '240' - some operator expected NewEJmod (4).mq4 2754 64
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2754 70
              '1' - some operator expected NewEJmod (4).mq4 2754 78
              'ShMode' - undeclared identifier NewEJmod (4).mq4 2754 82
              '0' - some operator expected NewEJmod (4).mq4 2754 89
              'TF' - undeclared identifier NewEJmod (4).mq4 2768 60
              '240' - some operator expected NewEJmod (4).mq4 2768 63
              'CalMode' - undeclared identifier NewEJmod (4).mq4 2768 69
              Now I have no idea what these mean, and how to correct the errors. Please offer some assistance. Thank you!

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

                add some name into this parameter:
                0_1484093328118_upload-e15b5d1c-683c-458d-9bbd-d08207043b9f

                but look, you are hardly trying to do something with bad way, what can be done in another way, easier way without custom indicator ...

                what I am thinking, you are trying when ADX cross happens, so try this:

                https://fxdreema.com/shared/hHi872n9e

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

                1 Reply Last reply Reply Quote 0
                • J
                  Jaychyke last edited by

                  Thank you so much, at least for the prompt response and willingness to guide. The problem is actually not with the names, because I have added the names to those lines, still the EA cannot open on chart; its just there, not active.

                  And in truth, I am NOT WORKING on, nor my strategy based on ADX crosses. My strategy is based on Pivot points/lines, S4 to R4. Fxdreema has really tried so hard to update the builder with various kinds of Pivot point calculations; this should have been easier for me, but for some reason I cannot explain why the builder's calculations for Classic pivots do not tally with my manual calculations when applied on chart. I have tried to call his attention to this. I guess he's rechecking his latest pivot inputs, otherwise I cannot explain why he is yet to respond to my latest post on Pivot calculations (after 5days). I'm still patiently waiting for the response while my one month subscription runs out!

                  The EA cannot run because, I guess, some parameters needed to have been first "defined". I don't know how to do that, I suppose the EA should have done that itself.
                  This is the grand project I'm working on https://fxdreema.com/shared/pjmwl7PK
                  Some parameters like TF (timeframe) and others in the pending order blocks 2, 3, 7, 14, etc, needed to have been predefined. How do I do that so this EA can run?

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

                    send here formula for your calculations I check it ...

                    and what you sent me project, I can not open it because I dont have your custom indicator ... you need send me this indicator 😄 without it I can not open your project ...

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

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jaychyke last edited by

                      Here is a copy of the Custom Indicator
                      https://www.mql5.com/en/code/download/15777/all_pivot_points.mq4

                      The formula used in the calculation of Classic Pivot Points are:

                      R4 = R3 + RANGE (same as: PP + RANGE * 3)
                      R3 = R2 + RANGE (same as: PP + RANGE * 2)
                      R2 = PP + RANGE
                      R1 = (2 * PP) - LOW
                      PP = (HIGH + LOW + CLOSE) / 3
                      S1 = (2 * PP) - HIGH
                      S2 = PP - RANGE
                      S3 = S2 - RANGE (same as: PP - RANGE * 2)
                      S4 = S3 - RANGE (same as: PP - RANGE * 3)

                      Where R1 through R4 are Resistance levels 1 to 4, PP is the Pivot Point, S1 through S4 are support levels 1 to 4, RANGE is the High minus the Low for the given time frame (usually daily).

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

                        I come here later, now I need to go offline (I must just before but :D)
                        ... and here is how you can resolve your problem with "errors", change first few parameters in your imported custom indicator in fxdreema MyIndicators manager, exactly to this manually (in data type):
                        0_1484119361187_upload-fe11cfd0-41ca-4d44-a524-5293d800d49f

                        but again, you are working in your project with buffers, which values must not be in your requested time as true values for opening order (when is here at 08:00 not value in buffer, EA can not open order with "EMPTY_VALUE" because empty value can be something weird, like big number) ...
                        for this you need filter this time, or on top give some condition which compare this value from buffer if exist (like buffer1 < 300 && buffer 1 > 0 to be sure, that price is from this limit)
                        ....

                        or just wait and I look at pivot points that are in fxdreema, if their are calculated right as you typed here .... but you need wait for this reply few hours (because I am now offline) 🙂

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

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jaychyke last edited by

                          Thank you so much. I've effected the corrections, the EA is now active; but, just like you said, no pending orders are opening yet because of buffer. I will await your response when you come online. I really appreciate!

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

                            as I have not found bugs in fxdreema integrated pivots, here is solution for you how to calculate pivots based on formula which you posted in post above ...

                            calculate it like this:
                            https://fxdreema.com/shared/mJqHifx5d

                            dont forget define variables:
                            0_1484152899696_upload-013b9e50-7803-4d10-8f07-d52439f44461

                            and make sure that calculation of pivots is made first (first block number of pivot calculation is 1 or lowest, as in example project) ...
                            pivots are than stored in variables pp, r1-4, s1-4 and you can work with these variables in your next blocks, like open prices etc ....

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

                            1 Reply Last reply Reply Quote 1
                            • J
                              Jaychyke last edited by

                              You're simply amazing! Thanks very much for your help. First, I hope I could renumber these example blocks, because block 2 is missing? But then, on a lighter mood, I wonder where you got all these seemingly hidden blocks in the builder, I have never seen them nor used them! Under what "Category were they hidden?" They seem to be "custom Blocks". Your help so far is appreciated!

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jaychyke last edited by

                                Does the Block 14 (Pass3 visual test) refer to Block 3 in the example, because I have renumbered the blocks? Or does Block 14 refer to the 3 blocks of 1, 3, and 4?

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

                                  "missing" numbers are not important, important are only top blocks numbers, this is how is connections order working:
                                  blue is order, and next colors are blocks runned in each blue order:
                                  0_1484164228379_upload-21b5ef27-0a10-4172-8bb2-2693e263b502
                                  somewhere in help you can find next explanation for this ...

                                  and the blocks what you mean as "hidden" are not hidden, it are normal blocks in fxdreema, but they are only renamed (right click - rename) (I left original name in begin of this block) .... only "Custom MQL4 block" is little special, because here you can type own "math" or some functions, working with variables in text, etc. ...

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

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

                                  Online Users

                                  N
                                  W
                                  T
                                  J
                                  J
                                  P
                                  M
                                  M
                                  E
                                  M
                                  A

                                  16
                                  Online

                                  146.7k
                                  Users

                                  22.4k
                                  Topics

                                  122.6k
                                  Posts

                                  Powered by NodeBB Forums | Contributors