fxDreema

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

    mark past MA crossovers

    Questions & Answers
    3
    6
    1646
    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
      alexdepa last edited by

      Hi fxDreema!
      I need something (EA or Script) that show me when a MA crossover happened in the past, and it should mark it with a symbol or something. So ideally, once added this EA or Script on the chart, I should see a symbol every time a MA crossover happened until last candle.
      Is it possible with fxDreema?

      Many thanks,
      Alessandro

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

        it is possible with fxdreema, but first you need learn working with fxdreema on easier way to understand logic

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

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

          Actually it was more than 6 months that I work with fxDreema and I can say I understood its logic...at least for building EA that work on forward conditions, but I can't figure out how trace something happend in the past. So, if you can help me you are welcome...

          Thanks,
          Alessandro

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

            work in onInit section or use block pass once, use loop function block or counter (from counters), use increased or decreased variable for looking candles in condition block with indicators and this crossing you can mark with something from objects with specific time/candle ... 🙂

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

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

              Well, this thing is... I can't say impossible, but it will be ugly. The logic itself is really easy - "for" loop, checking values in it and breaking the loop when the crossover is detected. There is a block to start loop in fxDreema, but then you can't break it. I would say that the whole idea is much better to be made as a custom indicator.

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

                Many thanks for your reply.

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

                Online Users

                D
                S
                G

                16
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors