Heiken Ashi Candles In Python For Trading Systems

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 69

  • @칠월이십삼일
    @칠월이십삼일 2 роки тому +5

    Hello, I majored in artificial intelligence and am interested in algorithm trading I'm getting a lot of inspiration from watching your video I am not good at English, but I think it is the most useful channel on UA-cam related to btc strategy Thank You😊

    • @CodeTradingCafe
      @CodeTradingCafe  2 роки тому +1

      Thank you for your support, the best is to get experience also in trading first before building trading algos, it will be a challenging hobby ,🙂 good luck

    • @print.youtube
      @print.youtube 8 місяців тому

      Are you from India?

  • @Zenoandturtle
    @Zenoandturtle Рік тому +4

    Your presentations are among the best I had seen to date. Thanks for the amazing work.

    • @CodeTradingCafe
      @CodeTradingCafe  Рік тому +1

      Wow, thank you for your support! Glad you like them.

  • @musiclover1067
    @musiclover1067 Рік тому +3

    Love your work! Please keep producing more!

    • @CodeTradingCafe
      @CodeTradingCafe  Рік тому +1

      Thank you for your support! More is coming, hoping to explore more interesting ideas this summer.

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

      @@CodeTradingCafe Will be looking out for more of your works!

  • @Dr.jayfrancis
    @Dr.jayfrancis 2 роки тому +6

    Way to go!! Congrats on 8k subs !!

    • @CodeTradingCafe
      @CodeTradingCafe  2 роки тому +4

      Thank you for your support 😊

    • @Dr.jayfrancis
      @Dr.jayfrancis 2 роки тому +3

      @@CodeTradingCafe always! Such valuable content!

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

      @@Dr.jayfrancis stick around you might be rich one day 🙂

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

      ​@@CodeTradingCafe how can I contact u? Mail id ??

  • @ashokkumar2342
    @ashokkumar2342 10 годин тому

    This is help lot of you thank you and request for the scalping algo more video

  • @al5ailalzahby816
    @al5ailalzahby816 Рік тому +2

    This has helped me a lot, thank you🏅🏅

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

      Thank you, it's good to know I think this that was least favorite video :)

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

    Very good, include trailing Stoploss👌

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

      I had the time thought but the video was already longer than intended...

  • @cathye.4999
    @cathye.4999 Рік тому +3

    Excellent. Quick ?; the backtesting was with Backtest, how about with VectorBT?

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

      Hey, thank you, I tried VectorBT in the past for some reason I just kept using Backtesting, you are right maybe it's worth using 2 testing libraries for validation.

    • @cathye.4999
      @cathye.4999 Рік тому

      @@CodeTradingCafe thank you.

  • @boamahmarcus4002
    @boamahmarcus4002 8 місяців тому +1

    I loved it bro

    • @CodeTradingCafe
      @CodeTradingCafe  8 місяців тому

      Thank you, but HA didn't work well for me, trading wise.

  • @TheEcherriman
    @TheEcherriman Рік тому +1

    Can you please explain to a thickie how the high and low can be anything other than THE high or low ?

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

      Good question got me confused for a second, actually the heiken low and high are obtained from minimum and max values considering the current candle and the previous candle as well check how heiken open and close are obtained using previous candle data, so if the previous candle has higher or lower values then the current your current high and low are discarded. I hope this answer helps a bit.

  • @s.sasisekhar4608
    @s.sasisekhar4608 2 роки тому +3

    Very good

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

      Thank you for your support, I am glad you liked it!

    • @s.sasisekhar4608
      @s.sasisekhar4608 2 роки тому +2

      @@CodeTradingCafe I am wondering how come UA-cam never recommended me this channel from a long time. Your channel content is extremely useful, it's gold mine for learning. Can you recommend me some strategies that work like stop & reverse mechanism without using any indicator (pure price action) for short term trend catching

    • @CodeTradingCafe
      @CodeTradingCafe  2 роки тому +2

      @@s.sasisekhar4608 thank you for your comment, it's always nice to have encouragement. Price action is actually the best indicator statistically speaking, the engulfing pattern is the most rewarding so far provided you take support and resistance into account, then comes the trade management when do you exit a winning trade?

  • @insertnamehere3022
    @insertnamehere3022 Рік тому +1

    So you effectively need the data from the start of the asset's inception to get accurate heiken ashi values?

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

      Not even sure if it will ever be "accurate" the problem is that HA adds an abstraction level and it doesn't look useful just a different way of looking at the chart.

  • @ЭльмарИдрисов-г5э
    @ЭльмарИдрисов-г5э 2 роки тому +5

    Hi. Great content as usual! A question: do you do all your analysis locally or do you use some cloud services (AWS/Azure/Herocu) ?

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

      Locally for the moment even for lstm a good pc can be enough

  • @jiandepi
    @jiandepi 10 місяців тому +1

    hello,your presentations is wonderful,the Heiken Ashi candlesticks is very like the goNogo Trend indictor I learn recently,can you show me the goNogo Trend indictor how to python it?Thank you.

    • @CodeTradingCafe
      @CodeTradingCafe  10 місяців тому

      Hi thank you, I could add to the list, but the list is long so if you are in a hurry it might be faster to code it on a side.

    • @jiandepi
      @jiandepi 10 місяців тому

      I've already sent you an email. Thank you!@@CodeTradingCafe

  • @gvidalcantavella
    @gvidalcantavella 3 місяці тому

    Lovely work!
    I wonder, maybe heiken ashi candle are better for setting support and resistance levels based on those values since they contain less noise right?

    • @CodeTradingCafe
      @CodeTradingCafe  3 місяці тому

      Never thought about it, I could easily give it a try. Thank you for your support.

  • @arianjain
    @arianjain 8 місяців тому +2

    pz renko setup

    • @CodeTradingCafe
      @CodeTradingCafe  8 місяців тому

      it's possible but I don't see much potential.

  • @kanaya1991
    @kanaya1991 2 роки тому +2

    hi bro! Could you try the harmonic trading strategy? (bat, butterfly, crab, gartley, etc) there is a youtube channel that left the project complete but without a complete backtest as you do.
    thanks for everything, greetings you a newbie to python!

    • @CodeTradingCafe
      @CodeTradingCafe  2 роки тому +2

      Hey, I will keep it in mind although I never believed in harmonics.. reminds of my first years in trading 🙂

  • @Sniper_Entry
    @Sniper_Entry 2 роки тому +2

    Wat is setting for fast n slow ema

    • @CodeTradingCafe
      @CodeTradingCafe  2 роки тому +1

      Hi, I don't remember exactly something around 30 and 50 you can find the exact values in the code.

  • @whereiam3804
    @whereiam3804 Рік тому +2

    I want to make my strategy run on for multiple api s . If u can build a platform?

    • @CodeTradingCafe
      @CodeTradingCafe  Рік тому +1

      Hi thank you, a platform is a bit too large of a project, it's better to choose one API at a time in python.

    • @billcrocker1054
      @billcrocker1054 Рік тому +1

      See the QuantConnect platform.

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

      Thank you

    • @kvekka9300
      @kvekka9300 Рік тому +2

      I can do that for you, but a price

  • @print.youtube
    @print.youtube 8 місяців тому +1

    Please please please make video on renko candlestick 🙏🏻

    • @CodeTradingCafe
      @CodeTradingCafe  8 місяців тому

      It's not difficult but I am not sure it's worth it. Do you have any Renko strategy that works?

  • @Cat-su7bm
    @Cat-su7bm 2 роки тому +2

    Usefull ^-^

  • @andstudio1517
    @andstudio1517 Рік тому +1

    Is there any way to contact u ?

  • @zvi1988
    @zvi1988 5 місяців тому +1

    Hello ,
    i think that your cosed is wrong and u should modify this part in your backtest . you are checking
    a logical wrong comdition
    self.data.Heiken_Open[-1]>=self.data.Heiken_Open[-1]):
    it should be :
    if len(self.trades) > 0:
    if (self.trades[-1].is_long
    and self.data.Heiken_Close[-1] < self.data.Heiken_Open[-1]):
    self.trades[-1].close()
    elif (self.trades[-1].is_short
    and self.data.Heiken_Close[-1] > self.data.Heiken_Open[-1]):
    self.trades[-1].close()

    • @CodeTradingCafe
      @CodeTradingCafe  5 місяців тому

      Hi, you are actually right, all this time I haven't noticed, I need to revisit this and recheck the results! Thank you for the heads up.

  • @redjonzani8610
    @redjonzani8610 2 роки тому +2

    Hello
    i watched some of your videos and was astonished , is there a way i can send you an email or some contact to get some small advice and help from your side if you got some free time .
    Thank you

    • @redjonzani8610
      @redjonzani8610 2 роки тому +1

      @CodeTrading

    • @CodeTradingCafe
      @CodeTradingCafe  2 роки тому +1

      Hi thank you for your comment, I could eventually give an opinion but depending on how much time this requires, sorry about the time issue but work books most of my efforts.

    • @CodeTradingCafe
      @CodeTradingCafe  2 роки тому +1

      My contact is in the about page, codingntrading gmail com