FYI plot bug & workaround: changing color or width is delayed 1 bar - futures io
futures io futures trading



FYI plot bug & workaround: changing color or width is delayed 1 bar


Discussion in EasyLanguage Programming

Updated by thoughtful
    1. trending_up 1,373 views
    2. thumb_up 2 thanks given
    3. group 1 followers
    1. forum 0 replies
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,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
 

FYI plot bug & workaround: changing color or width is delayed 1 bar

(login for full post details)
  #1 (permalink)
Bend OR
 
 
Posts: 23 since Apr 2020
Thanks: 3 given, 22 received

[Applicable to both TradeStation and MultiCharts]

FYI, in case anyone isn't already aware of this, there's a bug when you plot with the LINE style (I'm not sure yet if the bug applies to other styles (dots/points etc)). If you change the color or width, it doesn't change for that bar, the change is delayed until the next bar. Here's a workaround: whenever you want to change the color or width of the line, you simply replot the previous bar's line value (remember it with a variable) with the new color and/or width that you want, then afterward you plot your current bar as usual. This will not change the previous bar's line color or width, it'll only change the current bar, which is what you want.

And there's another bug that affects changing color/width: When you replot a previous bar's line value, you can't use the word "default" or leave the color/width fields blank, (however you CAN use default for the current bar though). IOW you must type in a specific value, so for the color you must type in a standard/builtin color name or a color variable (integer), and for the width you must type in a number or a variable.

Reply With Quote
The following 2 users say Thank You to thoughtful for this post:


futures io Trading Community Platforms and Indicators EasyLanguage Programming > FYI plot bug & workaround: changing color or width is delayed 1 bar


July 1, 2020


Upcoming Webinars and Events
 

Dealing with burnout w/Linda Bradford Raschke

Elite only
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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