Trailing stop based on previous bar high or low - futures io
futures io



Trailing stop based on previous bar high or low


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Guss with 3 posts (0 thanks)
    2. looks_two Marvin S with 3 posts (0 thanks)
    3. looks_3 NinjaTrader with 1 posts (2 thanks)
    4. looks_4 markbb10 with 1 posts (0 thanks)
    1. trending_up 3,746 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Trailing stop based on previous bar high or low

(login for full post details)
  #1 (permalink)
 Guss 
Ontario
 
Experience: Advanced
Platform: ninjatrader
Broker: Ninjatrader
Trading: futures (CL and ES),forex,Options
 
Posts: 135 since Aug 2011
Thanks: 57 given, 81 received

Hi
I am looking for an ATM strategy where the stop can be trailed based on previous bar high/ low.
Also if one can customize which time frame to use for trailing and the number of bars to be used( current bar, or last bar , or 2 bars back...etc) and the number of tics (1or2...etc) to above or below the trailing bar.
Any help and feedback is highly appreciated.
Regards,
Guss

Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
For the experts of Metastock
Platforms and Indicators
TradingView help in improving Anchored Vwap
Platforms and Indicators
Experience with AGN (Introducing Broker)
Brokers
MacdBB V402 NT804 + gradient + pullback not working on N …
NinjaTrader
Is there inherently more opportunity in smaller markets?
Traders Hideout
 
 
(login for full post details)
  #2 (permalink)
Marvin S
Vancouver Washington United State of America
 
 
Posts: 11 since Nov 2013
Thanks: 2 given, 4 received

What you are asking about I call a "technical stop." I can't tell you how to program it but I'll try to describe it as I understand it. I think it is best after you have gotten half way or more to your target to maximize your profit. If you use it too soon you can be whipsawed for a big loss. You may think you have been whipsawed anyway.

As a stock moves away from your entry (long or short--this example is for long) you place a stop a couple of ticks under the last pivot low or the low of an area of consolidation or basing. Then you wait until the next higher low is formed and the next higher high is exceeded and you move your stop a couple of ticks below the higher pivot low. You repeat until you have reached a target or if you have some of your position left after reaching your target you just proceed until you are stopped out.

Where you place your advancing stops depends on the chart of the time frame you are trading.

You just watch candles on a chart. Nothing else is needed.

I don't think it is programmable.

Reply With Quote
 
(login for full post details)
  #3 (permalink)
Marvin S
Vancouver Washington United State of America
 
 
Posts: 11 since Nov 2013
Thanks: 2 given, 4 received


It can be used to trade all time highs when there is not target in sight.

Reply With Quote
 
(login for full post details)
  #4 (permalink)
 Guss 
Ontario
 
Experience: Advanced
Platform: ninjatrader
Broker: Ninjatrader
Trading: futures (CL and ES),forex,Options
 
Posts: 135 since Aug 2011
Thanks: 57 given, 81 received


Marvin S View Post
What you are asking about I call a "technical stop." I can't tell you how to program it but I'll try to describe it as I understand it. I think it is best after you have gotten half way or more to your target to maximize your profit. If you use it too soon you can be whipsawed for a big loss. You may think you have been whipsawed anyway.

As a stock moves away from your entry (long or short--this example is for long) you place a stop a couple of ticks under the last pivot low or the low of an area of consolidation or basing. Then you wait until the next higher low is formed and the next higher high is exceeded and you move your stop a couple of ticks below the higher pivot low. You repeat until you have reached a target or if you have some of your position left after reaching your target you just proceed until you are stopped out.

Where you place your advancing stops depends on the chart of the time frame you are trading.

You just watch candles on a chart. Nothing else is needed.

I don't think it is programmable.

Thanks Marvin,
i am very aware of where to place my stops manually. I was just wondering if it can be automated based on price bars, specially in fast momentum moves trading shorter term time frames, 200-500tics.
where markets can run 50+ tics in few seconds, you don't really have time to move your stop fast enough.

Thanks again for your feedback

Follow me on Twitter Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
Marvin S
Vancouver Washington United State of America
 
 
Posts: 11 since Nov 2013
Thanks: 2 given, 4 received

I didn't mean to talk down to you.

If you have TradeStation, they have two strategies called Pivot Reversal LE (long entry), and Pivot Reversal SE (short entry). You select the number of bars before and after the low bar to set as the entry point then when it hits that price again a sell or a buy order is sent. It might be a place to start.

Reply With Quote
 
(login for full post details)
  #6 (permalink)
 Guss 
Ontario
 
Experience: Advanced
Platform: ninjatrader
Broker: Ninjatrader
Trading: futures (CL and ES),forex,Options
 
Posts: 135 since Aug 2011
Thanks: 57 given, 81 received


Marvin S View Post
I didn't mean to talk down to you.

If you have TradeStation, they have two strategies called Pivot Reversal LE (long entry), and Pivot Reversal SE (short entry). You select the number of bars before and after the low bar to set as the entry point then when it hits that price again a sell or a buy order is sent. It might be a place to start.

Marvin
No need to apologize at all.
Thanks for your suggestion and feedback.
Just trying to figure out If this is possible on NT or not.

Thanks again.

Follow me on Twitter Started this thread Reply With Quote
 
(login for full post details)
  #7 (permalink)
 markbb10 
Morristown NJ USA
 
Experience: Advanced
Platform: Ninja 8
Trading: Futures
 
Posts: 104 since Aug 2012
Thanks: 45 given, 42 received

Hello wanted to see if there was any additional insight on this.

Specifically coding a trailing stop that will track the high/low of a previous bar or bars (i.e 2 bars back). Specifically looking to set a stop at a bar at the HALow/HAHigh of a specific bar (Heiken Ashi)

Thanks for any additional insight

Reply With Quote
 
(login for full post details)
  #8 (permalink)
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
 
NinjaTrader's Avatar
 
Posts: 1,587 since May 2010
Thanks: 187 given, 2,466 received


markbb10 View Post
Hello wanted to see if there was any additional insight on this.

Specifically coding a trailing stop that will track the high/low of a previous bar or bars (i.e 2 bars back). Specifically looking to set a stop at a bar at the HALow/HAHigh of a specific bar (Heiken Ashi)

Thanks for any additional insight

With NinjaTrader 8, you could set a 1 period SMA using the High or Low of the bar as Input. You can then set the Displacement value X bars to get the previous bars value to plot on the current bar. Then if you want, you can attach your stop loss order to such indicator and have NinjaTrader automatically modify the order when as a new bar closes. Set it and forget it.

Disclosure: This communication is sent to you by NinjaTrader, LLC, a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform.
Follow me on Twitter Reply With Quote
The following 2 users say Thank You to NinjaTrader for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > Trailing stop based on previous bar high or low


Last Updated on April 5, 2018


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts