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].
For more options, visit this group at 
http://groups.google.com/group/jbooktrader?hl=en.

Reply via email to