There is a whole thread about this from two weeks ago titled "Reversal indicator", which you can hopefully see on the google groups web interface here:
http://groups.google.com/group/jbooktrader/browse_thread/thread/dc533e1d2566d1df# On Wed, Dec 22, 2010 at 3:24 AM, new_trader <[email protected]> wrote: > can anybody give me some hints on how to implement a peak and reversal > detection? > > the idea behind this: the current strategies like Defender look if > some entry and exit criterions are met. > this is done by simple comparison: if(tension>= entry) setPosition(1); > > I want to add an additional crtiterion. > I want to look if tension was rising for the last 5 minutes and has > reached a peak and now is falling. In the chart you see this as a > reversal of tension. if this "chart pattern" is detected and some > other conditions are met then a position can be opened. So I need a > pattern detector which detects the reversal of tension. > > can anybody give me some hints how such a thing can be implemented? > > > > I hope I have described it in an understandable way :-) > > -- > You received this message because you are subscribed to the Google Groups > "JBookTrader" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<jbooktrader%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/jbooktrader?hl=en. > > -- You received this message because you are subscribed to the Google Groups "JBookTrader" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en.
