Need a Doji indicator.
Simply Morning Star and Evening Star.
That's it.
Full source code required.
(To fulfil the senseless thirty word rule one has to write some senseless words. This has nothing to do with the oder. Just crap...)