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 20,460 views
    2. thumb_up 65 thanks given
    3. group 20 followers
    1. forum 60 posts
    2. attach_file 20 attachments




 
Search this Thread

"Hide/Show studies" Buttons Study

  #51 (permalink)
 
slickiam's Avatar
 slickiam 
Tomsk, Russia
 
Experience: Beginner
Platform: custom
Trading: gold
Posts: 273 since Dec 2010
Thanks Given: 133
Thanks Received: 435


Rrrracer View Post
I don't use all of the tools SC offers but I bet I use at least 10 of them...

_beta5 "one 0 to rule them all ..."

the new option is one MUST input a STRING using numbers and comma only

for exmpl:
 
Code
1,12,6
to hide Line, Rect, Text at once

place 0 (zero) to hide all types of drawing

gd lck

Scientia Libertas Prosperitas
Attached Files
Elite Membership required to download: hideDrwng_b5.cpp
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
My NQ Trading Journal
12 thanks
  #52 (permalink)
 Crude Awakening 
NY/USA
 
Experience: Intermediate
Platform: Sierra Chart, CQG
Trading: Futures
Posts: 7 since Sep 2011
Thanks Given: 43
Thanks Received: 1


swandro View Post
@Rrrracer

Here it is. All singin', all dancin' 10 buttons times 4 studies for each one. That should cover your needs.

Rob

Hi Swandro,

Any chance that you could update this to be compatible with the latest version of Sierrra? I'm getting the following error when compiling the cpp remotely:

 
Code
-- Starting remote build of Custom Studies Source files: HideStudies.cpp. 64-bit --     11:47:28

Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

HideStudies.cpp:5:10: fatal error: scstudyfunctions.h: No such file or directory
    5 | #include "scstudyfunctions.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

-- End of Build --     11:47:30
Thanks!

Reply With Quote
  #53 (permalink)
 swandro 
England
 
Experience: Advanced
Platform: SierraChart
Posts: 70 since Jul 2009
Thanks Given: 9
Thanks Received: 80


Leave it with me.




Crude Awakening View Post
Hi Swandro,

Any chance that you could update this to be compatible with the latest version of Sierrra? I'm getting the following error when compiling the cpp remotely:

 
Code
-- Starting remote build of Custom Studies Source files: HideStudies.cpp. 64-bit --     11:47:28

Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

HideStudies.cpp:5:10: fatal error: scstudyfunctions.h: No such file or directory
    5 | #include "scstudyfunctions.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

-- End of Build --     11:47:30
Thanks!


Reply With Quote
Thanked by:
  #54 (permalink)
 swandro 
England
 
Experience: Advanced
Platform: SierraChart
Posts: 70 since Jul 2009
Thanks Given: 9
Thanks Received: 80


swandro View Post
Leave it with me.

All done. This will compile with Remote Build.

Attached Files
Elite Membership required to download: HideStudies.cpp
Reply With Quote
  #55 (permalink)
 Crude Awakening 
NY/USA
 
Experience: Intermediate
Platform: Sierra Chart, CQG
Trading: Futures
Posts: 7 since Sep 2011
Thanks Given: 43
Thanks Received: 1

Absolutely fantastic. Thanks very much!

Reply With Quote
Thanked by:
  #56 (permalink)
 
Rrrracer's Avatar
 Rrrracer 
On the road
Webinar Host
Trading Nomad
 
Experience: Intermediate
Platform: TradingView
Broker: Oanda
Trading: FX
Posts: 2,512 since Feb 2017
Thanks Given: 17,582
Thanks Received: 9,752

One of the most useful tools of all time created for Sierrachart. Thanks again @swandro

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #57 (permalink)
poptarts
omaha ne
 
Posts: 6 since Dec 2018
Thanks Given: 4
Thanks Received: 7

thank u very much

Reply With Quote
Thanked by:
  #58 (permalink)
 
sudhirc's Avatar
 sudhirc 
detroit,mi
sc
 
Experience: Intermediate
Platform: NT
Broker: NT
Trading: ES
Frequency: Every few months
Duration: Hours
Posts: 417 since Sep 2011
Thanks Given: 1,709
Thanks Received: 471

Looking for something like this for a while, and have a couple of quick question on this.
So once i compile what is see for every Custom Study Button we can assign up to four studies to hide ?


I see that the study button numbers are fixed from 1- 10; is there a way to increase the number? because i only want to assign one study to each button.



Thank you very much.

Reply With Quote
  #59 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
Posts: 246 since Jun 2011
Thanks Given: 28
Thanks Received: 360


sudhirc View Post
I see that the study button numbers are fixed from 1- 10; is there a way to increase the number? because i only want to assign one study to each button.


You just have do duplicate the code per extra Button/Study.

Add a new incremented SCInputRef
in SetDefualts declare a name and set default StudyID
Then duplicate the if (sc.MenuEventID ........ code block

Follow me on Twitter Reply With Quote
Thanked by:
  #60 (permalink)
 
sudhirc's Avatar
 sudhirc 
detroit,mi
sc
 
Experience: Intermediate
Platform: NT
Broker: NT
Trading: ES
Frequency: Every few months
Duration: Hours
Posts: 417 since Sep 2011
Thanks Given: 1,709
Thanks Received: 471


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.

Attached Thumbnails
Click image for larger version

Name:	image_926.png
Views:	20
Size:	7.8 KB
ID:	336393  
Reply With Quote




Last Updated on November 26, 2023


© 2024 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 - Privacy Policy - Downloads - Top
no new posts