close position on heiken-ashi chart

Forums ProRealTime English forum ProOrder support close position on heiken-ashi chart

Viewing 5 posts - 1 through 5 (of 5 total)
  • #161168

    hi,

    can anybody help me with coding for a closing trade?

    if i am going long and i want to close a trade when a red/bear candle showing on the heiken-ashi chart.

    my codes right now

     

    right now its been buying and selling on every candle.

    please help

    thank you

    #161170

    That’s a regular Japanese candlestick.

    Heikin-Ashi candlesticks are an indicator by themselves and need to be coded, their seup is:

    you can comment out all definitions you don’t plan to used.

    To check if a HA candlestick is bearish then you have to use:

     

     

    #161171

    Your code is a normal close and open, not a hieken ashi close.

    Search the forum for the hieken ashi code

    #161172

    kevin12345 – Welcome to the forums. Please read the forum rules before posting any further topics. Your post has been edited.

    • Always use the ‘Insert PRT Code’ button when putting code in your posts to make it easier for others to read.

     

    #161179

    Link to Roberto Code above added as Log 272 here …

    Snippet Link Library

     

    2 users thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)

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