Study to PLOT a LINE connecting two or more matching candle lows - futures io
futures io



Study to PLOT a LINE connecting two or more matching candle lows


Discussion in ThinkOrSwim

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




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Study to PLOT a LINE connecting two or more matching candle lows

(login for full post details)
  #1 (permalink)
 WildWex 
Tarzana, CA
 
Experience: Intermediate
Platform: TOS, TS, MC, NT8, MT4
Trading: Futures: ES, CL, NQ, HO, SI
 
WildWex's Avatar
 
Posts: 7 since Jul 2017
Thanks: 0 given, 3 received

Hello - I'm trying to write a study that connects the lows between 2 or more candles with equivalent lows. *I wrote this:


plot PatternPlot5 = if (low[-1] == low or low[1] == low,low,DOUBLE.NAN);
PatternPlot5.SetPaintingStrategy(PaintingStrategy.LINE_vs_POINTS);
PatternPlot5.SetDefaultColor(color.red);


which works most of the time when two or more candles have equivalent low values, but it's drawing some diagonal lines between two sets of equivalent candles, which I'm trying to avoid. *I'd like to use LINE and not DASHES as a painting strategy because my goal is to connect the low wicks/shadows, of matching low candles.

Do you have any suggestions, recommendations on how I might modify my script to get it to work correctly and not show the diagonal lines?


Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators ThinkOrSwim > Study to PLOT a LINE connecting two or more matching candle lows


Last Updated on January 7, 2018


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts