Login Page - Create Account

Support Board


Date/Time: Sat, 11 Jan 2025 22:57:41 +0000



Trader Dynamic Index & Alert Triggering Code Validation Request

View Count: 1334

[2017-01-13 12:44:25]
isa74 - Posts: 54
Sir,

I have created the Dynamic Trader index indicator using several components inside Sierra :

A Study to integrate all the other elements, in this case I have chose the RSI

Then I added these elements:

* Green line = RSI Price line = 1 SMA 2 (ID34)
* Red line = Trade Signal line = 1 SMA 7 (ID35)
* Blue lines = Volatility Bands = 2 SMA 35 as Bollinger Bands with a deviation of 1.62
* Yellow line = Market Base Line = 1 SMA 35

If I want to code an alert when the RSI Priceline crosses the Trade Signal Line, should I create one Color Bar Based On Alert Condition with this code ?: =CROSSOVER(ID34.SG1,ID35.SG1)

or should I insert this code elsewhere ? I am asking this as it seems not to be very effective at the moment..

If I want to add some conditions for triggering the alert with levels being respected, shall I add a lign after the first one like ?

=CROSSOVER(ID34.SG1,ID35.SG1)
=AND(ID33.SG1 > 70,ID33.SG1 < 30)

ID33 is the indicator RSI that receive all the other elements initially.

See attached please.

It is a matter of understand how these component can interact one with another with the code.

I am a bit lost, i must say...to get to this point.

Can you help me ?

Thanks : !






Thanks !!
imagesc_TDI_components.png / V - Attached On 2017-01-13 12:44:10 UTC - Size: 40.77 KB - 257 views
[2017-01-13 18:11:16]
Sierra Chart Engineering - Posts: 104368
We provide alert programming help for 35 USD per hour.
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