NexusFi: Find Your Edge


Home Menu

 





Ninjatrader ATM strategy to automatically adjust your trail stop based on prev candle


Discussion in NinjaTrader

Updated
    1. trending_up 1,746 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 mrdanielkuo 
CA, USA
 
Posts: 17 since Nov 2011
Thanks Given: 13
Thanks Received: 4

Hi all,

Is there a Ninjatrader 8 ATM strategy will automatically adjust your trail stop based on previous candle low/high? Thank you.

For example:
If I use one minute candle chart and has a long entry at 10:05:30AM, when at 10:06:00AM, the trail stop will automatically adjust to be the low of 10:05AM candle (minus x ticks - ideally adjustable), when at 10:07:00AM, the trail stop will automatically adjust to be the low of 10:06AM candle (minus x ticks - ideally adjustable).

If I use one minute candle chart and has a short entry at 10:05:30AM, when at 10:06:00AM, the trail stop will automatically adjust to be the high of 10:05AM candle (plus x ticks - ideally adjustable), when at 10:07:00AM, the trail stop will automatically adjust to be the high of 10:06AM candle (plus x ticks - ideally adjustable).

Thanks,

Daniel


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
My Rant with AMP Futures
Trading Reviews and Vendors
No book, only a stair: journaling fills where price move …
Cryptocurrency
 
  #2 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: NQ / ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,830 since Aug 2009
Thanks Given: 11,805
Thanks Received: 3,057

Maybe this wil be helpful.




Sent using the NexusFi mobile app


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117



mrdanielkuo View Post
Hi all,

Is there a Ninjatrader 8 ATM strategy will automatically adjust your trail stop based on previous candle low/high? Thank you.

For example:
If I use one minute candle chart and has a long entry at 10:05:30AM, when at 10:06:00AM, the trail stop will automatically adjust to be the low of 10:05AM candle (minus x ticks - ideally adjustable), when at 10:07:00AM, the trail stop will automatically adjust to be the low of 10:06AM candle (minus x ticks - ideally adjustable).

If I use one minute candle chart and has a short entry at 10:05:30AM, when at 10:06:00AM, the trail stop will automatically adjust to be the high of 10:05AM candle (plus x ticks - ideally adjustable), when at 10:07:00AM, the trail stop will automatically adjust to be the high of 10:06AM candle (plus x ticks - ideally adjustable).

Thanks,

Daniel

This is not possible. When using Automasted Trade Management (ATM) Stops will be trailed at a set distance - trailing amount - from the highest high (long position) or lowest low (short position).
This will not take into account lows or highs of the prior candle.

However, you may create a custom strategy with the strategy builder or directly via NinjaScript that adjusts the stops as you have described.


Reply With Quote
Thanked by:




Last Updated on January 29, 2023


© 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