HI!!!... Need help in writing Amibroker AFL for the below Logic..
**I need two parallel lines at Closing prices of two consecutive colour (bull and bear) or( bear and bull ) candles.
(If the above pattern in chart, then draw parallel line at closing prices of 2 candles.)
** Then generate buy/sell signals if the coming candles close above/below lines.
** Any similar above pattern occur in future, then previous channel will be disappear and fresh channel will be formed at as per 2 nd point..
Please help.....
Thanks In advance
**I need two parallel lines at Closing prices of two consecutive colour (bull and bear) or( bear and bull ) candles.
(If the above pattern in chart, then draw parallel line at closing prices of 2 candles.)
** Then generate buy/sell signals if the coming candles close above/below lines.
** Any similar above pattern occur in future, then previous channel will be disappear and fresh channel will be formed at as per 2 nd point..
Please help.....
Thanks In advance