Turtles
Donchian Channels System [racer8]Donchian Channels was developed by Richard Donchian in 1949. They have been used with great success by the Turtles, a group of traders in the 1980s who managed to obtain returns of 80% annually. Truly incredible story.
This particular indicator is a trend trading system I coded that shows you when to enter long or short and when to exit those longs or shorts.
In addition, this indicator shows the past performance results that are incredibly valuable information for backtesting this system.
The high, mid, and low lines have been plotted to show how this system works. The blue line is the high line. The gray line is the mid line. The red line is the low line.
Entry signals are generated when the current close closes above the highest price for a long trade or below the lowest price for a short trade over n periods.
Exit signals are generated when the current close crosses the mid-line (aka. baseline) and closes.
Baseline = (highest price + lowest price)/2
I encourage you to play around with the settings, although I reccomend avoiding any period below 14.
This system is no bullshit, it's the real deal.
Good luck traders, and enjoy ;)
Real TurtleThere 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 entry on either side in order to enter at optimal time. The ability to specify a backtest period was borrowed from another script, I grabbed it so long ago I no longer remember from whom i borrowed it, if it was yours I will credit you if you PM me.
This version unlike others also allows you to specify a risk % so you only risk that percentage of your equity in a trade, as calculated from your stoploss.
Disclaimer: I have published several scripts in the past when i was first learning pinescript and they are all horrible please ignore those. I would delete them, but TV doesn't allow you to delete.
Turtle SystemFirst 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.
Features:
Green lines represents the 20/55 day highs (configurable)
Red lines represent the 10/20 day lows (configurable)
Purple line represents stop (defaults to 2N away configurable)
Pyramids up to 5 long positions (each 1N away configurable).
Arrows:
Up Arrow Green - 20 day long position entered
Up Arrow Purple - 55 day long position entered
Down Arrow Green - Winning trade exited out.
Down Arrow Red - Losing Trade either stopped out or exited out.
Code tracks successful wins as it is only allowed to enter positions if the last trade was not a wining trade.
One limitation, only supports Long trades although wouldn't be a lot of work to also make it support Short. NASDAQ:AAPL
Love to hear feedback on improvements, particularly to make it more robust.
Turtles Modified AlertsAlerts for famous Turtle Trading Rules. Based on work from tmr0 and ossettia . It can be used with Autoview.
If you have any advice on how to further improve the script, please let me know by PM or comment below. Thanks!
Please hit on "Like" if you find this script useful so that others can find it easier. Thanks!
*** The information and script provided here are no recommendation to buy or sell. They are just an idea for educational and discussion purposes. ***
20 years old Turtles strategy still work!!original idea from «Way of the Turtle: The Secret Methods that Turned Ordinary People into Legendary Traders» (2007) CURTIS FAITH