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

[EquisMetaStock Group] Category 3 resistance pattern - indicator problem



PureBytes Links

Trading Reference Links

I have created an indicator that will trigger signal when a Category 3 
resistance pattern is formed.

For the benefits of other user, a Category 3 resistance pattern is 
formed when the 3 bars immediately prior to and immediately after the 
pivotal bar must have their highs that are lower than the high of the 
bar pinpointing the Category 3 resistance.

                |
              |  |
            |      |
          |          |

The codes for my indicator are as below:

{Category 3 Resistance}
L1:=Ref(H,-6);
L2:=Ref(H,-5);
L3:=Ref(H,-4);
PP:=Ref(H,-3);
R1:=Ref(H,-2);
R2:=Ref(H,-1);
R3:=HIGH;
bingo:=PP>L1 AND PP>L2 AND PP>L3 AND PP>R1 AND PP>R2 AND PP>R3;
bingo

My question …… my indicator plots a vertical line on same day (that 
means 7th. day) when the "bingo" statement is true. How can I "force" 
the indicator to plot the vertical line on the same day as the bar 
pinpointing the Category 3 resistance (in this the 4th. bar)?

I have tried replacing "bingo" with "Ref(bingo,3)" and it works but 
each time when I open the chart again I will get some error message. 
Any idea where did I go wrong?

Regards,
ALM







------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/