Strategy based on Heiken Ashi Moving Average

S

sicilianslice

New member
VIP
Would someone be able to help code a strategy based on HAMA? I think it could be a useful strategy to buy on the first green candle that closes and then reverse the position on the first red candle that closes. The only challenge i foresee is that since the study is hiding the underlying renko bricks and generating HAMA candles, I'm not sure if TOS can generate buy sell signals based on the candles that the indicator is producing. I am running this indicator on a 2 tick renko and it looks to be producing favorable results.

Here is the indicator. Hope someone can help. Thanks in advance.

https://tos.mx/pLITkME
 
mc01439

mc01439

Well-known member
2019 Donor
VIP
If no one else replies I will work on after the markets close.
 
BenTen

BenTen

Administrative
Staff
VIP
@Nicholas Correct. All backtesting strategies in ThinkorSwim are for testing only. The platform does not support auto trading.
 
N

Nicholas

New member
@Nicholas Correct. All backtesting strategies in ThinkorSwim are for testing only. The platform does not support auto trading.
Thank you. Yes I’m using this strategy /MES, 3/3 day green.... today 740am-840 very choppy , 930-934 caught 10 points...
I’m using HAMA weighted 35/111/200
 
N

Nicholas

New member
I love your code, been using it.

Could I ask for another version where
2 HAMA of same colour, signal an entry.
(35 and 110 , when both hiken Ashi are green, 2nd brick entry. )

Many thanks
When 35 change colour 2nd brick EXIT
(the faster MA, reverse to red , end of trend/trend change)
 

Similar threads

Top