Turtle Trading Strategy marks optional three-line strike and engulfing candle patterns. Inputs set a Donchian channel length, the four average lengths, a dollar or percentage risk amount, and a risk-to-reward ratio, plus toggles for trade and performance displays. The excerpt ends before the channel and order logic, so entries, exits, and stops are not shown.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Donchian Channel Length
int
10
channelLength
SMMA 1 Length
int
21
len1
SMMA 2 Length
int
50
len2
SMMA 3 Length
int
100
len3
SMMA 4 Length
int
200
len4
Show SMMA Lines
bool
true
showSMMA
Risk Per Trade ($)
float
50.0
riskPerTrade
Risk:Reward Ratio
float
3.0
riskRewardRatio
Use Percent Risk
bool
false
usePercentRisk
Risk Percentage
float
2.0
percentRisk
Use 3-Line Strike
bool
true
use3LineStrike
Use Engulfing Patterns
bool
true
useEngulfing
Show all 14 settings
Setting
Type
Default
Variable
Show Trade Information
bool
true
showTradeInfo
Show Performance
bool
true
showPerformance
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This strategy trades price action pin bar patterns aligned with moving average trend alignment on the main price chart. It defines uptrends or downtrends using a fan arrangement of three moving averages (6 EMA, 18 EMA, and 50 SMA). Entry conditions require a b
This strategy plots running pivot highs as red R circles and pivot lows as blue S circles directly on the price chart. It computes an EMA 3 and a Cto trend line from close prices, then generates long signals on upward EMA-Cto crossovers combined with price pos
This strategy executes trades based on crossovers between a 12-period and a 26-period exponential moving average (EMA). Long positions can be filtered by pivot resistance breakouts and RSI boundary ranges. For trade management, it provides two configurable par
This strategy trades long breakouts of a fast and a slow moving average on the price chart. It opens a long position when price crosses above either average, using a percentage of equity as size. It reduces the position by a set share when the high reaches the
This strategy executes trades on short-term cryptocurrency charts using a combination of pivot support and resistance levels and a multi-pole smoothed trend filter. Entries trigger when price crosses the smoothed trend line and confirms above or below a short-
This strategy trades longs and shorts on the price chart. Long entries require a close above the prior Donchian high, a close above a long-term SMA, and RSI above a threshold, with size set as a percentage of equity. Long exits use a stop at the prior Donchian