Login Page - Create Account

Support Board


Date/Time: Thu, 23 May 2019 22:09:20 +0000



Automatic Moving Vertical Line

Support Request:
[2019-03-08 05:25:48]
HAB-User115006 - Posts: 18
I want to display a vertical line either on an existing indicator or the entire 5 min chart(like a verticl drawing tool)
This vertical line will display at the last CLOSED bar and not the current bar that is still being built and has not yet closed
After the current bar closes this vertical line will advance 1 bar

Any suggestions on how I may be able to configure existing tools/studies to achieve the above?

Thanks
[2019-03-14 20:37:42]
HAB-User115006 - Posts: 18
Any input on the previous question?

Thanks
[2019-03-14 21:43:37]
tomgilb - Posts: 2161
Try this:
Add the Spreadsheet Study study:
- Set the Chart Region to 1
- Give it a name in the Spreadsheet Name field.
- On the Subgraphs tab, set the Draw Style of SG1 to Background and the Width to 2
- Press OK and OK
On the spreadsheet:
Put this formula in cell K3:
=ROW()=4

You can minimize the spreadsheet.
[2019-03-14 23:06:01]
HAB-User115006 - Posts: 18
tomgilb: I dont use spreadsheets, I am using ACSIL, any leads on that?
[2019-03-14 23:44:56]
HAB-User115006 - Posts: 18
Ackin: Thanks so much it works !!!, I used the 64 bit version, I want to modify the color RGB(0,128,0) with as a DOT line style, could you please post the source? I can make the changes nd send you the source back... OR or would really appreciate a version with Study Inputs if you have it...
Date Time Of Last Edit: 2019-03-14 23:45:28
[2019-03-15 00:03:43]
Ackin - Posts: 176
File attached
Date Time Of Last Edit: 2019-03-19 14:42:22
imagevertical.png / V - Attached On 2019-03-15 00:16:47 UTC - Size: 140.97 KB - 56 views
[2019-03-15 00:11:21]
HAB-User115006 - Posts: 18
Ackin: Beautiful, Thanks !!!
[2019-03-15 17:47:01]
Sierra Chart Engineering - Posts: 72106
If you are using ACSIL, this is quite simple. Use a Subgraph Draw Style of Background and then just simply set that Subgraph Data at the sc.ArraySize - 2 index to 1. As new bars are added you will have to clear this 1 value at prior bars.
Sierra Chart Support - Engineering Level

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

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2019-03-15 17:48:09
[2019-03-18 04:26:31]
HAB-User115006 - Posts: 18
Ackin: The study works great but I am seeing these messages in the Message Log, I think on every tick, do you know what this is? Is there anything in your source code that needs changes? I have attached a screen shot

Thanks
imageScreen Shot 2019-03-17 at 9.18.55 PM.png / V - Attached On 2019-03-18 04:22:50 UTC - Size: 98.77 KB - 39 views
Attachment Deleted.
[2019-03-18 06:46:32]
Ackin - Posts: 176
yes, I'll fix it.
Date Time Of Last Edit: 2019-03-19 14:24:54
[2019-03-19 14:08:11]
HAB-User115006 - Posts: 18
Ackin: Ok, great, please let me know or send the function, I think you are writing to the log every sec/tick, definately using up a lot of CPU on my PC
Thanks
[2019-03-19 14:42:00]
Ackin - Posts: 176
try this ...
attachmentVertical_Line_64.dll - Attached On 2019-03-19 14:41:39 UTC - Size: 83.5 KB - 15 views
[2019-03-20 07:36:36]
HAB-User115006 - Posts: 18
All good, Thanks
[2019-03-20 09:10:33]
Ackin - Posts: 176
I do other improvements of this study, because I received in e-mail request to change the color according type of bar or according it´s lenght. I´ll add item to change this possibilities of coloring. If you want this improvements, it will be possible for download on my websites.

https://www.sierrachart.com/SupportBoard.php?PostID=172922#P172922

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

Login


Login Page - Create Account