Sierra Chart ACSIL for Beginners. - futures io
futures io



Sierra Chart ACSIL for Beginners.


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Trembling Hand with 29 posts (161 thanks)
    2. looks_two mosalem2003 with 7 posts (0 thanks)
    3. looks_3 drunkcolonel with 4 posts (3 thanks)
    4. looks_4 jokertrader with 2 posts (0 thanks)
    1. trending_up 16,568 views
    2. thumb_up 166 thanks given
    3. group 44 followers
    1. forum 52 posts
    2. attach_file 5 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Sierra Chart ACSIL for Beginners.

(login for full post details)
  #31 (permalink)
mosalem2003
Toronto
 
 
Posts: 94 since Apr 2019
Thanks: 94 given, 22 received

In the Spreadsheet , there is inputs to enable trading within time range, i.e Trading start time , Trading End time. Is there ACSIL members to set these Inputs --
Should we add them to the set defaults code block only or we will need to use operators at the condition of the trade entry ?

Reply With Quote

Can you help answer these questions
from other members on futures io?
S&R, S&D Help Advise
Traders Hideout
Standing Desks
The Elite Circle
NT8 - Footprint Chart adding on code
NinjaTrader
1 Minute Harmonic rotations for HHI/HSI - HKEX Futures
Traders Hideout
 
 
(login for full post details)
  #32 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
 
Posts: 206 since Jun 2011
Thanks: 19 given, 303 received


mosalem2003 View Post
In the Spreadsheet , there is inputs to enable trading within time range, i.e Trading start time , Trading End time. Is there ACSIL members to set these Inputs --
Should we add them to the set defaults code block only or we will need to use operators at the condition of the trade entry ?

Please keep this tread for the example I post so the thread remains concise and on topic. If you have an unrelated question to my examples please start another thread or ask in here.


Follow me on Twitter Started this thread Reply With Quote
The following user says Thank You to Trembling Hand for this post:
 
(login for full post details)
  #33 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
 
Posts: 206 since Jun 2011
Thanks: 19 given, 303 received



Trembling Hand View Post
The only exception to that is sc.BaseDateTimeIn[] and sc.DateTimeOut[]
They are the starting and ending DateTime for each bar and are stored as SCDateTime data type which is a C++ double.

Wow! This is an error! I was googling sc.DateTimeOut[] in relation to custom bars and this thread came up at post #8! I was like huh?? That function, sc.DateTimeOut[] , is only for when you are setting the datetime of custom bars so why did I put it in a Beginners thread!!

Its the wrong function.

It should be sc.BaseDataEndDateTime[sc.Index] to access the the ending time of a bar.

See here

Follow me on Twitter Started this thread Reply With Quote
The following 3 users say Thank You to Trembling Hand for this post:
 
(login for full post details)
  #34 (permalink)
 anubis 
Montevideo Uruguay
 
Experience: Beginner
Platform: motivewave
Trading: futures
 
Posts: 47 since Jul 2020
Thanks: 18 given, 34 received

Hey, nice thread!

How far can one go with Sierra customization? Can we do more than indicators? Like a custom DOM panel and stuff like that?

Reply With Quote
 
(login for full post details)
  #35 (permalink)
 jokertrader 
NYC, NY
 
Experience: Intermediate
Platform: Sierra, TT
Broker: N/A
Trading: Spread Researcher and crypto degen
 
Posts: 653 since May 2013
Thanks: 545 given, 360 received

Never really got into ASCIL but here is what I want to do. Would like to know if itís possible. I know there is a write data to file study but I would like to automate dynamically downloading historical data meaning have the contract or spread as input parameter and have historical data download to excel in a specific location. What I am trying to do is build a data download spreadsheet that can download data for various instruments so I can use it for other analysis. If possible I would also like to have Python do this and load into a database. Is this possible and any pointers how to achieve this using ASCIL or some other way? Thanks


Sent using the futures.io mobile app

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #36 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
 
Posts: 206 since Jun 2011
Thanks: 19 given, 303 received

That doesn't need ASCIL, just use a chartbook and change the contract.

But please start a new thread as it would be nice to keep this thread clear of off topic stuff..

Follow me on Twitter Started this thread Reply With Quote
The following user says Thank You to Trembling Hand for this post:
 
(login for full post details)
  #37 (permalink)
 drunkcolonel 
Pluto is a planet
 
Experience: None
Platform: SierraChart
Trading: Freeze Dried Orange Juice
 
drunkcolonel's Avatar
 
Posts: 44 since Jul 2011
Thanks: 161 given, 41 received

Hello friends,

First, shout out to @Trembling Hand Thanks so much for putting this thread together with such detail and screen shots. It's generous folks like you that give me a fighting chance at some of this tech stuff. As awesome as this is, I was running into some problems last night, and I wonder if it's a side effect of some things changing in Visual studio.

When I create a DLL project in VS (following your instructions precisely), it creates a number of those default files ---which in the instructions you say can be deleted (pch.cpp etc). However, one thing I'm not sure about is dllmain.cpp, which gets created for the project. This is supposed to be the entry point for the dll, from what I understand. I'm not a C++ guy so I'm not quite sure what I'm goofing up. Usually a console application or something has a Main method, so I imagine this entry point should function kinda in the same way.

If I had a cpp file called, MyNeatoStudy.cpp (see attached picture) with my sierra code in it, could someone help me connect the dots with respect to getting that file to compile or being the entry point? Do i need to define an entry point in that file? Or should dllmain call the sierra function? Just trying to wrap my brain around how cpp works with Visual studio / sierra.

Also, I have been reading a lot of documentation on sierra chart's website. I found some documentation that seemed to indicate that one can attach the sierra chart process to debug their studies. I gave it a whirl last night, but no dice. Is their documentation stale perhaps, are any of ya'll able to attach the process to debug your studies and if so is there any special configuration / tips you can give?

Any help getting my dev environment situated is super appreciated. Thanks
cpphelp

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #38 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
 
Posts: 206 since Jun 2011
Thanks: 19 given, 303 received


drunkcolonel View Post
When I create a DLL project in VS (following your instructions precisely), it creates a number of those default files ---which in the instructions you say can be deleted (pch.cpp etc). However, one thing I'm not sure about is dllmain.cpp, which gets created for the project. This is supposed to be the entry point for the dll, from what I understand. I'm not a C++ guy so I'm not quite sure what I'm goofing up. Usually a console application or something has a Main method, so I imagine this entry point should function kinda in the same way.

If I had a cpp file called, MyNeatoStudy.cpp (see attached picture) with my sierra code in it, could someone help me connect the dots with respect to getting that file to compile or being the entry point? Do i need to define an entry point in that file? Or should dllmain call the sierra function? Just trying to wrap my brain around how cpp works with Visual studio / sierra.


Any help getting my dev environment situated is super appreciated. Thanks
cpphelp

I'm not sure you have followed the steps correctly. You should only have 1 .cpp file. how did the the MyNeatoStudy.cpp get there?

Follow me on Twitter Started this thread Reply With Quote
The following user says Thank You to Trembling Hand for this post:
 
(login for full post details)
  #39 (permalink)
 drunkcolonel 
Pluto is a planet
 
Experience: None
Platform: SierraChart
Trading: Freeze Dried Orange Juice
 
drunkcolonel's Avatar
 
Posts: 44 since Jul 2011
Thanks: 161 given, 41 received


Trembling Hand View Post
I'm not sure you have followed the steps correctly. You should only have 1 .cpp file. how did the the MyNeatoStudy.cpp get there?

I thought I followed the instructions to the letter, but I will go back and walk through with a fine tooth comb here in the next hour. In my first attempt, when I created a DLL from the wizard, then deleted a lot of the files as suggested like pch.cpp and the others that were listed, when I tried to build with the skeleton code (that first block of code snipped you gave) just to get an initial successful build, it would not compile. :\ So that probably got me chasing my tail on something perhaps I overlooked. I'll go over the post again, hopefully my old eyes just missed something, but ill try again. If it works ill post... if it doesn't... i'll definately post. lol haha Thanks for all this that you put together for people like me.

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #40 (permalink)
 Trembling Hand 
Melbourne, Land of Oz
 
Experience: Advanced
Platform: Sierra Chart, CQG
Broker: CQG
Trading: HSI
 
Posts: 206 since Jun 2011
Thanks: 19 given, 303 received



drunkcolonel View Post
I thought I followed the instructions to the letter, but I will go back and walk through with a fine tooth comb here in the next hour. In my first attempt, when I created a DLL from the wizard, then deleted a lot of the files as suggested like pch.cpp and the others that were listed, when I tried to build with the skeleton code (that first block of code snipped you gave) just to get an initial successful build, it would not compile. :\ So that probably got me chasing my tail on something perhaps I overlooked. I'll go over the post again, hopefully my old eyes just missed something, but ill try again. If it works ill post... if it doesn't... i'll definately post. lol haha Thanks for all this that you put together for people like me.

Delete all the text in dllmain.cpp. copy and paste all the text from MyNeatoStudy.cpp into dllmain.cpp. remove the MyNeatoStudy.cpp from the project folder and then build.

that should produce a dllmain.dll in C:\SierraChart\Data

Follow me on Twitter Started this thread Reply With Quote
The following user says Thank You to Trembling Hand for this post:


futures io Trading Community Platforms and Indicators Sierra Chart > Sierra Chart ACSIL for Beginners.


Last Updated on June 14, 2022


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts