NexusFi: Find Your Edge


Home Menu

 





Plot Horizontal Lines at Swing High and Low Points


Discussion in ThinkOrSwim

Updated
    1. trending_up 4,874 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
flastunna954
Fort Lauderdale
 
Posts: 7 since Mar 2020
Thanks Given: 3
Thanks Received: 1

Hello not sure if someone has posted this as I couldn't find it. Can someone help with creating a thinkscript that plots swing high and swing low points on intraday timeframes? I have seen that there are thinkscripts for plotting daily highs and lows but I would want to plot each swing point on a specific timeframe. Example on a 5 minute chart, basically every time stock makes new peaks and valleys a horizontal line is plotted for the peak and a line for the valley. I would only need it to go back and plot as far as the previous day and everything up through the current day.

If this has already been posted please point me in the right direction.

Thanks in advance!


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
Ceasefire Collapse: Iran Fires 24 Missiles, Israel Hits …
Traders Hideout
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
World Cup Opens: USA at 45.5% Tonight as Markets Push Ba …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 Best Intentions 
San Marcos, California
 
Experience: Beginner
Platform: Think or Swim
Trading: Options for SPY
Posts: 11 since Dec 2017
Thanks Given: 6
Thanks Received: 14

Not sure if this page is available to the public or is part of the membership content but it might provide some food for thought.

https://usethinkscript.com/threads/swing-high-low-indicator-for-thinkorswim.3109/


Reply With Quote
Thanked by:
  #3 (permalink)
flastunna954
Fort Lauderdale
 
Posts: 7 since Mar 2020
Thanks Given: 3
Thanks Received: 1



Best Intentions View Post
Not sure if this page is available to the public or is part of the membership content but it might provide some food for thought.

That's exactly what I was looking for! Thanks a ton


Reply With Quote




Last Updated on November 15, 2021


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts