Heiken Ashi Smoothed Cloud – Day Trading System

Forums ProRealTime English forum ProOrder support Heiken Ashi Smoothed Cloud – Day Trading System

Viewing 12 posts - 1 through 12 (of 12 total)
  • #162998

    With the help of the community (Nonetheless, Nicolas, & Vonasi) I was able to turn the smoothed Heiken Ashi smoothed : Forum ProBuilder support – ProRealTime (prorealcode.com) from the blog into an equity strategy.  I typically trade the leveraged small cap ETF TNA in the USA and so the backtest is on it.

    I had luck going back 3 years on a 5 minute chart, but could not get to perform in other timeframes or longer and shorter horizons.  I think something is here, but t needs works and I am open to ideas.   I am thinking good meat, need sauce…

    Code below and attached.

     

    2 users thanked author for this post.
    #163064

    If I were you I’d try to re-optimize it for a major index – DJ or NASDAQ for example. Low liquidity  on TNA means the spread is enormous and the margin requirement comparatively high.

    Attached is a quick test with your MM switched off and Spread = 2. Position size = 20, roughly equivalent margin to $1 on the DJI

    #163068

    Actually you can ignore the result I attached as I forgot to alter the time settings for the UK. Running it on Wall St hours is better, but not great.

    I think the spread is too high to make this work on that ETF.

    #163069

    I did not think of the spread as I normally trade on 4H charts and thus the spreads don’t bother me much as I’m not trying to pluck small gains, instead stay in a trade for days and catch the swing.

    As I said prior, I like the idea of HA Cloud but it needs additional coding to work. I was my first code I have published.

     

    #163252

    @SB-FO thanks for publishing.

    I ran it in ORT layout (optimised in step2), for 100k. Dow 1m. long&short, 0.25%sl

    Added a criteria to reduce number of trades. I like to use i.e. close>totalprice

    The thing is, disabling short shows a poor performance for long, disabling long shows a good result for short. Together they have the best results.

    Here are results on 200k on step4. Don’t ditch your setup just yet. Above you have your ingredient for the sauce 🙂

    #163256

    looking at the charts, it’s pretty annoying that using a profittarget limits it’s potential. (I used sl* 1.5 in optimisation)

    Optimising the ts unleashed extra performance while removing the pt.

    Basically it makes sense. A wave of moving averages are always lagging, so if a wave start to move down, generally the index is already down the average. If the additional criteria happens there is enough room for an upswing with a low risk. You are then profiting from fake signals.

     

     

     

    #163299

    there’s still room for improvement.

    2 bad days stood out, dec 31 and nov 03 us election

    Ignoring those 2 days and looking at the start& endtime improved it further. Check the stoplos for both up to 0.5%

    So it was optimised (core) on 100k and values applied on 200k  I didn’t use the equitypart and it’s all based on 1 positionsize.

    There is still doubt, why are results in months (besides november) different on 100k compared to 200k. Probably because a once function and could be a problem.

    Anyway I hope this is a reason to look at the ORT layout because on that idea there was not much interest and the strategy posted by the SB-FO .

    #164267

    All, thanks for your feedback and my apologies for not responding sooner. It is ski season here in Utah and that keeping me fit.

    Anyway, Paul, thanks for your input.  Could you be so kind and post your revises code.

    I’ll be posting another strategy which is also promising.

    SB-FO

    #164284

    Hi, that’s a nice way to keep fit!  Here’s one that is optimised on up to 200k dow 1minute. It really  shows if loading it on 1M bars.

     

     

    3 users thanked author for this post.
    #164383

    Thanks Paul.  I will play with it.

    #164453

    Thank you very much for sharing this strategy with us, it looks very promising and the overfit risk is really low as log as this is a simple stragegy without indicators (assumming that Heiken Ashi is not an indiciator).

     

    I wonder if it could be interesting to include a vectorial component to this strategy, for example the angle and slope of the crossing between the upper and the lower Heiken Ashi Clould lines in order to avoid false signals when the angle is not big enough. What do you think? I’ll try to program this vectorial Heikin Cloud by myself but as long as my programming skills are very limited, maybe someone wants to take a step ahead and program it by him/herself and could share it whith us.

    #164498

    Ryugin, that is a great idea.  I have thought of using the slop curve / crossing, alas my coding skills are not good enough to know how to do that.  Perhaps indeed another member of the community can help out.  Nicolas & Vonasi might have some insights.

    Cheers, SB-FO

     

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

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