Heikin Ashi Advanced – help with simple code

Forums ProRealTime English forum General trading discussions Heikin Ashi Advanced – help with simple code

Viewing 6 posts - 1 through 6 (of 6 total)
  • #227915

    I love the following indicator, created by Gidien: https://www.prorealcode.com/prorealtime-indicators/heikin-ashi-advanced/

    I’m interested in incorporating this indicator into my trading strategy, but I’m not well-versed in coding.
    As a beginner, I’d appreciate assistance with the following:

    • Buy when the candlestick is green.
    • Sell when the candlestick is red.

    This would already mean a step forward for me.

    I hope someone can assist me with this

    Gr

    #227918

    Good morning

    For example

    purchase:

    F= ao < ac and ao[1]>ac[1]

    if F then

    BUY 10000 CASH at market
    SET STOP %LOSS ts
    SET target %profit tp
    endif

    sale :

    G= ao > ac and ao[1]<ac[1]

    if G then

    SELL 10000 CASH at market
    SET STOP %LOSS ts
    SET target %profit tp
    endif

    #227920
    JS

    Hi,

    Here is the system that buys when the color changes to green and sells when the color changes to red…

    #227926

    Thx for the *.itf , JS.

    In your screenshot, it indeed seem to do the trick, exactly how I would want it.  But in my workstation, it appears different.
    Also the name of the backtest appears as (0 0 48 26) and not as (0 0 f 7 3)

    Maybe this is because I’m using it on timeframes of 1 week?  Any tips?

     

    #227932
    JS

    Hi,

    Did you use the “ITF” file because it contains the parameters that you can adjust…

    The time frame shouldn’t matter when using the system, but it does affect the results…

    #227933

    Got it fixed

    Thx for the help all !

    1 user thanked author for this post.
    avatar JS
Viewing 6 posts - 1 through 6 (of 6 total)
Similar topics:

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