Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 07:05:05 +0000



How to create Gann Grid drawing from study

View Count: 2478

[2015-09-11 22:05:01]
T29_Dev1 - Posts: 22
Hi,

I try to create a Gann Grid drawing from my study:



s_UseTool tool;

tool.ChartNumber = sc.ChartNumber;
tool.DrawingType = DRAWING_GANNGRID;

tool.BeginDateTime = sc.BaseDateTimeIn[sc.ArraySize - 40];
tool.EndDateTime = sc.BaseDateTimeIn[sc.ArraySize - 2];
//tool.BeginIndex = sc.ArraySize - 40;
//tool.EndIndex = sc.ArraySize - 2;
tool.BeginValue = sc.BaseDataIn[SC_LOW][sc.ArraySize - 40];
tool.EndValue = sc.BaseDataIn[SC_HIGH][sc.ArraySize - 2];

tool.UseToolConfigNum = 1;

tool.AddMethod = UTAM_ADD_OR_ADJUST;

int rr = sc.UseTool(tool);

but UseTool returns false (code works fine for DRAWING_RECTANGLEHIGHLIGHT).
Is it possible to create this drawing? or I do something wrong?

Thanks.
[2015-09-13 22:08:23]
Sierra Chart Engineering - Posts: 104368
We are checking on this.
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
[2015-09-15 18:49:14]
onnb - Posts: 662
Any news on this one?
[2015-09-15 19:03:32]
Sierra Chart Engineering - Posts: 104368
Tool.DrawingType = DRAWING_GANNGRID;

Is not currently supported but we are adding support for this.
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
[2015-09-15 20:56:08]
Shane - Posts: 31
SC Engineering;

Many thanks for the support.

Can you give us an idea of when we can expect something to work with?

I need to plan development work and would like to understand if I should table the current effort in favor of something else.

regards,
shane
[2015-09-16 05:16:39]
Sierra Chart Engineering - Posts: 104368
In regards to post #5, what are you looking for specifically? So that we are clear.
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
[2015-09-16 05:44:10]
Shane - Posts: 31
SC Engineering;

Hmm. I've spec'd, and Trade29 is developing, a custom study that needs to draw an object using the gann grid tool, where the first and second point needed to draw the object are calculated (i.e., not clicks via user interaction).

If you need more technical info, the Trade29 guys will need to answer.

You've stated you're adding support the DRAWING_GANNGRID drawing type (thank you!), and I'm asking when can we expect it to be supported? Are we talking days? weeks? months?

regards,
shane
[2015-09-16 05:50:47]
Sierra Chart Engineering - Posts: 104368
We can do this in days if it is not already done.
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
[2015-09-16 13:29:07]
Al SC Developer - Posts: 434
In the next version, DRAWING_GANNGRID is supported in UseTool. Also, there is a new example study showing the use of the Gann Grid: "UseTool Example: GannGrid" which is in scsf_UseToolExampleGannGrid() in studies.cpp.
[2015-09-16 19:21:53]
onnb - Posts: 662
what version #?
[2015-09-17 10:55:29]
Sierra Chart Engineering - Posts: 104368
This will be out in version 1297.
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

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

Login

Login Page - Create Account