Heiken Ashi trading strategy

Forums ProRealTime English forum ProOrder support Heiken Ashi trading strategy

Viewing 9 posts - 1 through 9 (of 9 total)
  • #4614

    Coded by request for Bob after his comment on this screener in the Library : http://www.prorealcode.com/prorealtime-market-screeners/bullish-and-bearish-heiken-ashi-screener/

    A simple automatic trading strategy with Heiken Ashi candles tests : GO LONG if a new green candle is detected after a previous red one and vice-versa. Please find code attached to this post topic.

    heiken-ashi-trading-strategy

    #4618

    Thanks Nicolas, I’ll start testing this now and let you know how it performs.

    Would you expect this to perform best on longer or shorter timeframes (I was thinking of using it on 5 min setting during regular trading hours of Dow 30)?

    Thanks again,

    Bob

    #4624

    Of course it will be more effective on higher timeframe with good market moves. Heiken Ashi candles can also be “smoothed” with moving average values instead of OHLC candlestick values, that way you can be more longer in trade, let the profit run and can also filter the market noises.

    By the way, this is a simple strategy, I think you’ll find a lot of ways to improve it.

    #57751

    Hi Nicolas,

    Beginners question here. Is it possible to add a 10 pip take profit to this code? So that if any open trade reaches 10 pips profit, the trade automatically closes.

    Thanks!

    #57760

    Yes it’s possible, just add this line at the end of the code:

     

    #57761

    Thanks a lot!

    #58804

    Another question if you have the time. I’ve been looking for a code to determine the trading hours, for example: I only want the system to run between 08.45 – 10.00 (CET). Do you know what the code would look like for that?

    Thanks!

    #58842
    #58859

    Ah, thanks GraHal!

Viewing 9 posts - 1 through 9 (of 9 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login