[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Signal to note 2nd time changed direction under/over limits



PureBytes Links

Trading Reference Links

I was wondering how to signal the second time an oscillator changed
direction per each time
the oscillator was over/under fixed limit.
For one time (turn down over upper limit) it would be:

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

condition12=value2>80;
condition13=value2<value2[1];
condition14=value2[1]>value2[2];

if condition12 and condition13 and condition14 then...

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

But I did not know how to attach to series variables to show  2 to n times
direction changes
for each occurance that the oscillator was over/under limit. Maybe a simple
way would be to
note the additional buy/sell signal quantity notation (if the signals were
indicators only), but there
should be some systemic way to desinate how many changes per each breach of
the limit without external global variables.


Thanks Greatly,
Phil