Login Page - Create Account

Support Board


Date/Time: Wed, 05 Mar 2025 19:19:27 +0000



Auto Trader trigger on Color Change of line?

View Count: 751

[2022-01-15 20:26:40]
hr719 - Posts: 25
I Want to use "trading system based on Alert" study. I would like the trigger to only happen when a MA line changes color, not cross from below. I am using the "ALMA" study from user contributed studies. The line changes to pink when it's bullish and yellow when it is bearish. I would like it so when the line turns pink I want to trigger an auto buy and when the line turns Yellow I want to trigger auto sell order. How do I achieve this? Currently I am using cross from below or above formula, but would like to ignore the cross all together and only have the trigger once the line changes color. What would the alert condition be for this?
Date Time Of Last Edit: 2022-01-15 20:29:34
[2022-01-16 14:14:33]
hr719 - Posts: 25
Anyone able to help with thiss?
[2022-01-17 03:32:33]
Sawtooth - Posts: 4179
You'll need two instances of the Trading System Based On Alert Condition study, one for entries, one for exits.
Trading System Based on Alert Condition

Modify examples #8 or #9 for the formula:
Study/Chart Alerts And Scanning: Alert Formula Examples
You'll need to use one half of the formula for the entry, and the other half for the exit.

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

Login

Login Page - Create Account