Accessing The Sounds Folder From Indicator - NinjaTrader Programming | futures io social day trading
futures io futures trading


Accessing The Sounds Folder From Indicator
Updated: Views / Replies:2,949 / 8
Created: by RJay Attachments:3

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
 
Thread Tools Search this Thread
 

Accessing The Sounds Folder From Indicator

  #1 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received

Accessing The Sounds Folder From Indicator

Hi All,

Does anyone have a working code snippet or indicator that shows how to access the sounds folder listing of wav files as a dropdown in the Indicator options menu?

Thanks,

RJay

Reply With Quote
The following user says Thank You to RJay for this post:
 
  #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)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,215 since Jun 2009
Thanks: 628 given, 6,312 received


ninja says use enum? Play Sound Variable - NinjaTrader Support Forum

Reply With Quote
 
  #4 (permalink)
 Vendor: www.tools4trading.de 
Erfurt Germany
 
Futures Experience: Master
Platform: rtMagic, NinjaTrader
Broker/Data: AMP/CQG, IAB
Favorite Futures: ES, 6E, FDAX, FGBL
 
Posts: 338 since Aug 2011
Thanks: 54 given, 460 received


RJay View Post
Hi All,

Does anyone have a working code snippet or indicator that shows how to access the sounds folder listing of wav files as a dropdown in the Indicator options menu?

Thanks,

RJay

The sound file list self is simple, the dynamic runtime filled property is a little bit tricky
- use any way to find the ninja install directory
- search in the sounds path all *.wav to a string list, array, collection,...
- now create a dynamic property with a own C# TypeConverter...
- use gomi's recorder and DataManagerNinjaBridge as sample for your own SoundManagerNinjaBridge
- in your indicator add the new converter as [...] statement over your string property and test it
- the indicator dialog shows now a readonly string field with a drop down arrow for open a droplist filled with all sound files and the user can very simple select one file

Reply With Quote
 
  #5 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received

Thanks for the responses.

I need the NT internal call coding that they use in Strategy Analyser. the coding already there inside NT. I just want access to it to call it as an option in an indicator.

I am contacting NT to see if they will share.

RJay

Reply With Quote
 
  #6 (permalink)
Elite Member
Denver, CO
 
Futures Experience: Advanced
Platform: SierraChart
Broker/Data: Optimus, Rithmic
Favorite Futures: ES
 
Posts: 67 since Sep 2011
Thanks: 6 given, 32 received

Just use an enum property in your indicator as mentioned then do
if (Sound == MySounds.Alert1)
new System.Media.SoundPlayer(@"C:\Program Files (x86)\NinjaTrader 7\sounds\Alert1.wav").Play();

or such for handling each one

Reply With Quote
 
  #7 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received


dmh24 View Post
Just use an enum property in your indicator as mentioned then do
if (Sound == MySounds.Alert1)
new System.Media.SoundPlayer(@"C:\Program Files (x86)\NinjaTrader 7\sounds\Alert1.wav").Play();

or such for handling each one

Hi dmh24,

Thanks for your response. The idea that I was hoping for would be that any wav files in the proper folder would become available. Including any custom wav files created or from other custom indicators.

RJay

Reply With Quote
 
  #8 (permalink)
 Vendor: www.tools4trading.de 
Erfurt Germany
 
Futures Experience: Master
Platform: rtMagic, NinjaTrader
Broker/Data: AMP/CQG, IAB
Favorite Futures: ES, 6E, FDAX, FGBL
 
Posts: 338 since Aug 2011
Thanks: 54 given, 460 received


RJay View Post
Hi dmh24,

Thanks for your response. The idea that I was hoping for would be that any wav files in the proper folder would become available. Including any custom wav files created or from other custom indicators.

RJay

In remember... use the way of gomi's dynamic filled InterfaceList or my own solution as simple SymbolSelection per DropDownListProperty runtime filled with all ninja symbols.

You must only fill a string collection with all (sound) file names from the NT7 sound directory. The content of this list you can dynamic add to your property version... this is all and no very magic work ...

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

Reply With Quote
 
  #9 (permalink)
 Vendor: www.tools4trading.de 
Erfurt Germany
 
Futures Experience: Master
Platform: rtMagic, NinjaTrader
Broker/Data: AMP/CQG, IAB
Favorite Futures: ES, 6E, FDAX, FGBL
 
Posts: 338 since Aug 2011
Thanks: 54 given, 460 received


RJay View Post
Hi dmh24,

Thanks for your response. The idea that I was hoping for would be that any wav files in the proper folder would become available. Including any custom wav files created or from other custom indicators.

RJay

@RJay

https://futures.io/elite-circle/1261-want-your-ninjatrader-indicator-created-free-480.html#post213161
->Under this link you find my with Fat Tails indicators tested simple version to grab any NT7 soundfiles to a list and use this as property for indicators/strategies.

Its source code, no free code! If you use this as vendor in your commercial tools, you must add a web link to my site in your tool and any doc for using this feature!

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

Attached Files
Register to download File Type: zip t4tSoundManager_NT7.zip (990 Bytes, 101 views)

Last edited by TimeTrade; April 19th, 2012 at 09:07 PM.
Reply With Quote

Reply



futures io > > > > > Accessing The Sounds Folder From Indicator

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
Accessing another indicator from within an indicator? RambleDog NinjaTrader Programming 7 July 25th, 2012 06:28 PM
Accessing Plot Values from another Indicator sniffy NinjaTrader Programming 3 March 17th, 2012 10:09 PM
Accessing the clipboard from within an indicator Tempo NinjaTrader Programming 4 February 7th, 2011 05:23 PM
Accessing Hidden Indicator Conditions KenB NinjaTrader Programming 20 September 29th, 2010 12:57 PM
MT5 installations folder NOT roaming folder siscop MetaQuotes MetaTrader MQL Programming 3 June 5th, 2010 12:09 PM


All times are GMT -4. The time now is 07:05 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-11 in 0.12 seconds with 20 queries on phoenix via your IP 54.92.194.75