Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
@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.
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.
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
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.
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?
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: