Heikin Ashi AFL

Hi everyone,
I need to code Heikin Ashi candle strategy plese help me
Long and short onditions are as follows ;

  1. If a green doji HeikinAshi candle forms and the very next HeikinAshi candle is bullish engulfing with no lower shadow then go long in real price with SL low of the doji candle with some buffer.
  2. If bearish doji is formed and next candle is bearish engulfing with no upper shadow then go short with SL high of the doji candle with some buffer.

I would highly suggest that for you to get the most out of AmiBroker, you will need to put in a little effort yourself. Be sure to search through this forum rather than just asking questions. Many questions you will have, have been answered many times by some amazing coders on here. Also, before asking any questions having to do with anyone coding something for you, it is always a better idea to try yourself first and then if unsuccessful, post YOUR code and let others assist you in the modifications and troubleshoot. Trust me, you will get much more help this way. Here is a good example related to your post....


yeah thanks for the support I am giving my good efforts to learn the AFL.

1 Like