Michael Turner's "Intelligent Stop Loss" Strategy
Author: Dieter Weiss
Creation Date: 12/6/2019 1:24 PM
profile picture

Dieter Weiss

#1
Hi,

a guy named Michael Turner invented a stop loss strategy on weekly basis. In his book he says:


HV = (52 week high - 52 week low)
---------------------------------------
Average( 52 week high + 52 week low)

EM = StockPrice x HV x ( SqrRoot(5)/SqrRoot(252))

StopLoss for Long Positions = PreviousWeek's lowest low - EM

I've tried different ways but didn't get a reasonable result.

I need a suggestion for coding.
Thanks and regards
Dieter

profile picture

Eugene

#2
Hi,

First thing that comes to mind, HV is not the difference between 52 week high and low. The HV indicator is the historical volatility i.e. the standard deviation of the logarithm of the price ratio.

Perhaps I haven't searched hard enough but I couldn't find sources and examples. Maybe you're more lucky?
profile picture

Eugene

#3
FWIW

CODE:
Please log in to see this code.
profile picture

Dieter Weiss

#4
Thank You, Eugene!

This seems to be the solution.

Regards
Dieter
profile picture

Eugene

#5
Dieter, was glad to help you!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).