NexusFi: Find Your Edge


Home Menu

 





"Hide/Show studies" Buttons Study


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Rrrracer with 20 posts (9 thanks)
    2. looks_two slickiam with 16 posts (30 thanks)
    3. looks_3 swandro with 8 posts (17 thanks)
    4. looks_4 ejtrader with 3 posts (0 thanks)
      Best Posters
    1. looks_one swandro with 2.1 thanks per post
    2. looks_two mkata with 2 thanks per post
    3. looks_3 slickiam with 1.9 thanks per post
    4. looks_4 Rrrracer with 0.5 thanks per post
    1. trending_up 64,718 views
    2. thumb_up 67 thanks given
    3. group 21 followers
    1. forum 61 posts
    2. attach_file 21 attachments




 
Search this Thread
  #61 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
Posts: 249 since Jun 2011
Thanks Given: 29
Thanks Received: 367


sudhirc View Post
Hello,

I was able to modify his study to my liking and i had four studies based on it.
I assigned one study for each button and was able to build it.
This produced four individual .dll files, (this works fine)





How can i put all three studies into one .dll? under SC help, https://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php


- I did this and still unable to put all three under one .dll

Any advice is appreciated.
Thank you.

In the same study or same namespace.

Its much easier to help if you include all your code.


Follow me on X Reply With Quote
  #62 (permalink)
 
josh's Avatar
 josh 
Georgia, US
Legendary Market Wizard
 
Experience: None
Platform: SC
Broker: Denali+Teton
Trading: ES, NQ, YM
Posts: 6,330 since Jan 2011
Thanks Given: 6,954
Thanks Received: 18,623

I am using "Color Bar Based on Alert Condition" and noticed that when I clicked my toolbar button to hide a group of studies, it was also hiding the colors. The reason is that calling SetStudyVisibilityState on the main price graph (ID 0) which is the default, hides the bar colors. I've updated this study to perform the necessary check to avoid this problem, and removed about 80 lines of somewhat verbose state logic and unnecessary variables in the process. Uploading it here.


Attached Files
Elite Membership required to download: HideStudies.cpp
Reply With Quote
Thanked by:




Last Updated on August 29, 2024


© 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