Swinglines

Viewing 9 posts - 1 through 9 (of 9 total)
  • #97140

    I am trying to build an indicator as shown in this screenshot from youtube.

    This gentleman is Ira Epstein and posts his end of day financial videos on YouTube.

    The indicator I am referring is a swingline (the one in gold color that connects highs and lows in the screenshot).

    I would like to see what is the low and the high let’s say 50 bars ago, and check each following bar at a time looking for:

    • higher highs
    • lower lows
    • inside days
    • outside days up
    • outside days down

    (which he mentions here https://www.youtube.com/watch?v=CVrfDOVKLlE ) and connect the points to be connected.

    The original indicator is copyrighed but I am only trying to replicate it looking at his videos and listening what he said.

    Could some good soul please post a simple code to connect all the lows in a chart from, let’s say, 50 bars ago?

    I need this simple kick-off because I can’t understand how “drawsegment” works in practice.

     

    #97144

    Not tested.

    1 user thanked author for this post.
    #97160

    Thanks

    This is the indicator I thought.

    The original one is proprietary to Ira Epstein, and I tried only to replicate it looking at his charts posted on youtube videos and trying to understand the logic in which he combined the data.

    Surely it has some flaws but it seems to work the way I wanted.

    Let’s call it a Beta version

    PS


    @Roberto
    /Nicolas

    Could you please modify the title of this thread to “Swinglines”? In case one tries to search it.

     

    1 user thanked author for this post.
    #97167

    Above code added to here

    Snippet Link Library

    1 user thanked author for this post.
    #97307

    Some changes (for sake of completeness).

    There are some things that still don’t convince me looking at Ira’s videos

    Inside days seem always  to revert the swinglines

    Outside days seem always to bring the swing line to the side of the bar where the opening is.

    That’s the pattern that seems to appear.

    If some guy (joining his courses) can be more clear and post here what’s the real “thing”, he will be appreciated (without disclosing proprietary informations).

    By now it seems the indicator I built replicates 99% of the times Ira’s one.

    All credits to Ira of course 🙂

     

     

    1 user thanked author for this post.
    #99264

    Version 2.0

    I changed the way Outside Days are treated because Swinglines didn’t replicate 100% what I see in Ira’s Youtube videos

    It “seems” to me that in those cases the close of the day before is compared with the close of the current day

     

    1 user thanked author for this post.
    #164757

    Hello Ciccio, been following your posts for a few months now because I found you while I was looking for a swing line indicator for my Thinkorswim platform.  I am not familiar with the ProRealTime platform you use but it looks similar to mine.  I have been looking for a person to make me an indicator (like you have done here) that would work on TOS, however I have been unable to find anyone that’s interested in making me one.  My question to you would you consider making me an indicator just like the one you have here that will work on Thinkorswim?  Thanks for looking.

    airgb58

    #164759

    Unfortunately I don’t know Thinkorswim, so I cannot help you.
    Let’s hope someone else can help you in this matter 🙂

    #164760

    @airgb58

    Sorry, but this forum is devoted to ProRealTime only, so we can freely convert any code TO ProRealTime, not the other way round.

    You can apply for paid services at https://www.prorealcode.com/trading-programming-services/, but I don’t know if they can do it.

     

     

    1 user thanked author for this post.
Viewing 9 posts - 1 through 9 (of 9 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login