fxDreema

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

    Combined point trading system

    Questions & Answers
    2
    10
    1841
    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.
    • D
      Daniel95 last edited by

      Dear FxDreemas,

      I want to build a buy and sell system which is based on different indicators.

      The idea is to give an event (for example a crossover) a certain number of points, adding all points to a total score, divide the total score by the number of all events those can happen and buy or sell if the divided score is above a certain value.

      For example a simple buy strategy with two events:

      1 Event: Moving average 1 > Moving average 2 = 2 buypoints
      2 Event: Moving average 2 > Moving average 3 = 3 buypoints

      Lets say we would buy once if we have a finale score which is equal or above 1,5 buypoints.

      1 Event = true and 2 Event = false - in this case we would get 2 buypoints divided by the number of all events (2) we would get only 1 buypoint, which would be not enough buypoints to buy once.

      Another example:

      1 Event = false and 2 Event = true - in this case we would get 3 buypoints divided by the number of all events (2) we would get 1,5 buypoints, which would be enough buypoints to buy once.

      How can I build such a system?

      Many thanks in advance for your help!! 🙂

      Kind regards

      Daniel

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

        question is: are conditions meet in one time (at once) for collecting points, or can be delay between conditions?

        if at once, just use variables ...

        0_1485299330582_upload-b3e3da41-362b-4a0b-82cd-ff5482273556

        that "no buy" block can be first in scheme 😄 ..

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

        1 Reply Last reply Reply Quote 0
        • D
          Daniel95 last edited by

          Thanks! I will try it out.

          1 Reply Last reply Reply Quote 0
          • D
            Daniel95 last edited by

            Hey

            Could you have a quick look over this: https://fxdreema.com/shared/HaotGwZRd

            Thanks

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

              and is it working as you expected?

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

              1 Reply Last reply Reply Quote 0
              • D
                Daniel95 last edited by

                Yes, but I´m worried about to many blocks in one project. Could it be that the calculation is still running but the current tick is over?

                And how do I get the variables in the condition block? Can you give me an example?

                Thanks a lot!

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

                  yes wait while I check on it and show you example ...

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

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

                    https://fxdreema.com/shared/aWkdkULae
                    try this

                    dont worry about calculation in one tick, it is fast enough

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

                    1 Reply Last reply Reply Quote 0
                    • D
                      Daniel95 last edited by

                      Thanks for that! I could send you an Inbox, if I am finish - If you like 🙂

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

                        you can post also here in forum 😄

                        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

                        M
                        P
                        S
                        A
                        E
                        M
                        F

                        24
                        Online

                        146.6k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors