Page 1 of 1

Hull_and_Heiken_Ashi_Strategy

PostPosted: Fri Nov 22, 2019 8:09 am
by Apprentice
1.png

2.png

Based on request.
viewtopic.php?f=27&t=69150
Hull_and_Heiken_Ashi_Strategy.lua
(132.5 KiB) Downloaded 363 times

HMA
viewtopic.php?f=17&t=1659

Re: Hull_and_Heiken_Ashi_Strategy

PostPosted: Tue Nov 26, 2019 9:50 pm
by mabus23
hi apprentice, thankyou for this.

i'm not sure if we have the rules quite right, i started running it this morning and it took a long position on AUS200 on 30min chart when it should have taken a short (hull MA turned down)

Re: Hull_and_Heiken_Ashi_Strategy

PostPosted: Tue Nov 26, 2019 10:15 pm
by mabus23
here is the example

Re: Hull_and_Heiken_Ashi_Strategy

PostPosted: Wed Nov 27, 2019 6:09 am
by Apprentice
Your request is added to the development list.
Development reference 364.

Re: Hull_and_Heiken_Ashi_Strategy

PostPosted: Wed Nov 27, 2019 8:46 am
by Apprentice
Hull_and_Heiken_Ashi_Strategy.lua
(132.79 KiB) Downloaded 350 times

Added logging. You can turn on logging using the "Add log info to signals" parameter. The strategy will print all its decisions.

Let's just double-check.
Can you redefine Entry / Exit rules?

Re: Hull_and_Heiken_Ashi_Strategy

PostPosted: Thu Nov 28, 2019 7:27 am
by mabus23
thanks apprentice

rules:
go long when the hull ma slope increases, and Heiken Ashi candle is above the Hull

opposite for short trades

exit trades when the hull ma slope changes direction at close of candle