Heikin Ashi script

Optuma Forums Optuma Scripting Heikin Ashi script

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #58207
    AvatarTonia
    • Topics: 6
    • Replies: 5
    • Posts: 11

    Hi Optuma, I’m currently investigating heikin ashi candles but can’t find any forum scripting comments incorporating these candles. I’m specifically looking at trialing the Optuma backtesting tool and would like a script which, among other criteria, will allow me to enter a trade when the first green(bullish) heikin ashi bar appears after at least three consecutive red(bearish) bars have occurred. Can anyone help please.

    #58209
    MatthewMatthew
    • Topics: 4
    • Replies: 254
    • Posts: 258

    Hi,

    With it being based on Heikin-Ashi candles, it’s a bit tricky, but it can be done.

    We have a Heikin-Ashi script function, so you need to be sure the other scripts are being wrapped around that.  Here is an example using the bullish candle after 3 bearish candles in a row:

    Here are the candles that match the criteria (grey shaded zone):

    Ex4

    Keep in mind, you can’t apply this script to a Candlestick chart with Heikin Ashi candles already enabled, it would become a Heikin Ashi of a Heikin Ashi and the results wouldn’t match. This script has been written to work with the Back Tester.

    • This reply was modified 1 week ago by MatthewMatthew.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close