Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
He he, I figured it out down and dirty style. Had to plug in a value for range size, since I am not sure yet how to create a parameter yet or possibly link it to your kase bar code, but it gets the job done for now.
I didn't even know that SC had a built in compiler, I read some documentation before that said you had to download a MS Compiler, I don't know if it was outdated or maybe I just didn't understand what I was reading.
Can you help answer these questions from other members on NexusFi?
@vegasfoster, SC uses notepad++ and open watcom as compiler.
Anyway is really more difficoult than other platform, c++ is harder, and the coding environment has no facilities like intellisense on NT.
SC tell that you don't need to know much about c++, just the basic, and then look at the examples, ja maybe to make a moving average.
Anyway if there's an issue with some built in study post it on support board and they usually will fix it.
notepad++ and watcom is the equivalent of the built in stuff for NT. It works and gets the job done (but there is not intelisense). However, if you want to really use it, you should install the visual c++ compiler and run with it. You will get full intelisense, and if you build your solution/projects correctly (it took me a while to get it right), you can have a single solution that contains all of the code in compartmentalized projects. Once again though, you have to do some work and reading to get it all working.
As far as c++ vs c#, what can I say, they are really close in terms of what is actually being used. You really do not need to know much about objects per se, as most everything is encapsulated into the built in sc objects, and you generally do not need to write classes.
Inputs are very simple. Look at the Kase code for example:
The input ref is not needed, but make your code easier to read by setting up a readable name to references the actual var in the sc object. You set up the input by simply setting the name and value (you can also set limits). Don't forget to get the value by calling the appropriate routine when using the parameter (i.e. GetInt()). The process is the same for all input types, you just use a different routine to set/get the value based on the type of parameter (i.e. SetFloat()/GetFloat()).
I am watching your Kase bars study carefully since I have a strategy with Tradestation that runs on kase bars and would love to have that working on sierra charts. In tradestation you can set the Target range a lot smaller then 1. AS example for the currencies you can set the target range to 0.0001 and for Oil (or Gold) to 0.1 is this possible to change in your dll? Would be highly appreciated! Regards, Nicolaas