There are a few different attempts at the turtle strategy on here, but none that I have seen thus far correctly follow the strategy as I know it. This version uses a stop order to trail out of the position by moving the stop order to match the exit channel or stoploss as the N*2( ema of True Range * 2). This version of turtle strategy also uses stop orders for...
Strategy based on Turtle Trading Strategy from William Eckhardt and Richard Dennis
- Considers entering trades on breakout of Donchian channels (upper for long, lower for short) (Default length = 20 for daily)
- Considers exiting trades on breakout of Donchian channels (lower for long, upper for short) with lower length (10 for daily)
- Uses 2N ATR (default) as stop loss
First pinescript strategy I've ever written so still learning what is possible.
This strategy is based on the famous turtle system and tried to stay true
to the rules within the confines of what pinescript will allow me to do.
Green lines represents the 20/55 day highs (configurable)
Red lines represent the 10/20 day lows (configurable)
Doncian Channels is a trend tracking indicator developed by Richard Doncian. The upper line of the channel is determined by the highest value seen by the price in the defined period, the lower line of the channel is determined by the lowest value seen by the price in the defined period. The middle line takes the average value of the lower and upper channels.
This is a short-sell version of the strategy based on the famous turtle system.
In a nutshell, it a trend trading system where you are shorting on strength (in the downtrend), selling on
weakness (that it might be reversing).
positions should be entered when the price crosses under the 20-day...