Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

export indicator data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    export indicator data

    Hi!
    I have checked this;



    it works fine with some indicators but i need export swing data (swing high and swing low). this indicator repaint plots. is possible to export every high and low swing?
    i didnt get with last link
    thanks!

    #2
    Hello manueldecastro,

    Thanks for your reply.

    Yes, you can export the swing points using the streamwriter. The swing indicator is different as you noted.

    The swing indicator does not "confirm" a swing point until the strength number of bars has passed the swing point. The default strength setting is 5 so on the 5th bar after the prospective swing point the swing is confirmed and then the dots are first drawn back to the swing point and then are drawn forward at the same level for each new bar until a new swing is found.

    If you print out every current bar value of swing and then look at the list of values, you can see where the swing changes, and if you need to know when or what bar the swing starts from it would be on the 5th bar before the change in the data. (assuming strength of 5).

    Comment


      #3
      solved! thanks
      now im trying to show on screen last N values. i think i have to save this N values in an array, isnt it?

      Comment


        #4
        Hello manueldecastro,

        Thanks for your reply.

        Yes, you could use an array to hold the last N values.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        600 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        347 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        558 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        558 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X