Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 04:35:08 +0000



Multiple timeframe in ASCIL

View Count: 517

[2020-09-18 09:04:25]
gfx2trade - Posts: 48
Hi team,

I am currently working on a trading system with entry triggers on a user selected timeframe (custom study added to chart).
But, I need to implement a filter to the long/short entry mechanism which depends on calculations requiring price data from a higher time frame. How can I implement it in ASCIL ? My constraint is that the user must not have to open a higher timeframe chart and make any study add/set manipulations.
Thks.
B.
Gfx.
[2020-09-18 10:21:54]
Sierra Chart Engineering - Posts: 104368
There is a requirement to have the higher timeframe chart. Otherwise, you would need to do the calculations yourself to create the higher timeframe bars within the custom study.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-09-18 11:47:23]
gfx2trade - Posts: 48
Thks. Any hint, or example on how "to create the higher timeframe bars within the custom study.".
B;
gfx
[2020-09-18 19:06:48]
Sierra Chart Engineering - Posts: 104368
No, we do not have any code example. You just have to iterate through the base data arrays:
Working with ACSIL Arrays and Understanding Looping

And calculate the Open, High, Low, Close from the values from the shorter timeframe bars.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-09-18 19:06:56

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account