Go Back   NinjaTrader Support Forum > NinjaScript File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

NinjaTrader
Reply
 
Thread Tools Display Modes
Old 10-27-2010, 09:15 AM   #1
Jonners
Junior Member
 
Join Date: Jul 2010
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default Better Volume Indicator

I have the Better Volume indicator for N7. When selected the indicator paints the candles when certain criteria is met by the program but what I would like to do is to is add a audible alerts to the paint bars. I cannot program but would like to know how could get this done.

Jonners
Jonners is offline  
Reply With Quote
Old 10-27-2010, 09:19 AM   #2
NinjaTrader_RyanM1
NinjaTrader Customer Service
 
NinjaTrader_RyanM1's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,127
Thanks: 249
Thanked 435 times in 428 posts
Default

Hello Jonners,

Thank you for your post.

This does require a little programming. You will have to edit the indicator and add an alert or sound statement to the block that changes the color. Some example statements are available in the links below:

http://www.ninjatrader.com/support/h.../nt7/alert.htm
http://www.ninjatrader.com/support/h.../playsound.htm
NinjaTrader_RyanM1 is offline  
Reply With Quote
Old 10-27-2010, 11:25 AM   #3
Jonners
Junior Member
 
Join Date: Jul 2010
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_RyanM View Post
Hello Jonners,

Thank you for your post.

This does require a little programming. You will have to edit the indicator and add an alert or sound statement to the block that changes the color. Some example statements are available in the links below:

http://www.ninjatrader.com/support/h.../nt7/alert.htm
http://www.ninjatrader.com/support/h.../playsound.htm
Do not know how to do this can you recommend anyone
Jonners is offline  
Reply With Quote
Old 10-27-2010, 11:30 AM   #4
NinjaTrader_RyanM1
NinjaTrader Customer Service
 
NinjaTrader_RyanM1's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,127
Thanks: 249
Thanked 435 times in 428 posts
Default

Hi Jonners,

Please share the file and I'll take a look. Should be a .cs file in My Documents\NinjaTrader\bin\Custom\indicator

If you're looking for professional code writing help, you can see the list of our 3rd party NinjaScript consultants here:
http://www.ninjatrader.com/webnew/pa...injaScript.htm
NinjaTrader_RyanM1 is offline  
Reply With Quote
Old 10-27-2010, 11:52 AM   #5
Jonners
Junior Member
 
Join Date: Jul 2010
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default

Ryan - attached file
Attached Files
File Type: cs BetterVolume2.cs (18.9 KB, 483 views)
Jonners is offline  
Reply With Quote
Old 10-27-2010, 02:16 PM   #6
NinjaTrader_RyanM1
NinjaTrader Customer Service
 
NinjaTrader_RyanM1's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,127
Thanks: 249
Thanked 435 times in 428 posts
Default

Here is a block that changes color.

if
(paintbars && bc > 0) BarColor = Plots[bc].Pen.Color;

To add an alert, that plays sound, you could make this change:

Code:
 
if (paintbars && bc > 0) 
{
BarColor = Plots[bc].Pen.Color;
Alert("myAlert", NinjaTrader.Cbi.Priority.High, "Reached threshold", "Alert1.wav", 10, Color.Black, Color.Yellow);
}
NinjaTrader_RyanM1 is offline  
Reply With Quote
Old 03-19-2017, 01:37 PM   #7
dlespinasse50@gmail.com
Member
 
Join Date: Dec 2016
Posts: 40
Thanks: 1
Thanked 0 times in 0 posts
Default

Do you know if the "Better Volume Indicator is available for NT8?
dlespinasse50@gmail.com is offline  
Reply With Quote
Old 03-20-2017, 08:54 AM   #8
NinjaTrader_PatrickH
NinjaTrader Customer Service
 
NinjaTrader_PatrickH's Avatar
 
Join Date: Jul 2011
Location: Denver, CO
Posts: 10,788
Thanks: 759
Thanked 1,854 times in 1,784 posts
Default

Hello dlespinasse50@gmail.com,

Thank you for your response.

I am not aware of a Better Volume indicator for NinjaTrader 8. Can you link over the NinjaTrader 7 version on this forum that you are looking for in NinjaTrader 8?

I look forward to your response.
NinjaTrader_PatrickH is offline  
Reply With Quote
Old 03-20-2017, 09:22 AM   #9
dlespinasse50@gmail.com
Member
 
Join Date: Dec 2016
Posts: 40
Thanks: 1
Thanked 0 times in 0 posts
Default

Here is the link:
http://emini-watch.com/free-stuff/volume-indicator/

I am interested in the Better volume and the better X-Trend indicators
dlespinasse50@gmail.com is offline  
Reply With Quote
Old 03-21-2017, 09:07 AM   #10
dlespinasse50@gmail.com
Member
 
Join Date: Dec 2016
Posts: 40
Thanks: 1
Thanked 0 times in 0 posts
Default

The Emini watch post says that the Better volume is NT7 and NT8 but I am not able to load the indicator on my NT8 platform. It says the indicator was made for an older version. Here is the link again.
http://emini-watch.com/free-stuff/volume-indicator/
dlespinasse50@gmail.com is offline  
Reply With Quote
Old 03-21-2017, 02:46 PM   #11
NinjaTrader_PatrickH
NinjaTrader Customer Service
 
NinjaTrader_PatrickH's Avatar
 
Join Date: Jul 2011
Location: Denver, CO
Posts: 10,788
Thanks: 759
Thanked 1,854 times in 1,784 posts
Default

Hello dlespinasse50@gmail.com,

Thank you for your response.

In the file you download named 'BetterVolume_NT7_and_NT8.zip' there should be another file named 'BetterVolume_Free_NT8.zip' that you should be able to import into NinjaTrader 8. You would need to export the 'BetterVolume_Free_NT8.zip' from the 'BetterVolume_NT7_and_NT8.zip' file.

Please let me know if you have any questions.
NinjaTrader_PatrickH is offline  
Reply With Quote
Old 03-21-2017, 02:49 PM   #12
dlespinasse50@gmail.com
Member
 
Join Date: Dec 2016
Posts: 40
Thanks: 1
Thanked 0 times in 0 posts
Default

I was able to load the indicator in but I do not see it in my indicator list from the script editor . But it is listed as indicators to use on the charts. Now question is can I use this indicator in a script. I can not find the source.
dlespinasse50@gmail.com is offline  
Reply With Quote
Old 03-22-2017, 01:14 PM   #13
NinjaTrader_PatrickH
NinjaTrader Customer Service
 
NinjaTrader_PatrickH's Avatar
 
Join Date: Jul 2011
Location: Denver, CO
Posts: 10,788
Thanks: 759
Thanked 1,854 times in 1,784 posts
Default

Hello dlespinasse50@gmail.com,

Thank you for your response.

The file you downloaded from the link is a protected assembly, meaning the code is not viewable. Please contact the vendor of the product for information on their product.

Please let me know if you have any questions.
NinjaTrader_PatrickH is offline  
Reply With Quote
Old 03-22-2017, 02:15 PM   #14
dlespinasse50@gmail.com
Member
 
Join Date: Dec 2016
Posts: 40
Thanks: 1
Thanked 0 times in 0 posts
Default

Ok, Thank you. I have left a message for them.
dlespinasse50@gmail.com is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Effective Volume Indicator? cbratton Indicator Development 3 08-18-2015 12:49 PM
Volume Spike Indicator RK_trader Indicator Development 25 03-08-2014 05:48 AM
Better Volume Indicator HELP suburban General Development 20 12-08-2011 02:19 PM
Anyone have a useful volume indicator JOHNF1 NinjaScript File Sharing Discussion 1 10-22-2010 08:36 AM
Volume indicator peterjk Indicator Development 2 04-26-2009 05:06 AM


All times are GMT -6. The time now is 07:46 PM.

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

CFTC Rules 4.41 - Hypothetical or Simulated performance results have certain limitations, unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. NT is an affiliated company to NinjaTrader Brokerage (“NTB”), which is a NFA registered introducing broker (NFA #0339976) providing brokerage services to traders of futures and foreign exchange products. This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate and the information made available on this Web site is not an offer or solicitation of any kind. Specific questions related to a brokerage account should be sent to your broker directly. The content and opinions expressed on this website are those of the authors and do not necessarily reflect the official policy or position of NT or any of its affiliates. 

Vendors along with their websites, products and services, collectively referred to as (“Vendor Content”), are independent persons or companies that are in no manner affiliated with NT or any if its affiliates. NT or any of its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website and it’s your sole responsibility to evaluate Vendor Content. Please be aware that any performance information provided by a vendor should be considered hypothetical and must contain the disclosures required by NFA Rule 2-29(c). If you are interested in learning more about, or investigating the quality of, any such Vendor Content you must contact the vendor, provider or seller of such Vendor Content. No person employed by, or associated with, NT or any of its affiliates is authorized to provide any information about any such Vendor Content.