Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 15:48:15 +0000



[Programming Help] - Custom study request: Subgraph/Line based on alert condition

View Count: 517

[2020-06-09 16:38:03]
Matt NL - Posts: 91
As per subject, would this simple study be possible to add please?

Like with the "colour bar based on alert condition".

So in the alert condition we could write, for example, the difference between price and a moving average, as a percentage, and then have it plotted on a subgraph.

Thanks
Matt
[2020-06-10 00:46:14]
Sawtooth - Posts: 3983
You could use a combination of the Study Subgraphs Subtract/Difference study and the Study Subgraphs Divide/Ratio study.

Or you could use the Spreadsheet Formula study, with a formula in the Formula field that returns the desired value.

Or you could use the Spreadsheet Study study, with a formula in row 3 of a Formula Column on the spreadsheet sheet.
[2020-06-11 09:52:02]
Matt NL - Posts: 91
nice, thanks, I'll try
[2020-06-11 19:50:15]
Programming_autotrading_phonesup - Posts: 59
Glad to help you further with that. Please send me a Direct Message.

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

Login

Login Page - Create Account