fxDreema

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

    Trend folowing strategy

    Questions & Answers
    4
    5
    3320
    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.
    • L
      laccio last edited by laccio

      Hi everybody,
      I am looking for an easy way to follow the trend. I need that my EA open long position only if the trend is ascending, and open short position only when the trend is descending. Mostly I need that when trend is horizontal it doesn't open trades. I am trying to find a way to tell my EA to follow a trendline but maybe I am not able to set it. I tried also with indicator rise and indicator fall but it not works very well. Can someone help me?

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

        Maybe if you show some example that should work, but it doesn't. Those blocks should work.

        And what "follow a trendline" means. You see, the EA is just a program and it does exactly what you program it to do. If it needs to compare two values, it compares them. But the term Trend is more complex, so there is no block like "In trend?" or "In range?" 🙂

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

          rsi and moving average
          rsi7 above level 60 is up trend, two moving averages as
          MA13>MA42 is up trend
          ... but all depends on your criteria, what is period of trend (long or short trend?) set it with periodes/timeframe

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

          1 Reply Last reply Reply Quote 0
          • L
            laccio last edited by

            Well, thank you guys for your reply.
            I mean exactly this:
            Price x> High of previous candle (so ID 1) ----> Go long.
            Price <x Low of previous candle ----> Go Short
            Good, these parameters works very well.

            I need an intraday strategy fast open/close, so today I tried it manually in real time on MT4 on Dax Germany 30 and it works very well because a strong buy trend, really strong. I got around 20 signals with a percentage of profit of 84%.
            Substantially I need that my EA detect a strong trend (Buy or Long) and avoid to enter a trade during a lazy trend.
            I tried to put an EMA rise with default settings and works well, but it gave me only 4 singnals, maybe (for sure) I did something wrong.
            I share my project, please consider that on my broker DAX 100 pips mean 1 pip
            https://fxdreema.com/shared/X2eF3jXhd
            Thank you again

            1 Reply Last reply Reply Quote 0
            • S
              Sonric_Rich last edited by

              For Buy checking, you could use "Price x> Indicator" for "Market Properties" "Highest Price (Candles Period)" Start Candle =1 and End Candle = Constant (so you can vary it) Get "Price Value"
              0_1516501647287_6413eadd-6056-4271-955f-a1afd0812874-image.png

              Then opposite for Sells - Lowest Price...

              This performs the same function as the Donchian Price Channels indicator (per the original Turtles).

              The standard Turtle approach is to find the Highest/Lowest Price (end candle) in the last 55 candles (was daily in their settings), so this helps with not getting in before the trend (or "run") has established.
              So play with the End Candle setting til you get a value you are happy with.

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

              Online Users

              E
              A
              G
              Q
              C
              T

              18
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors