Support Board
Date/Time: Sun, 12 Jan 2025 22:30:56 +0000
Post From: Indicator problem
[2017-02-28 13:03:35] |
User976133 - Posts: 38 |
I am trying to get an alert based on some indicators. I have used the study overlay to get the MACD from 2 higher time frames. They are show using slope to indicate uptrend or downtrend. The do exactly what is expected, and match another program I am using. The problem comes in when I try to write the alert. I am trying to set an alert when both lines are in upslope (green) or both are in downslope (red). The formula I use is AND(ID3.SG1>ID3[DG1[-1],ID4.SG1>ID4[DG1[-1]) for the uptrend. Downtrend is the same but changes the less than into more than. This does not get results that match the overlays. Is there a way to do this where the formula gets the same result in both instances? |