Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 23:03:21 +0000



[Programming Help] - Formula for MACD Fast Line X Points Above Histogram?

View Count: 595

[2016-10-25 01:42:04]
Halco - Posts: 92
=AND((ID5.SG1>0),AND(ID5.SG1<ID5.SG1[-1]),AND(ID5.SG3>0),(ID5.SG1>ID5.SG3),C[0]<C[-1])

Is there a way to modify this formula so that it alerts me when the fast line (SG1) is not just above the histogram (SG3), but x number of points above it? For instance, the fast line is at least 0.0002 points higher than the histogram. Thanks.
Date Time Of Last Edit: 2016-10-25 01:42:41
[2016-10-25 05:23:30]
Sawtooth - Posts: 3981
Try this:
=AND(ID5.SG1>0,ID5.SG1<ID5.SG1[-1],ID5.SG3>0,ID5.SG1>ID5.SG3+0.0002,C[0]<C[-1])
[2016-10-25 07:34:05]
Halco - Posts: 92
That did it. Simple enuf! Thanks Tom.

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

Login

Login Page - Create Account