Heiken Ashi Long/Short

Forums ProRealTime English forum ProOrder support Heiken Ashi Long/Short

Viewing 14 posts - 1 through 14 (of 14 total)
  • #68888

    Hello,

    How can I write a code for buying Heiken ashi candles when close green. Also the code to short when close red?

    Or where can I find this info.

    Thanks

    Tony

    #68890

    Can someone tell me how to code to buy long when Heiken ashi close green only. I know how to set my sell code and indicators. I just dont know the code for buy using Heiken ashi.

     

    Thanks

    Tony

    #68920

    TRezin,

    Kindly try first the search engine of this site. It is quite an efficient tool were you’ll find everthing you need..

    https://www.prorealcode.com/prorealtime-trading-strategies/simple-heiken-ashi-trading-strategy/

    Thank you.

    1 user thanked author for this post.
    #69100

    Thanks for the help.

    #69104

    Hello Inertia,

    Sorry but the code you provide dose not quite enter on the green and red. Could you help me again and adjust the code as follows:

    Buy on close of Green Hieken Ashi candle

    Sell when the Red Hieken Ashi candle closes below the 13EMA

    I dont want a short position.

    Thanks

    Tony

    #69112

    Hi TRezin,

    I just helped you out on how to search on this great forum.

    Kindly note that  I am not a coder but I have done the following according to your request.

    To be verified 😉

     

     

    #69163

    Hello,

    Thanks for your help again.

    I have added some codes to your system that are proven to show good back testing now.

    I have attached for you.

    Thanks

    Tony

     

    #69171

    Sorry thats it sorted.

     

    Thanks

    #69172

    Good.

    FYI: For the DAX I do not find any edge in any UT.

    #69174

    Inertia,

    If you have time

    One more thing. Do you know why this code is not shorting the market?

    Thanks

    #69178

    Inertia,

    If you have time

    One more thing. Do you know why this code is not shorting the market?

    Thanks

    https://www.prorealcode.com/topic/journey-prt/#post-68453

    #69181

    Do you know why this code is not shorting the market?

    Because there is no SELLSHORT instruction in the code.

    1 user thanked author for this post.
    #69187

    Hi Eric,

    from #post69174,

    line 34, sellshort instead of buy

    and in that case, line 42 exitshort.

    #69189

    Thanks for the fix. Its working now.

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

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