NexusFi: Find Your Edge


Home Menu

 





Plot Horizontal Lines at Swing High and Low Points


Discussion in ThinkOrSwim

Updated
    1. trending_up 4,801 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?
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
Election Sunday Resolves: Peru Heads to Runoff at 42pct, …
Prediction Markets & Event Contracts
CME Cuts Precious Metals Margins Up to 21% Starting Toda …
Commodities
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 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