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 834 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

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

  #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?
Trade idea based off three indicators.
Traders Hideout
Quant vue
Trading Reviews and Vendors
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
MC PL editor upgrade
MultiCharts
 
  #2 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,612 since Aug 2009
Thanks Given: 11,341
Thanks Received: 2,747

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 Twitter Reply With Quote
Thanked by:
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103



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


© 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