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


User defined lines with alerts
Updated: Views / Replies:13,128 / 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

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


RTR1701 View Post
Hi

Can @Fat Tails or anyone else using this indie please help me?

Thanks to Harry for the indie - very useful for something I am working on. But as I am still very much a newbie with NT7 and indicators in general I need to ask what I am sure is a very basic question.

SO: I want to reference the CurrentDayOHLV indicator and have sound alarms only and I just want to make sure I have this right.

For example, if I was trying to get an alert as price approaches ADN-High from 6 ticks away from above or below - do I have the right settings as the screenshot below? In particular I wasn't sure what was meant in this case by indicator value?

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


Assuming I do - I then do the same for each line I want alerts on, and the indicator then will alert at each new days adjusted levels?

Apologies again for the noob question!

Thanks

Graeme


@RTR1701: This is not a noob question. The problem is more that there is are so far no user manuals for the over 100 indicators that I have coded.

The idea of the anaLineAlertsOnIndicator is to select an alert level. The alert is triggered,

case indicator plot: if the indicator moves above or below that level (for example an EMA)
case histogram: if the inidcator moves above that level (for example volume)

anaLineAlertsOnIndicator requires that you select the indicator that you want to monitor as the input series.
Now let us assume that you select the D-High plot of the anaCurrentDayOHL as input series. Then you can select a level, let us say 1565 for ES, and you will be alerted when the high of the day crosses that level - that is when the preceding bar showed a daily high lower than 1565 and the current bar a daily high higher or equal than 1565.

This is not what you wanted. In your case you would need to code an indicator that displays the difference between the current bars high and the daily high plotted until the prior bar. And if that value crosses the zero line, the indicator would fabricate a signal.

The indicator is simply not designed for the special application that you had in mind. It would be easier to simply add alerts to the anaCurrentDayOHL indicator.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #62 (permalink)
Elite Member
London UK
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IG Index
Favorite Futures: FX. Futures, Spreadbetting
 
Posts: 78 since Aug 2011
Thanks: 160 given, 40 received


Fat Tails View Post
@RTR1701: This is not a noob question. The problem is more that there is are so far no user manuals for the over 100 indicators that I have coded.

The idea of the anaLineAlertsOnIndicator is to select an alert level. The alert is triggered,

case indicator plot: if the indicator moves above or below that level (for example an EMA)
case histogram: if the inidcator moves above that level (for example volume)

anaLineAlertsOnIndicator requires that you select the indicator that you want to monitor as the input series.
Now let us assume that you select the D-High plot of the anaCurrentDayOHL as input series. Then you can select a level, let us say 1565 for ES, and you will be alerted when the high of the day crosses that level - that is when the preceding bar showed a daily high lower than 1565 and the current bar a daily high higher or equal than 1565.

This is not what you wanted. In your case you would need to code an indicator that displays the difference between the current bars high and the daily high plotted until the prior bar. And if that value crosses the zero line, the indicator would fabricate a signal.

The indicator is simply not designed for the special application that you had in mind. It would be easier to simply add alerts to the anaCurrentDayOHL indicator.

Thanks for the reply @Fat Tails aka Harry

I would have no idea how to add alerts to an indicator regrettably so as an interim I think I should just add the levels I am interested each day probably using the alert on price function and adjust each day. At least I will get the alert I require for now and I am only currently watching two instruments so not too much hassle. However if I am proved right I will want to extend the theory to more so will need to work it out eventually.

I seem to remember some thread somewhere on adding alerts to indicators and will look that up when I am back from work to see if I can work it out, as I need to try. I think it was only a small thread so if you happen to have any suggested reference for someone new to coding to look at that would be really helpful. Also if you have time can you suggest where in the code I would need to add the alert using your example D-High. Then I should be able to work it out for each line - maybe!!

As for the user manuals - that would be a gigantic task!! But it crosses my mind that the more experienced and code savvy users here could maybe assist. Perhaps if you or @Big Mike felt there was merit some sort of Wiki entry/entries could be set up for that purpose. Clearly not for me to say as I doubt I could add anything of substance to that idea but thought I would throw it out there for consideration.

Really appreciate your taking the time to reply Harry.

Graeme

Never stop learning - never stop applying the knowledge.
Reply With Quote
 
  #63 (permalink)
Elite Member
Cleveland OH
 
Futures Experience: Intermediate
Platform: NINJATRADER 7
Favorite Futures: ES
 
Posts: 48 since Dec 2012
Thanks: 18 given, 5 received


Hi Fat Tails... hoping you could help me on this indicator


I cannot get the sound file to fire off no matter what I try. The sound file works on the "price alert" that is built into NT so I know that sound is working.

I seem to have it set up the right way and the price line level shows up on the chart as does the label but when it approaches the target no sound.

Not sure if it makes a difference but when I go to the "sound file" field on the indicator there is no drop down menu to choose between sound files, it just has

Thanks

Here is a pic of my settings

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


Last edited by markus3500; September 24th, 2013 at 05:18 PM.
Reply With Quote
 
  #64 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


markus3500 View Post
Hi Fat Tails... hoping you could help me on this indicator


I cannot get the sound file to fire off no matter what I try. The sound file works on the "price alert" that is built into NT so I know that sound is working.

I seem to have it set up the right way and the price line level shows up on the chart as does the label but when it approaches the target no sound.

Not sure if it makes a difference but when I go to the "sound file" field on the indicator there is no drop down menu to choose between sound files, it just has

Thanks

Here is a pic of my settings

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


You have selected an offset of 10 ticks. This means that the indicator will trigger an alert, when the line is approached by 10 ticks, or otherwise put, it should trigger 2.5 points (for ES) before the line is touched. If the line value is 1690, the sound alert is therefore triggered if the value 1687.50 is crossed from below, or if the value 1692.50 is crossed from above, something which did not happen during the chart period shown.

There is no dropdown menu for the alert file, you simply have to type in the file name.

Reply With Quote
 
  #65 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,822 received
Forum Reputation: Legendary

Hi @Fat Tails,

For some reason I am not getting the lines on my chart using your User defined line indicator. I have used the default settings and just typed in two line values. I am using NT Version 21. Any advice please?

Attached Thumbnails
User defined lines with alerts-userlines.png  
Reply With Quote
 
  #66 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,332 since Aug 2009
Thanks: 4,579 given, 10,313 received


aligator View Post
Hi @Fat Tails,

For some reason I am not getting the lines on my chart using your User defined line indicator. I have used the default settings and just typed in two line values. I am using NT Version 21. Any advice please?

@aligator,

you just need to activate the alert line

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 Silvester17 for this post:
 
  #67 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: ib
Favorite Futures: Electric Guitar
 
Mindset's Avatar
 
Posts: 355 since Sep 2009
Thanks: 88 given, 285 received

error

I am getting an Index out of range error.
If I change instrument the line will appear
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

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

Update - Line Alerts On Price & Indicators

@Mindset: Checked it with the same settings, not getting any errors here.

I have updated the files in the download section, but the update fixes a bug that occurred when sending e-mails, so it is not related to your problem.

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

Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:
 
  #69 (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,234 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 2 users say Thank You to Big Mike for this post:
 
  #70 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

Update - Line Alerts On Price & Indicators


There was a small bug in anaLineAlertsOnIndicatorV3, while anaLineAlertsOnPriceV3 was not affected.

This is how the bug affected the indicator:

Let us assume that you had added four alert lines (alerts 01 - 04) and then disabled alert 02. In this case the indicator would not display alert 02 (expected), would display alert 01 (expected), but not display alerts 03 and 04 (bug). The reason for this bug was a false command in the plot section. The identical plot section of anaLineAlertsOnPriceV3 was correctly coded, so I cannot tell exactly, how the false command made its way into the code.

The bug is now removed. Please download the updated version here:

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

Reply With Quote
The following 8 users say Thank You to Fat Tails for this post:

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)

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
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 12:20 AM.

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.15 seconds with 20 queries on phoenix via your IP 54.221.93.187