Login Page - Create Account

Support Board


Date/Time: Sat, 30 Nov 2024 00:40:40 +0000



[Programming Help] - Cursor in other instances

View Count: 374

[2022-12-22 17:02:26]
DCSaba - Posts: 110
Dear SierraChart,

First of all Merry Christmas to you all!
Amazing piece of Software, thank you.

Basis of question: I am using a separate INstance with the DOM to place my orders, simply because it is 3-4x times faster than if the saem DOM was part of my Chartbook that has 12 visible and another 20 background charts.
But I love seeing exactly on some charts where I stand currently on my DOM (like the Global Cursor inside of one Instance of SierraChart)

I understand you chose not to write a Global Cursor into Sierra, and that could indeed be a complicated matter.

So I have a simplitic ACSIL code that saves into a file nothing more than just the price level (so no sophisticated time/price cursor, like the Global Curser is), because this is perfectly sufficient on a Renko-kind of chart that I have on my DOM chart (time is of not much meaning, whereas price is).

This code has a "Source" and a "Destination" module and the Source writes into a file the price I point to on my DOM, while the "Destination" module handles this input on my other (bigger) SierraChart Instance and places a dotted line for a short while ontomy selected Charts.

But, it is excruciatingly slow (plus: no matter what time I set the line disappears too quickly). It is sso slow, that I have to stop on a DOM price for at least a second, before it actually reacts on the Destionation side.
I don't understand why that is or if there is anything I could change to achieve a more dynamic reaction?

Thank you very much for your thoughts on this.

All the best,
attachmentGlobal_Cursor.cpp - Attached On 2022-12-22 16:58:30 UTC - Size: 5.68 KB - 181 views
[2022-12-29 03:20:31]
ForgivingComputers.com - Posts: 960
Try using a RAM Disk.
[2022-12-29 05:37:07]
User183724 - Posts: 183
any disc operation is going to slow things down. you might try 'storing' your info in a temp memory location... like the clip board memory... if you arent using it for anything else.

just as a FYI, sc.FreeDLL is no longer required as of version 1836 and higher.
[2022-12-29 10:15:08]
DCSaba - Posts: 110
Thank you Sir,

I am using a RAM-disk, but I'll try the RAM-memory.

Happy New Year to you.

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

Login

Login Page - Create Account