Malchow (Meckl.)
Experience: Intermediate
Platform: NinjaTrader, TWS
Trading: Stocks
Posts: 17 since Mar 2011
Thanks Given: 15
Thanks Received: 0
|
Hallo,
this is a piece of my code i´m using in my strategy (LONG):
if (WMA(Weighted, 20)[0] > WMA(Weighted, 50)[0]
&& Low[0] > WMA(Weighted, 20)[0]
&& WMA(Weighted, 20)[0] > WMA(Weighted, 20)[4]
&& Close[0] > Swing(5).SwingHigh[0])
{
EnterLong(DefaultQuantity, "Long");
BarColor = Color.CornflowerBlue;
CandleOutlineColor = Color.CornflowerBlue;
BackColor = Color.MidnightBlue;
I´m trading DAX-, Dow Jones- and Bund - Future.
My question is:
How can i set the the trailingstop correctly?
My favourite trailing stop ist the last swing point (Swing.Low or .High like in the code above)
LONG : ever when the next swing.low ist passed - this ist the next SL.
SHORT vice versa.
Thanks for your help
Blackburn
|