NexusFi: Find Your Edge


Home Menu

 





Sierra Chart and custom bar types


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one aslan with 14 posts (17 thanks)
    2. looks_two Big Mike with 7 posts (3 thanks)
    3. looks_3 LukeGeniol with 5 posts (1 thanks)
    4. looks_4 vegasfoster with 2 posts (1 thanks)
      Best Posters
    1. looks_one aslan with 1.2 thanks per post
    2. looks_two rainman2 with 1 thanks per post
    3. looks_3 DavidHP with 0.5 thanks per post
    4. looks_4 Big Mike with 0.4 thanks per post
    1. trending_up 17,377 views
    2. thumb_up 24 thanks given
    3. group 7 followers
    1. forum 35 posts
    2. attach_file 4 attachments




 
Search this Thread

Sierra Chart and custom bar types

  #31 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844

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.

Attached Thumbnails
Click image for larger version

Name:	MagicalKaseMarker.png
Views:	237
Size:	3.8 KB
ID:	28231  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Quant vue
Trading Reviews and Vendors
How to apply profiles
Traders Hideout
What broker to use for trading palladium futures
Commodities
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #32 (permalink)
 
LukeGeniol's Avatar
 LukeGeniol 
Italy (IT) Italy
 
Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker: Rithmic
Trading: CL, Brent, GC, TF
Frequency: Daily
Duration: Minutes
Posts: 1,499 since Apr 2010
Thanks Given: 408
Thanks Received: 985

@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.

Take your Pips, go out and Live.
Luke.
Reply With Quote
Thanked by:
  #33 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127


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.

Reply With Quote
Thanked by:
  #34 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127


vegasfoster View Post
I am not sure yet how to create a parameter yet

Inputs are very simple. Look at the Kase code for example:

 
Code
	// create an input ref
	SCInputRef targetRangeTicks = sc.Input[0];

...

	// Inputs		
	targetRangeTicks.Name = "Target range (ticks):";
	targetRangeTicks.SetInt(4);

...

	// use it		
	int t = targetRangeTicks.GetInt();
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()).

Reply With Quote
Thanked by:
  #35 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127

Kase bars were updated here.

Reply With Quote
Thanked by:
  #36 (permalink)
Nicolaas
Utrecht+Utrecht/ The netherlands
 
Posts: 11 since Apr 2015
Thanks Given: 7
Thanks Received: 12

Hi,
THANKS for sharing your study!!

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

Reply With Quote




Last Updated on January 9, 2018


© 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