Custom Candlestick Patterns in ThinkOrSwim

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

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

  • @TOSIndicators
    @TOSIndicators  11 месяцев назад +8

    Here's the thinkScript code from the video:
    def greenCandle = close > open;
    def prevCandleLow = low < low[1] and close[1] < open[1];
    def upperWick = high - close;
    def lowerWick = open - low;
    def wickCondition = lowerWick >= 4*upperWick;
    plot signal = greenCandle and prevCandleLow and wickCondition;
    signal.setPaintingStrategy(PaintingStrategy.Boolean_Arrow_Up);

  • @neuvocastezero1838
    @neuvocastezero1838 11 месяцев назад +1

    Thanks for sharing another useful idea, you're an excellent teacher.

    • @TOSIndicators
      @TOSIndicators  11 месяцев назад

      Thank you for those kind words :) I appreciate that.

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

    These vids are awesome!
    Ofc you can combine various bar patterns with any number of other things, like MAs, crossovers, etc., etc., and have a nice little tradable system with edge.

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

    very good

  • @justtrade9903
    @justtrade9903 11 месяцев назад

    This indicator is very useful. Thanks to you, this is where I learned how to Thinkscript. I've added this indicator, and I found an error. Because you have the wickCondition set with 4*upperWick, and when the greenCandle has no upper wick, then this value (high - close) becomes a zero thus the multiplier of 4 becomes zero too and you end up having a up arrow even a mini down wick on the green candle.

    • @TOSIndicators
      @TOSIndicators  11 месяцев назад

      Glad it was helpful!

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

      I don't know anything about coding, but is there a way to artificially add a constant to the upper wick to make it a positive number with which to run the tool?

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

      i added
      def adjustedUpperWick = upperWick + 0.0001;
      and it appears to be functioning and has identified some no wick candles that appear to be reversal indicators. Let me know what you see.

  • @marwanm8942
    @marwanm8942 11 месяцев назад +2

    Thumbs up and Like!

  • @shahbazimmanuel9859
    @shahbazimmanuel9859 7 месяцев назад +1

    Thankyou for the awesome video. I appreciate your time and effort. I was confused about scripting and looking for some course to master this technique. I am new in trading (day). Need more help, do you have a course for beginners.

    • @TOSIndicators
      @TOSIndicators  7 месяцев назад

      Glad to hear it was helpful! You can find more free, beginner-friendly tutorials on our website here: www.tosindicators.com/learn

  • @andylandAMband
    @andylandAMband 2 месяца назад

    SO you can scan for this pattern in a index?

  • @cornerboytep
    @cornerboytep 11 месяцев назад

    This is amazing and I really love this. Can you do one for a shooting star?

    • @TOSIndicators
      @TOSIndicators  11 месяцев назад

      TOS has a shooting star pattern that they've already coded up! You can find the code in the "Patterns" tab, under "Candlestick" and use that as a starting point to modify.

  • @PortCity08
    @PortCity08 4 месяца назад +1

    dope

  • @paulbreaux909
    @paulbreaux909 11 месяцев назад +2

    Could you do the opposite of this to get a sell signal as well?

    • @justtrade9903
      @justtrade9903 11 месяцев назад +1

      Just modify the code to the complete opposite. 🤦‍♀

    • @rfox323
      @rfox323 11 месяцев назад

      Easier said than done. I tried multiple times and could not get it to work properly@@justtrade9903

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

      try this:
      def redCandle = close < open;
      def prevCandleHigh = high > high[1] and close[1] > open[1];
      def lowerWick = close - low;
      def upperWick = high - open;
      def adjustedLowerWick = lowerWick + 0.0001;
      def wickCondition = upperWick >= 4*adjustedLowerWick;
      plot signal = redCandle and prevCandleHigh and wickCondition;
      signal.setPaintingStrategy(PaintingStrategy.Boolean_Arrow_Down);
      signal.SetLineWeight(5);

  • @johnsmith-tu9ii
    @johnsmith-tu9ii 6 месяцев назад

    Would this work as well on a shorter time frame chart? let's say 1min, or 5min, or 15min. 🤔 Also, another great video! Thank you for making it.😊

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

    This might be a dumb question but how do u insert the code into tos ?

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

      If you need help importing the an indicator into ThinkOrSwim, here's a step by step guide that should help you: tosindicators.com/thinkscript/how-to-import-thinkorswim

  • @AH247-qn5uf
    @AH247-qn5uf 9 месяцев назад +1

    ❤❤❤

  • @nicolasvera1383
    @nicolasvera1383 11 месяцев назад

    Can you please post script it gives me an error while writing it.

    • @TOSIndicators
      @TOSIndicators  11 месяцев назад

      Hi Nicolas - Added it for you in the pinned comment!