NexusFi: Find Your Edge


Home Menu

 





Trailing stop in strategy


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Bullywig with 7 posts (0 thanks)
    2. looks_two forgiven with 3 posts (2 thanks)
    3. looks_3 rleplae with 3 posts (2 thanks)
    4. looks_4 adaisguy with 2 posts (0 thanks)
    1. trending_up 14,116 views
    2. thumb_up 4 thanks given
    3. group 10 followers
    1. forum 20 posts
    2. attach_file 0 attachments




 
Search this Thread
  #21 (permalink)
 adaisguy 
Edmonton, Alberta
 
Experience: Intermediate
Platform: NT8
Broker: Continuum, Global Futures, Ironbeam
Trading: ES
Posts: 7 since May 2016
Thanks Given: 1
Thanks Received: 4


Bullywig View Post
I've been playing around with that exact strategy, but it's set up for a long entry only. I was able to figure out how to set up the short entry, but not both within the same strategy. As a separate strategy. The parameters to enter in that template are simply close(0)>close(1) if I;m understanding the logic correctly. I'm not ninja script proficient; just starting out so struggling to get my conditions in lieu (close(0) >close(1) portion.

You can have long and short orders at the same time. Simply use two AtmStrategyCreate commands, give them two different names and make one a long entry and the other a short entry. You cannot directly make the orders OCO but you can have your strategy cancel one order when the other order is filled.

You can download an example strategy here: OCO bracket stop orders with different ATM strategies - NinjaTrader Support Forum


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Daytrading to swingtrading
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks




Last Updated on March 1, 2017


© 2026 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 - Downloads - Top
no new posts