NexusFi: Find Your Edge


Home Menu

 





Ninjatrader Strategy Builder Trailing Stop


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Quick Summary with 1 posts (0 thanks)
    2. looks_two xplorer with 1 posts (1 thanks)
    3. looks_3 mstuhr with 1 posts (0 thanks)
    4. looks_4 Fugitive69 with 1 posts (1 thanks)
    1. trending_up 3,078 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Ninjatrader Strategy Builder Trailing Stop

  #1 (permalink)
 mstuhr 
Colorado Springs, Colorado
 
Experience: Advanced
Platform: NinjaTrader
Trading: CL
Frequency: Every few days
Duration: Minutes
Posts: 4 since Feb 2015
Thanks Given: 6
Thanks Received: 0

I am new to using the Strategy Builder in Ninjatrader. I have built a simple strategy and trying to set up a trailing stop.

I highlighted the trailing stop chose ticks for the mode and 5 for the value.

The stop trailed price and when the market retraced and hit the stop it disappeared from chart trader but did not close the position.

I have been looking for a week trying to find the problem and having no luck.

Any help will be appreciated

Mike

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Strategy stop orders partially filled
EasyLanguage Programming
Better Renko Gaps
The Elite Circle
Footprint for strategy Builder
NinjaTrader
What broker to use for trading palladium futures
Commodities
Quantum physics & Trading dynamics
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
68 thanks
Spoo-nalysis ES e-mini futures S&P 500
21 thanks
Trading with Intuition
18 thanks
The Trading Pit "Futures VIP" Account Journal
15 thanks
GFIs1 1 DAX trade per day journal
15 thanks
  #3 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,990 since Sep 2015
Thanks Given: 15,526
Thanks Received: 15,487



mstuhr View Post
I am new to using the Strategy Builder in Ninjatrader. I have built a simple strategy and trying to set up a trailing stop.

I highlighted the trailing stop chose ticks for the mode and 5 for the value.

The stop trailed price and when the market retraced and hit the stop it disappeared from chart trader but did not close the position.

I have been looking for a week trying to find the problem and having no luck.

Any help will be appreciated

Mike

Hi Mike,

Your best bet is

https://forum.ninjatrader.com/index.php

Reply With Quote
Thanked by:
  #4 (permalink)
 Fugitive69 
Austin, TX
 
Experience: Intermediate
Platform: NT8
Trading: EU, SP, Crude CL
Posts: 90 since Jul 2018
Thanks Given: 33
Thanks Received: 105

The Trailing Stop works well in strategies most of the time, but not always. Here's why:

When manually trading we will sometimes drag the stop near the current price if we think the market run is about to end. We're willing to take profits and reduce the risk of the market turning against us.

But if we drag the stop a little to close to the bid/ask price then Ninjatrader will reject the move. It just won't let you move it that close.

The trailing stop within a strategy can encounter the same type of rejection. There is a delay between a price move in your favor by one tick and the actual trailing stop moving that same tick. If during that delay the price swings back against you then the trailing stop gets into the bid/ask area, generating an error.

Technically, when that error is generated the system knows to do two things:
[1] Exit the trade
[2] Pause the strategy

But it doesn't always exit the trade for some reason. It's a glitch. I've seen it exit the trade like it is supposed to, but far more often it just leaves you hanging.

I've walked away from the computer (in SIM) only to come back to see I'm still in a trade but the strategy is paused. The only way out is to turn on the chart trader (or DOM) and manually get out of the trade.

Bottom line, don't use a trailing stop in a strategy or you will get burned. It's a shame because I'd love to be able to use it.

Reply With Quote
Thanked by:




Last Updated on February 21, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts