Login Page - Create Account

Support Board


Date/Time: Sun, 12 Jan 2025 02:00:23 +0000



Post From: Trader Dynamic Index & Alert Triggering Code Validation Request

[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 - 258 views