Login Page - Create Account

Support Board


Date/Time: Tue, 23 Apr 2024 21:18:08 +0000



Post From: based on slope

[2020-07-03 15:54:56]
Chadly - Posts: 65
The condition would need to be as follows. I'll preface this slightly with the slope capability that SC has. As you know, RSI, SMI, all those multiple line indicators can be set to slope and different colors when slope. What I would like to do, is have the alert identify when both lines are sloped up or conversely for down.

As of now, to the human eye, I can see slope as red for down and slope as green for up. I would like to have an alert so that when sloped up, it alerts and when sloped down it alerts. (both lines) - So the false would be produced when one line is sloped down and one line is sloped up. You would not get a signal. Both lines would need to be sloped up for example. Both lines conversely would need to be sloped down. If one line deviates, the signal does not fire.

this code provided is extremely close, however there are sometimes when one line is obviously (not flat at all) sloped in the opposite direction and the other line sg2 for example is sloped up. It actually produced a signal in both directions.