User defined lines with alerts - NinjaTrader | futures io social day trading
futures io futures trading


User defined lines with alerts
Updated: Views / Replies:13,117 / 72
Created: by trendisyourfriend Attachments:16

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 donít 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
 16  
 
Thread Tools Search this Thread
 

User defined lines with alerts

  #1 (permalink)
Elite Member
Quebec
 
Futures Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker/Data: Stage 5 trading/AMP/CQG
Favorite Futures: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,697 since Oct 2009
Thanks: 3,041 given, 4,496 received

User defined lines with alerts

I am using and testing this indicator created by FatTails anaUserDefinedLines.

I am presently using it in an indicator panel on a tick chart. For example on the ES, i want to get an alert when price forms a bar of at least 1.5 point on a 800 ticks chart. It works as expected except there is a line that displays at the 0 level in the indicator panel. This is not a problem but i wanted to point this out. Also, i noticed that the plots section does not order the various alerts as they are for the other two sections: User defined labels and User defined values. The first alert is defined in row 1 of the User defined labels section (Label01) and User defined values section (Value01) while the corresponding alert is found in the last row of the Plots section. Again, this is not a problem. I just wanted to point this out.

Some suggestions:
I find 20 lines is too many lines. 5 lines would be more appropriate since we can add many instances of this indicator on the same chart.

Would it be possible to have a version where we could define a few moving averages instead of fixed price levels? When price would cross a MA, an alert would be triggered.

Attached Thumbnails
User defined lines with alerts-anauserdefinedlines.jpg  
Reply With Quote
The following 3 users say Thank You to trendisyourfriend for this post:
 
  #2 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


trendisyourfriend View Post
I am using and testing this indicator created by FatTails anaUserDefinedLines.
I am presently using it in an indicator panel on a tick chart. For example on the ES, i want to get an alert when price forms a bar of at least 1.5 point on a 800 ticks chart. It works as expected except there is a line that displays at the 0 level in the indicator panel.

This is a bug, I had used Reset() for 19 out of 20 lines, but for the second label I had erroneously used Set(0) which produced the line.


trendisyourfriend View Post
Also, i noticed that the plots section does not order the various alerts as they are for the other two sections: User defined labels and User defined values. The first alert is defined in row 1 of the User defined labels section (Label01) and User defined values section (Value01) while the corresponding alert is found in the last row of the Plots section. Again, this is not a problem. I just wanted to point this out.

The order of the plots section follows that NinjaTarder logic -> Plots[0], Plots[1], Plots[10], Plots[11] .... Plots[2] etc. Problem should be solved, because I reduced the number of lines to 10.


trendisyourfriend View Post
I find 20 lines is too many lines. 5 lines would be more appropriate since we can add many instances of this indicator on the same chart.

Reduced.


trendisyourfriend View Post
Would it be possible to have a version where we could define a few moving averages instead of fixed price levels? When price would cross a MA, an alert would be triggered.

That would be a different indicator.


The updated indicator is here: Zeroline will no longer show up, number of lines reduced to 10.

https://futures.io/free_downloads/ninjatrader-7/indicators/960-download.html?view

Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #3 (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,238 since Jun 2009
Thanks: 29,350 given, 83,220 received


Notifications sent.

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
The following 3 users say Thank You to Big Mike for this post:
 
  #4 (permalink)
Elite Member
San Diego, CA USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES
 
GridKing's Avatar
 
Posts: 3,650 since May 2011
Thanks: 588 given, 877 received

Thanks for this , not sure why but not playing sound (have sound alert active true and levels set

also was wondering if it would be possible to have a different sound at different levels

Thanks for all you do

"Successful trading is one long journey, not a destination" Peter Borish Former Head of Research for Paul Tudor Jones speaking on conversations with John F. Carter
Reply With Quote
 
  #5 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


GridKing View Post
Thanks for this , not sure why but not playing sound (have sound alert active true and levels set

also was wondering if it would be possible to have a different sound at different levels

Thanks for all you do

Checked the alerts, they work. You need to locate a .wav/PCM file in the NinjaTrader sounds directory and select the file name via indicator dialogue box. The default file is Alert4.wav.

It is possible to have different sounds at different levels. Maybe will add this with the next release, as this more sort of a toy thing.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #6 (permalink)
Elite Member
Des Moines, Iowa
 
Futures Experience: None
Platform: Ninja, TOS
Broker/Data: AMP/CQG, TOS
Favorite Futures: CL, TF, GC
 
madLyfe's Avatar
 
Posts: 1,641 since Feb 2011
Thanks: 9,217 given, 1,011 received

i like your work, thanks for this!

Reply With Quote
 
  #7 (permalink)
Elite Member
London, England
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: EUR
 
Trafford's Avatar
 
Posts: 337 since Sep 2010
Thanks: 379 given, 227 received

FT,

@Fat Tails

1). I like the 20 Lines feature.However I tried plotting this indicator on GOMI's CD but it does not plot negative numbers. I put -10000 but it did not plot these numbers only the positive ones such as 10000, 20000 etc.

2)I tried installing new version I got 'Error plotting indicator 'anaUserDefinedLines'. Please check the 'OnBarUpdate' or the Plot' method: Index was outside the bounds of the array.

Thanks,

Reply With Quote
 
  #8 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


Trafford View Post
FT,

@Fat Tails

1). I like the 20 Lines feature.However I tried plotting this indicator on GOMI's CD but it does not plot negative numbers. I put -10000 but it did not plot these numbers only the positive ones such as 10000, 20000 etc.

2)I tried installing new version I got 'Error plotting indicator 'anaUserDefinedLines'. Please check the 'OnBarUpdate' or the Plot' method: Index was outside the bounds of the array.

Thanks,


(1) The indicator does plot negative values, I do not know, where problem lies.

(2) The indicator is pretty straight forward. It should not throw any exceptions. If you can reproduce the problem, I would like to have a look at your log file.

The indicator was designed for plotting lines at the price panel. If you use it on the indicator panel, it can not trigger the alerts as expected, as it uses the TickSize to define the alert zone. I will modify the indicator and come back with a version that will also trigger alerts on the indicator panel.

This is not linked to the two points above.


Last edited by Fat Tails; July 29th, 2011 at 10:18 AM.
Reply With Quote
 
  #9 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

Added an Alert Indicator to Work on Indicators

Following your suggestions I have now added a second version of the indicator that can be applied to indicators.

If you want to be alerted to a value on the main price panel

-> please use anaLineAlertsOnPrice

However, if you want to be alerted to a specific indicator value

-> please use anaLineAlertsOnIndicator


There are two differences between those two indicators:

(1) anaLineAlertsOnPrice will automatically show up on the price panel, anaLineAlertsOnIndicator requires that you select the panel manually where it will be plotted.

(2) anaLineAlertsOnPrice uses ticks to calculate the offset for the price alerts, anaLineAlertsOnIndicator uses units which are calculated from the volatility (price-to-price changes) of the indicator, as the notion of the ticksize does not make sense when applied to an indicator.

The new indicators can be downloaded here:

Downloads - NinjaTrader 7 Indicators - Big Mike's Trading Forum

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #10 (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,238 since Jun 2009
Thanks: 29,350 given, 83,220 received


Notifications sent.

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

Reply



futures io > > > > User defined lines with alerts

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
User defined horizontal lines or zones Zsolt MetaQuotes MetaTrader MQL Programming 8 April 11th, 2011 06:16 AM
User input box UManiac NinjaTrader Programming 5 September 21st, 2010 08:57 PM
new user first quant Beginners and Introductions 3 December 27th, 2009 11:48 AM
What do the colors mean in user names? Big Mike Beginners and Introductions 0 July 6th, 2009 11:47 AM


All times are GMT -4. The time now is 08:01 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-12 in 0.14 seconds with 20 queries on phoenix via your IP 54.234.255.29