Dear anyone, please Code this if you can...
EA can be applied to any timeframe (even though daily is recommended)
User input X, Y lots, K factor. User can select to use either Short or Long term Turtle or Both.
(1) Short Term Turtle:
Entry - buy/sell X lots on breakout of highest/lowest close bar of last 20bars + I.S pips[optional]
Pyramid/add-in (previous lot size)/2 if entry criteria is met further along the trend[optional] .
Intital Stop, I.S pips = K* 20ema of ATR(of attached timeframe)
Trailing Stop = Exit all lots on reversal breakout of lowest(buy)/highest(sell) bar of last 10bars.
*P/L filter for short term turtle only ->
Do not take the next immediate short term breakout trade if previous trade is a winner.
(2) Long Term Turtle:
Entry - buy/sell Y lots on breakout of highest/lowest close bar of last 55bars
Intital Stop = K* 55ema of ATR
Trailing Stop = Exit all lots on reversal breakout of lowest(buy)/highest(sell) bar of last 20bars.
[Optional] B.Bands Filter for Both Short and Long Term Turtle:
Entry order is only permitted iff bar is within 1std and 2std channel of standard bollinger bands of attached timeframe.