Code a Buy-Hold Trading Strategy for Stock Indices in Python

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 17

  • @vandesar9114
    @vandesar9114 3 роки тому +3

    good job, your videos are getting better.

  • @knarim1
    @knarim1 Рік тому

    Great video👍. Every buy is 10000?

  • @NduruBlanket
    @NduruBlanket Рік тому

    How do you backtest that strategy on mt5 strategy tester?

  • @alpsgrin4501
    @alpsgrin4501 3 роки тому

    please give advice or how would you prefer to search for patterns in real time by intercepting the data stream from the broker before reaching MT5. or write from MT5 to the SQL database and scan the screener there

    • @ATJTraders618
      @ATJTraders618  3 роки тому

      The way I would do is to simply write from MT5 to SQL and work from there.
      For people who do not want to work with databases can just create a Thread that will store the MT5 Ticks/Rates in memory.

  • @suhanulkabir2959
    @suhanulkabir2959 Рік тому

    Can I contact with you?

  • @alpsgrin4501
    @alpsgrin4501 3 роки тому

    please tell me why take profit and stop loss cannot be specified as a percentage of the entry price of a trade by ticker?

    • @ATJTraders618
      @ATJTraders618  3 роки тому +2

      Take Profit and Stop Loss can definitely be added. You can modify the strategy to your liking. I don't want to tell other people how to trade, but rather, provide the tools and knowledge to develop trading strategies.

  • @sasithaishara3690
    @sasithaishara3690 3 роки тому +1

    plz do for RSI indicator strategy

    • @ATJTraders618
      @ATJTraders618  3 роки тому

      Sure thing! Do you want a Mean Reversion Strategy? Buy when oversold and sell when overbought?

    • @deveshverma8662
      @deveshverma8662 3 роки тому

      @@ATJTraders618 I want mean revision strategy

    • @eliotharreau7627
      @eliotharreau7627 2 роки тому

      Yes Bro, please make a Mean Reverse strategy. It will be perfect one !!!

  • @alpsgrin4501
    @alpsgrin4501 3 роки тому

    do you have an open source graphic program with buy and sell buttons or can you show us a tutorial on Pyqt or is this an idea for the next lesson))

    • @ATJTraders618
      @ATJTraders618  3 роки тому

      Hey there. I do plan to create a fully functioning GUI app that has Buy/Sell buttons in the future. But to open source it, it requires alot of time and testing before I would do something like that.
      I have made an App with TkInter here: ua-cam.com/video/G7mwfE1Uorw/v-deo.html
      I have also made a Web App using Plotly-Dash Framework which has Buy/Sell buttons here: ua-cam.com/video/4MPZATQZLDs/v-deo.html
      Thanks for your feedback. I will keep this idea for future projects.

  • @alpsgrin4501
    @alpsgrin4501 3 роки тому

    you didn’t think about how to add completed transactions to the sql database and automatically enter ID transactions into python code and not manually drive in each time

    • @ATJTraders618
      @ATJTraders618  3 роки тому

      Thanks for the suggestion. Adding a DB would definitely make sense. Maybe I will add SQLite as an improvement for the Strategy Class.