Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 06:08:44 +0000



Post From: Vertical line for engulfing bars

[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