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)
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.
Please post any questions and problems or suggestions you have in this thread about my Sierra Chart ACSIL for Beginners to keep that thread reasonably concise and clean of tangents.
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.
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
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
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