- This topic has 1 reply, 2 voices, and was last updated 3 years ago by .
- You must be logged in to reply to this topic.
Silly question I think but I’m trying to draw a buffer zone between two lines. I think I can do it via channels etc but thought it would be simpler using shade but all I get is plots 5 and 6 no shade between the two?
Change CP to say close() and it works fine.
Is there a restriction on using static numbers with shade. I’ve tried using MA(CP, bars=1) or max(CP) but these don’t work either?
CP = 7.28;
Gap = if(cp<50,IF(cp<20,IF(cp<10,IF(cp<2,0.01,0.02),0.05),0.1),0.2);
BuffHigh= (CP + Gap);
BuffLow = (CP – Gap);
Plot5 = BuffHigh;
Plot6 = BuffLow;
Plot7 = Shade(Plot5, Plot6);
any advise appreciated.
I’ve tried your test script and have found the same thing. I am unsure why a static value would cause the Shading to stop working so have logged it with our developers now.
Will let you know what they find.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
|cname||14 days||This cookie is set by Optuma. The cookies is used to store the users campaign selection for selecting the correct version of Optuma to trial and is "Necessary".|
|cookielawinfo-checbox-analytics||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".|
|cookielawinfo-checbox-functional||11 months||The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".|
|cookielawinfo-checbox-others||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.|
|cookielawinfo-checkbox-necessary||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".|
|cookielawinfo-checkbox-performance||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".|
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.