How to use METHODS in Pine Script

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

КОМЕНТАРІ • 18

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

    🚩 My Socials, Newsletter & More Free Content: theartoftrading.com
    🚩 FREE Pine Script Basics Course: courses.theartoftrading.com/courses/pine-script-basics-course
    🚩 Pine Script Mastery Course: courses.theartoftrading.com/courses/pine-script-mastery
    🚩 Lesson Source Code: courses.theartoftrading.com/pages/sorting-custom-arrays-using-methods-in-pine-script
    🚩 My Indicators & Strategies Course (Steal My Code!): courses.theartoftrading.com/courses/my-indicators

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

    Brother, thank you very much for sharing your knowledge. Very good lesson. Blessings

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

    Thanks for sharing this pine script news. I wasn’t aware of this. Very good explanation and also the example code is good to learn from. I will be using what I have learned already today in my code😊

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

    very nice extension of pine. Thanks for giving an example

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

    Almost got a fried brain with that double loop logic but nearing the end of the video I got it. Feels good when after frying the brain you get that moment of clarity.

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

    thank you so much for going over this method, it's helped a lot. I do have a question I hope you get to.
    Referencing your sample code of this lesson, suppose i had a custom type of 4 floats and i wanted to be able to sort based on any of those floats, in your code you use specific ".emaValue" but for my example it'd be float1value or float2value etc. Is there method/way to pass in which type field you'd want to sort on? Thank You In Advance!

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

      Hi ! Have you find a solution about your problem ?

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

      through another source i was told pinescript is not able to sort that way, you just have to loop and index through an array and check the field your inerested in, ie. sorting not supported
      @@arnaud5796

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

    Are you performing a bubble sort with that custom Method?

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

    Thank you sir what a wonderful video

  • @蕭明欽-d1b
    @蕭明欽-d1b Рік тому

    I would like to ask if Pine Script can output the data you want to output into a file (such as an EXCEL table). How to write the function?

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

    Suggest you to do a video about visible chart information on pine, its a very powerful a graphic tool. Basictly It gives you info of the bars that are visible

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

    Excellent

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

    Hi! Don't u think that using for...in loop would be better for sorting our array? U just don't need to type array.get() every time.

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

    More interested after the animal joke at the end..

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

    Of course the code is important, but how can a man be this cute and handsome 🤭,,, pls decode it :)