How to trade Linear Regression: with Strategy Settings!

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 71

  • @StatOasis
    @StatOasis  2 года назад +1

    Use Monte Carlo Simulation in Trading: ruclips.net/video/0gowMNRc9u8/видео.html

  • @uiop5898
    @uiop5898 2 года назад +7

    May I say that I love your videos. Everything is perfect. Your experimental scientific approach to trading, the quality of your video skills, your humor and your generosity to share your knowledge. Respect. 🙏🙏🙏

  • @jimmccarthy6004
    @jimmccarthy6004 Год назад +3

    Very well done! Finally, somebody that has some clue of statistical trading, system development, money management, minimizing drawdowns, discipline trading, I'm just getting back into trading after being out of it for many years. Trade station has come a long way! It's such a coincidence because I am currently coding a linear regression system in trade station

  • @LucrativeLeroy
    @LucrativeLeroy Год назад +1

    Now I understand why I love trading these channels.

    • @StatOasis
      @StatOasis  Год назад +1

      love to spread the knowledge ☺

  • @saeedsardar8314
    @saeedsardar8314 3 месяца назад +1

    Hi Ali, how I can get the linear regression Angle indicator which you wrote for this video ? could you please let me know I found your channel pretty late now catching up with your quality contents , its a lot really you have done a wonderful job !!!

    • @StatOasis
      @StatOasis  3 месяца назад

      i dont think i coded that one, it should be available in all platforms, it is the LR angle

  • @covingtoncreek
    @covingtoncreek Год назад +1

    Thanks for this. Why are you trading long only in the video? It seems like you would want to catch the trend whether long or short.

    • @StatOasis
      @StatOasis  Год назад

      Of course u can and in a portfolio long and short will work

  • @pigachejean-eric8537
    @pigachejean-eric8537 Год назад +1

    Which Price of the candle do you Take as dot-point ?
    Ex Close,; mid price ?

    • @StatOasis
      @StatOasis  Год назад

      I dont know what part you are referring to, but usually i use close or typical price (H+L+C)/3

  • @jideononuju9841
    @jideononuju9841 Год назад +1

    Thank you for this video, I draw my linear regression channels manually and they work like magic especially in the currencies markets. They only issue is that I don't know where to start from with algo/quant trading. Too many overwhelming information on the internet. And be the biggest issue with the internet is lack of objectivity, you will always find information that fits your views and also opposes your views, we rarely see anyone that is objective. Thanks for this, but how does a beginner start his algo trading journey?

    • @StatOasis
      @StatOasis  Год назад

      You are right, you will find all views on the internet, but there an objective way to build and test strategies, using rules and statistics, so no objectivity or emotions are used.
      It requires effort for studying and practice 😊
      Check it out go.statoasis.com/atm

  • @mykro2208
    @mykro2208 2 года назад +1

    At 5:07 in the video you describe the dark green bars in the histogram as being a dip in the Lin. Regression. The second green bar from the right of the first dark green bar shows that 3 Red bars had already closed below the Lin. Regression.. My question is.. When do you close out of the trade..? When a red bar closes below the Lin. Regression..?? If you get two dark green bars in a row youv'e most likely already had 4 or 5 bars close below the Lin. Regression... Thanks

    • @StatOasis
      @StatOasis  2 года назад

      you are trading the angle of the indicator, the histogram is just a visualization. think of it this way, if it is rising (red or green) then you go long, if it is falling (red or green) you go short

  • @flybird730
    @flybird730 Год назад +1

    Another great video Ali. Thank you

  • @manu85345
    @manu85345 3 года назад +3

    A soon I close some crypto positions I am definitely going to try your master class

  • @kamwene
    @kamwene Год назад +1

    awesome content! I was a Maths major in High school...i often wanted to put my maths into trading..and..presto...you show Up! Thank you very much . I will keep on learning your content 🤗🤗 and when i have an issue I will prod you up. Asante Sana...👏👏👏

  • @JavadAliakbarisomeeh
    @JavadAliakbarisomeeh 6 месяцев назад +1

    can we draw objects in SQX? for example a line defining two points?

    • @StatOasis
      @StatOasis  6 месяцев назад

      No, SQX is not a charting software

  • @af7960
    @af7960 Год назад +2

    Hi hope you well, there is a linear reg. Strategy in trading view . Can i activate it for auto trade ? Please

    • @StatOasis
      @StatOasis  Год назад

      I dont know their programming language (pine script), so i cant know the logic

  • @jedidiahjeff-onyegbule1313
    @jedidiahjeff-onyegbule1313 2 года назад +1

    I love the way you teach... much love

  • @80amnesia
    @80amnesia Год назад +1

    wow just found you channel, thanks!

    • @StatOasis
      @StatOasis  Год назад

      welcome, you might as well join the FREE community go.statoasis.com/community

  • @Frengdahl
    @Frengdahl 2 года назад +3

    interesting, linear regression I have never tried to build anything on before, will give it a shot. a wealth of good information in your videos for aspiring algo traders, hats off!

    • @StatOasis
      @StatOasis  2 года назад

      glad to share, thank you for watching.

  • @PabloTejerina
    @PabloTejerina Год назад +2

    The backtest didn't work for me on EURUSD for Forex MT4.

    • @StatOasis
      @StatOasis  Год назад

      Could be platform, data, timezone

  • @row77
    @row77 Год назад +1

    hi, what do you think about fractals?

  • @MeritZen
    @MeritZen 2 года назад +1

    What should be period settings for hourly chart for crypto/bitcoin trading

    • @StatOasis
      @StatOasis  2 года назад

      There is no best period, you need to test and see 😊

    • @MeritZen
      @MeritZen 2 года назад

      @@StatOasis what's your opinion from your experience? 160 period or 80 period..? I mean, You feel that there is good amount of probability for x period..

    • @StatOasis
      @StatOasis  2 года назад

      These periods work because they are above daily noise but still kind of active, any period in that range is ok as long as it’s not a peak

    • @MeritZen
      @MeritZen Год назад

      I need more help! Can you please provide some direct answer rather than Being diplomatic. Different timeframe shows different angles. I have tasted it for 80 period. Not getting good results. Can you give me some settings for the 4 hour chart so that i can test. Or 1 hour chart

  • @nussbaumerloris
    @nussbaumerloris 3 года назад +1

    Amazing video as usual, thanks for the effort!

    • @StatOasis
      @StatOasis  3 года назад

      Glad you enjoyed it!

  • @Yewbzee
    @Yewbzee 3 года назад +1

    Cheers Ali, thanks for sharing.

  • @dps6968
    @dps6968 Год назад +1

    How does it perform in forex trading?

    • @StatOasis
      @StatOasis  Год назад

      Most pairs respond well to trend following

  • @majidghorabi1864
    @majidghorabi1864 Год назад +1

    Hi Ali. I hope that the good state.
    I have two experts, one only opens long positions and the other opens short positions. One important condition is checked by each of the experts before opening any trade, and that is that there is no open trade. Therefore, if the signals overlap, and one of the experts has opened trades, at that point of overlap, the other expert should not enter the trade until the trades opened by the other expert are closed.
    We measure this condition with the help of "MarketPositionCount" function. We open two windows in Metatrader and run each of the experts in one of them.
    Unfortunately, what happens is that the "MarketPositionCount" function only works within the expert's own range, and in overlapping areas, both experts are not prohibited from opening a trade, and they don't care if we already have a trade opened by the other expert or no
    How to solve this problem?

    • @StatOasis
      @StatOasis  Год назад +1

      I dont use metatrader, but if both experts trading sme instrument then u can combine them in one with two logics for entry and checking positions.
      if tradingdifferent instruments the u need global variable or portfolio trader

  • @anekestan
    @anekestan Год назад +1

    My problem is how to build and customise my system to use Linear Regression. I am a statistician l understand the statistics. Please send to me how to do it

    • @StatOasis
      @StatOasis  Год назад

      You mean how to code a strategy?

  • @billythekid9874
    @billythekid9874 2 года назад +1

    How can i find the angle of the single data point? Thnx

    • @StatOasis
      @StatOasis  2 года назад

      Value > value (bars ago)

    • @billythekid9874
      @billythekid9874 2 года назад +1

      @@StatOasis thnx man, I really appreciate your work and your videos 💪

  • @anonymanonym8317
    @anonymanonym8317 8 месяцев назад +1

    اكتر من رائع

    • @StatOasis
      @StatOasis  8 месяцев назад

      Thank you for your kind words

  • @luigis.3909
    @luigis.3909 2 года назад

    The name and author of that LRS indicator?

    • @StatOasis
      @StatOasis  2 года назад

      "An examination of publications of Sir Francis Galton and Karl Pearson revealed that Galton's work on
      inherited characteristics of sweet peas led to the initial conceptualization of linear regression. Subsequent
      efforts by Galton and Pearson brought about the more general techniques of multiple regression and the
      product-moment correlation coefficient"
      check out the following for more info:
      www.tandfonline.com/doi/pdf/10.1080/10691898.2001.11910537#:~:text=Although%20Pearson%20did%20develop%20a,notions%20of%20correlation%20and%20regression.

    • @luigis.3909
      @luigis.3909 2 года назад

      @@StatOasis hi, the lrs indicator on tradingview?

    • @StatOasis
      @StatOasis  2 года назад

      in TradingView search for buil in indicators "Linear Regression", for the angle, that is was my indicator in TradeStation, but you can get something like it in TradingView, search for "Linear Regression Slope"

  • @CK-vf8xn
    @CK-vf8xn 2 года назад +1

    Thanks

    • @StatOasis
      @StatOasis  2 года назад

      Thank you for watching

  • @chuckdavis9595
    @chuckdavis9595 2 года назад +2

    4:24 "plotting the angle at each point in time" ........NOT ! LR line has a constant angle ! what are smoking?

    • @StatOasis
      @StatOasis  2 года назад +8

      Say u plot LR for 100 bars, what happen when new data show up, now u have to include new bar and drop first bar and do the calculation again which might or might not change the slope.
      What r u smoking? 😁

    • @ricomajestic
      @ricomajestic 2 года назад +1

      I think he meant slope although you can quantify slope with an angle

  • @StocksToBuyToday88
    @StocksToBuyToday88 6 месяцев назад

    Traded with billions 😂😂😂