Login Page - Create Account

Support Board


Date/Time: Fri, 10 May 2024 15:25:09 +0000



Moving Average Crossover Alert

View Count: 2802

[2018-08-14 20:04:32]
User163689 - Posts: 29
Can i take 2 moving averages that i have overlayed from 2 different charts on to the destination chart and have a color bar alert when they cross on the destination chart?
Your product keeps getting better and better keep up the great work, thanks
[2018-08-14 22:10:41]
John - SC Support - Posts: 31520
Yes. Just use the Subgraphs from the 2 Study/Price Overlay studies that you have put on for the Color Bar Based On Alert Condition Study.

For example, in the Color Bar Based on Alert Condition, you would enter the following formula: =CROSSOVER(ID1.SG1, ID2.SG1)

This assumes that the two overlays are on the chart as IDs 1 and 2 and that the appropriate Subgraphs are both the first 1 in each Overlay study (SG1).

For information on how to enter an alert, refer to the following page:
Study/Chart Alerts And Scanning: To Enter an Alert Condition on a Study

The CROSSOVER function documentation can be found here:
https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#CROSSOVER_Function
For the most reliable, advanced, and zero cost futures order routing, use 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