Trailing stop following an indicator - NinjaTrader Programming | futures io social day trading
futures io futures trading


Trailing stop following an indicator
Updated: Views / Replies:2,840 / 9
Created: by nanobiotech Attachments:1

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you dont need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 
Thread Tools Search this Thread
 

Trailing stop following an indicator

  #1 (permalink)
Elite Member
Brisbane, Australia
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: CL
 
nanobiotech's Avatar
 
Posts: 670 since Jun 2009
Thanks: 134 given, 428 received

Trailing stop following an indicator

I hope someone can help me as I'm trying to code for a trailing stop in an automated strategy (it's a version of Hurley I'm working on so I can't really post the code here as it's in the Elite section, and it's a little complicated as well).

The indicator is:
_ADXVMA_Alertsv01_5_1_Hurley(adxvmalength1, conmode).Main[0]

I want the trailing stop to equal the value of the above, say 1-2 bars behind price.

If anyone is familiar with the most recent Hurley code perhaps you could post a solution either here or in the Hurley thread? Or send me a private message.

Cheers,
Nano

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


I think I have it figured out for you. Where do you want me to post it? It's included in your version of the one you think is the best one. I renamed it so you wouldn't have any conflicts.


gee, i can't read...i'll send it to you in a pm.


nanobiotech View Post
I hope someone can help me as I'm trying to code for a trailing stop in an automated strategy (it's a version of Hurley I'm working on so I can't really post the code here as it's in the Elite section, and it's a little complicated as well).

The indicator is:
_ADXVMA_Alertsv01_5_1_Hurley(adxvmalength1, conmode).Main[0]

I want the trailing stop to equal the value of the above, say 1-2 bars behind price.

If anyone is familiar with the most recent Hurley code perhaps you could post a solution either here or in the Hurley thread? Or send me a private message.

Cheers,
Nano


Reply With Quote
The following 3 users say Thank You to MWinfrey for this post:
 
  #4 (permalink)
Elite Member
Brisbane, Australia
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: CL
 
nanobiotech's Avatar
 
Posts: 670 since Jun 2009
Thanks: 134 given, 428 received


MWinfrey View Post
I think I have it figured out for you. Where do you want me to post it? It's included in your version of the one you think is the best one. I renamed it so you wouldn't have any conflicts.


gee, i can't read...i'll send it to you in a pm.

Thanks Mike, your changes appear to work nicely. I really appreciate your help

Cheers,
Nano

Reply With Quote
 
  #5 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


nanobiotech View Post
Thanks Mike, your changes appear to work nicely. I really appreciate your help

Cheers,
Nano


Outstanding...hopefully it will produce the kind of results you are hoping for.

Reply With Quote
 
  #6 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

hi nano,

is it possible that you post the solution mike created for you ?

or mike, can you post the code you realized this with ?

that would be great + helps lots of folks i think !

thanks in advance !

-

max-td
Reply With Quote
 
  #7 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,233 received


max-td View Post
hi nano,

is it possible that you post the solution mike created for you ?

or mike, can you post the code you realized this with ?

that would be great + helps lots of folks i think !

thanks in advance !

-

Remember, don't post Elite content in this particular thread as it is not Elite. Original thread subject is an Elite topic, so it can get confusing. This entire thread should probably be moved to Elite in fact.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #8 (permalink)
Elite Member
Brisbane, Australia
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: CL
 
nanobiotech's Avatar
 
Posts: 670 since Jun 2009
Thanks: 134 given, 428 received


max-td View Post
hi nano,

is it possible that you post the solution mike created for you ?

or mike, can you post the code you realized this with ?

that would be great + helps lots of folks i think !

thanks in advance !

-

I'm working on it but will only post in the Hurley thread in Elite.

Cheers,
Nano

Reply With Quote
The following 2 users say Thank You to nanobiotech for this post:
 
  #9 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


max-td View Post
hi nano,

is it possible that you post the solution mike created for you ?

or mike, can you post the code you realized this with ?

that would be great + helps lots of folks i think !

thanks in advance !

-

I know you asked Nano but the reason we are working off line is because what nano is doing isn't ready for release but when it is, I'm sure nano will do so in the Elite section.

Mike Winfrye

Reply With Quote
The following 2 users say Thank You to MWinfrey for this post:
 
  #10 (permalink)
Trading for Fun
ho chi minh city
 
Futures Experience: Intermediate
Platform: Metatrader 4
Favorite Futures: Forex
 
Posts: 52 since Mar 2011
Thanks: 16 given, 9 received

trailing stop for keltner band


I have been trying to get a trailing stop set for the keltner band but haven't had any luck with metatrader. Does anyone by chance happen to have this set up in their ninjatrader?

Does not open the position but allows you A exit the position on the touch of the opposite keltner from which you entered or B allows you to trail the position (with break even as the first step)

Here is a screenshot from my metatrader attempts.

Attached Thumbnails
Trailing stop following an indicator-alertonopenbutnotexithalf.gif  
Reply With Quote

Reply



futures io > > > > > Trailing stop following an indicator

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit Order and Trailing Stop Tiger45 NinjaTrader Programming 7 May 9th, 2013 06:57 AM
Trailing Stop - how to use by trading futures Blackburn NinjaTrader Programming 2 May 28th, 2011 12:59 AM
Your favourite NT indicator for use as a trailing stop nanobiotech NinjaTrader Programming 3 April 17th, 2011 08:57 PM
Trailing stop loss kavin729 NinjaTrader Programming 1 August 20th, 2010 02:17 PM
Redeclaring a dataseries to use as a trailing stop Davidnmfarrell NinjaTrader Programming 5 April 26th, 2010 01:54 PM


All times are GMT -4. The time now is 05:19 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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
Page generated 2017-12-14 in 0.12 seconds with 20 queries on phoenix via your IP 54.221.73.186