Where is the source for SSA?
Where is the evidence that SSA is indeed crossing zero when you think so?
You are making some bold assertions without evidence to back you up ... and nothing for us to work with.
I forget the mathematical priority evaluation for someing like "SSA[N] > 0 && SSA[N-1] <=0 && SSA[N] != EMPTY_VALUE" so I just use a lot of brackets to be sure it works as intended.
fastsingular(arryTimeSeries,N,Lag,NumComps,SSA);
arryTimeSeries is a normal array (zero on the left,) SSA is a series array (zero index on the right. ) is it putting the values where you expect?
Where is the source for SSA?
Where is the evidence that SSA is indeed crossing zero when you think so?
You are making some bold assertions without evidence to back you up ... and nothing for us to work with.
Attached is an example. The Alert window opened, but the SSA is not crossing the 0 level.
*exasperation* Your refusal to allow me to duplicate your charts is VERY ANNOYING.
As far as I can see, THE PROGRAM IS DOING EXACTLY WHAT YOU ARE TELLING IT TO - Displaying an alert N (300) bars after SSA is crossing 0
I'll say that again in a different way; You are NOT asking for an alert when SSA crossing 0, but N bars AFTER it crosses 0
Some of us are willing to assist, but you are making it very difficult because you are making FAR TOO MANY ASSUMPTIONS and releasing FAR TOO LITTLE CODE! Will you PLEASE show ...
- The chart at the point that is N bars old
It would be REALLY helpful to have the program display the time, rather taking your word for it (sorry, but I've caught MYSELF out many times ASSUMING what the values are)
i.e. Display "Time[123] = ..." and convert Time[N] to a human readable form.
*mutter* this is like trying to fight with one hand tied behind my back
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have an indicator with the following code.
The intent is to open an alert window when the SSA line crosses the 0 level.
However, when the 0 level is crossed, there is no alert window.
Then, several candles later, the alert window finally opens.
I need help with the Alert section to identify the problem. Thanks.