NexusFi: Find Your Edge


Home Menu

 





Sierra Chart ACSIL for Beginners.


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Trembling Hand with 29 posts (186 thanks)
    2. looks_two mosalem2003 with 7 posts (0 thanks)
    3. looks_3 drunkcolonel with 4 posts (4 thanks)
    4. looks_4 Thegunshow with 2 posts (0 thanks)
    1. trending_up 33,883 views
    2. thumb_up 192 thanks given
    3. group 55 followers
    1. forum 55 posts
    2. attach_file 5 attachments




 
Search this Thread

Sierra Chart ACSIL for Beginners.

  #31 (permalink)
mosalem2003
Toronto
 
Posts: 102 since Apr 2019
Thanks Given: 106
Thanks Received: 23

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 NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
22 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
20 thanks
  #32 (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: 358


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
Thanked by:
  #33 (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: 358



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
Thanked by:
  #34 (permalink)
 anubis 
Montevideo Uruguay
 
Experience: Beginner
Platform: Sierra Chart / Jigsaw
Trading: futures
Posts: 56 since Jul 2020
Thanks Given: 18
Thanks Received: 43

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
  #35 (permalink)
 jokertrader 
NYC, NY
 
Experience: Intermediate
Platform: Sierra, TT
Broker: N/A
Trading: Spread Researcher and crypto degen
Posts: 654 since May 2013
Thanks Given: 545
Thanks Received: 360

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 NexusFi mobile app

Visit my NexusFi Trade Journal Reply With Quote
  #36 (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: 358

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
Thanked by:
  #37 (permalink)
 
drunkcolonel's Avatar
 drunkcolonel 
Pluto is a planet
 
Experience: None
Platform: SierraChart
Trading: Freeze Dried Orange Juice
Posts: 44 since Jul 2011
Thanks Given: 161
Thanks Received: 48

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 NexusFi Trade Journal Reply With Quote
  #38 (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: 358


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
Thanked by:
  #39 (permalink)
 
drunkcolonel's Avatar
 drunkcolonel 
Pluto is a planet
 
Experience: None
Platform: SierraChart
Trading: Freeze Dried Orange Juice
Posts: 44 since Jul 2011
Thanks Given: 161
Thanks Received: 48


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 NexusFi Trade Journal Reply With Quote
  #40 (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: 358



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
Thanked by:




Last Updated on August 8, 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