Hi, I have been trying to use "IsFalling" in an indicator code, and it just isn't working for me.
I must be doing something wrong, but I just can't figure it out. I have tried it a couple of ways as follows:
if (IsFalling(SMA(Typical,3))) && Close[0]>BP[0]);
BarBrush = TransitionUp;
if (IsFalling(BP)) && Close[0]>BP[0]);
BarBrush = TransitionUp;
if (BP[0]<BP[1] && Close[0]>BP[0]);
BarBrush = TransitionUp;
You should know, BP[0] = SMA(Typical, 3)[0];
All 3 of these examples don't work.
I have had trouble when trying to use IsRising / IsFalling in the past.
Can you see what I have done wrong and how to correct it?
Thanks,
Ken.
Comment