Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 15:24:39 +0000



[User Discussion] - Vertical line for engulfing bars

View Count: 3224

[2014-06-07 16:36:43]
Dom7364 - Posts: 257
If you ever got the chance to do something similar with Nyse tick, that would just be great, but of course, I do understand it takes time etc, so please no rush, only if you've some spare time.

Either way, thanks very mch indeed Yon.. :-)
[2014-06-07 21:13:55]
Zosimus - Posts: 345
Regarding the Nyse TICK,

1. Do you want the signal (Vertical line or whatever) to appear on the Tick chart itself or on some other chart (ES or whatever you trade).

2. Don't you prefer an arrow or dot or star instead of a vertical line ?
Date Time Of Last Edit: 2014-06-08 01:16:18
[2014-06-08 04:43:22]
Dom7364 - Posts: 257
1. The signal (vertical bar, star, arrow-root, diamant, .. Whatever it can be'!), should,appeau on another chart, (ES for exemple), as the NYSE tick reaches certain defined levels.

2. Probably better if not a vertical line, you are right! Perhaps can it just be changed in graph setting skyway? If not, a star would be perfect.

Thanks!!!!!
[2014-06-08 17:17:58]
Zosimus - Posts: 345
ok, i'll try to find time for this soon.

What type of bars do you usually use on the "other" chart ?
[2014-06-08 18:28:23]
Dom7364 - Posts: 257
the "other" chart bar is usually 4 tick range.. But the idea would be to have a signal at the moment the Nyse reaches a level, so I suppose I would need to look at the same time frame to make some sense of this -..

Many thanks


[2014-06-08 18:56:28]
Zosimus - Posts: 345
Last question:

Do you want the signal to appear immediately when the Tick reaches one of those levels OR only after the Tick Bar that reached this level ends?

If you want it immediately you will sometimes get several alerts within the same bar. For an example, first alert when it reaches 600 then another when it reaches 800 and even another if it makes it to 1000.

if you choose the end of bar option you will only get a 1000 as the bar ends in case it makes it to 1000 or just an 800 alert if it only makes it to 800 and so on....
[2014-06-08 20:47:20]
Dom7364 - Posts: 257
Both options can be envisaged but I would personally go for the former..
Either that or an option to chose either.. :-)

[2014-06-08 20:56:38]
Zosimus - Posts: 345
ok :-)
[2014-06-11 19:14:04]
Zosimus - Posts: 345
I hope to I'll find time for this during the weekend.
[2014-06-14 23:33:21]
Zosimus - Posts: 345
Ok, this solution is a bit complicated because I wanted the study to yield reliable results when your Tick Chart and the other chart have different types of bars.

The only problem that still exists is with the historical bars that the charts load because those bars do not load trade-by-trade but rather bar-by-bar and a 4 Tick range bar can contain quite a few X minutes Tick bars and vice versa. So when you use different types of bars you will sometimes see alerts on the Historical bars that will not make sense at a first glance. BUT all the alerts that result from "Live" bars will be ok.
If you need to see more precise alerts on the historical bars you will have to run a replay.

This is how it goes.

1. Add the TickAlertsSource study to the Tick chart.
2. Add the TickAlertsDestination study to the chart on which you want to see the alerts.
3. In the Settings and Inputs of the TickAlertsDestination study:
select the Tick Chart and the TickAlertsSource study for the first input
select the Tick chart and Main Price Graph for the second input.
Make sure that the study is applied to Chart Region 1.

4. In the Subgraphs of the TickAlertsDestination study you can change the colors and sizes of the different alerts.

you have 6 different alerts,

1. Tick>=600 and <800.
2. Tick>=800 and <1000.
3. Tick>=1000

4. Tick<=-600 and >-800.
5. Tick<=-800 and >-1000.
6. Tick<=-1000.

I hope this helps.

Date Time Of Last Edit: 2014-09-25 20:55:46
[2014-06-15 22:38:23]
Zosimus - Posts: 345
I found a small mistake in the code of the TickAlertsDestination study.
Here is the fixed version.

Date Time Of Last Edit: 2014-09-25 20:56:06
[2014-06-16 06:19:05]
Dom7364 - Posts: 257
Thank you very much indeed Yon. I really appreciate this, and the time you took to put this in place. I will try it out and integrate in in my charts today. Real class, I am most grateful.
[2014-06-16 06:39:00]
Dom7364 - Posts: 257
Yon, alerts aside, could that apply to any chart using any alert specified?
Date Time Of Last Edit: 2014-06-16 08:27:44
[2014-06-17 06:41:02]
Dom7364 - Posts: 257

What is the fix for the below? It slows down my PC quite dramatically, unsure what to do..

Notice: The study 'EngulfingBar_Vline' has sc.FreeDLL set to true. Use only during development! Set to false to reduce CPU time. | 2014-06-16 17:39:17
Notice: The study 'TickAlertsDestination' has sc.FreeDLL set to true. Use only during development! Set to false to reduce CPU time. | 2014-06-16 17:39:17
Notice: The study 'TickAlertsSource' has sc.FreeDLL set to true. Use only during development! Set to false to reduce CPU time. | 2014-06-16 17:39:17

Many thanks
[2014-06-17 09:29:10]
Zosimus - Posts: 345
Use this version instead. I changed sc.FreeDLL to "0".
(deltete the previous version from the ACS_Source folder, save this one instead and build it)
Anyway this code should hardly add any load to your cpu because most of it runs only once per bar.
attachmentEngulfingBar_Vline.cpp - Attached On 2014-06-17 09:28:39 UTC - Size: 6.4 KB - 400 views
[2014-06-17 11:45:30]
Dom7364 - Posts: 257
Thanks Yon, the message mentioned "engulfing bars" and "TickAlersdestination" and TickAlertsource, so I am guessing there is the same "issue" with the 2 .cpp too?

Thanks a million!
[2014-06-17 12:09:10]
Zosimus - Posts: 345
Yes, the sc.FreeDll has to be changed to "0" on those codes too.
Do you want to do it yourself or do you prefer that i will send it to you ?
[2014-06-17 12:16:18]
Dom7364 - Posts: 257
I am sure I can do it myself, except by the time I have asked how to edit and save changes etc, it would have taken you more time than if you send it to me.. THen again, if I know how to do it, mI might learn ;-)

Thanks either way!!
[2014-06-17 12:43:13]
Zosimus - Posts: 345
If you want to do it your self you will have to open the cpp files and change the line sc.FreeDLL = 1; to sc.FreeDLL = 0;
we are talking about line #38 in the destination study and line #29 in the source study.


Date Time Of Last Edit: 2014-09-25 20:54:51
[2014-06-18 08:19:08]
Dom7364 - Posts: 257
Thanks a million Yon... :-)

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

Login

Login Page - Create Account