fxDreema

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

    Sorry guys, where am I wrong???

    Questions & Answers
    2
    8
    1990
    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.
    • A
      alessandromagno last edited by

      Hi all, i'm trying to understand how this beautiful builder works. I'm training with simple stochs and arrows.
      here is what i created but no arrow appears
      https://fxdreema.com/shared/9pXkp0Llb

      The logic is:
      UP arrow when we are above 150 MA and 3 stochs main line are under 10.
      SELL arrow when we are below 150 MA and 3 stochs main line are over 90.

      I'm "on int" field to see also the past arrows.

      Where am I wrong?
      Thank you

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

        place all blocks into "on Tick" section, on Init runs only once while initializing ...

        0_1521040145192_776cbbcf-7cb9-4515-8e02-0ceaef3aaa9d-image.png

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

        1 Reply Last reply Reply Quote 0
        • A
          alessandromagno last edited by

          Thank you very much my friend! now i got 1 arrow!!!
          Anyway i read somewhere a your post where you suggested to move from "on tick" to "on int" in order too see also the past signals...maybe i'm wrong.
          BUT: how can i get past signals also?

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

            yes past signals from on Init is possible, but it was with "loop" -- looping through past candles (their IDs) using arrays, and it is something little complicated but not much ... open that post again and try to understand logic used in that, you must know what are arrays ...
            ... anyway, start with simplier stuffs and continue test them with adding own things into logic, step after step you will be able to create more complicated things ...

            if you want to see history candles only to check, run your EA in visual tester (normally you dont need to use arrays for visual tester, but sometimes maybe yes 😄 depends )

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

            1 Reply Last reply Reply Quote 0
            • A
              alessandromagno last edited by

              Right Miro!
              thanks again

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

                0_1521045820721_948e6de5-14dd-43ae-b3a9-9ce8200bdad3-image.png

                your EA in visual tester

                0_1521045874485_ac56a81f-2262-4c73-80fa-dc5e42144ba3-image.png

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

                1 Reply Last reply Reply Quote 0
                • A
                  alessandromagno last edited by alessandromagno

                  Yes indeed i didn't think about visual tester!
                  Another question, pls, just to understand the logic of builder.

                  I learnt how to draw arrow, so i'm moving on next step. Let's say after a buy arrow i want a "stop" arrow.
                  (I'm trying with envelope bands.)

                  0_1521191615020_Senza titolo.jpeg

                  My thoughts of why i connected blocks like this is: after and only after a buy arrow draw a stop arrow once the second block condition is met (fast lower envelope band crosses up the slower envelope lower band). Viceversa for sell.
                  But no stop arrows appear. I got only the entry arrows...How to correctly connect theme?

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

                    you must somehow check what was last arrow ...
                    if last was buy arrow, than you can draw stop arrow,
                    if last was stop arrow, than nothing will be plot
                    ... but this needs a lot of blocks, and loop 😄 it is not simple

                    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

                    X
                    K
                    F
                    A

                    11
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors