Opening Bell Program - futures io
futures io futures trading



Opening Bell Program


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one spinnybobo with 3 posts (0 thanks)
    2. looks_two MXASJ with 1 posts (0 thanks)
    3. looks_3 dsraider with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 3,014 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 5 posts
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Opening Bell Program

(login for full post details)
  #1 (permalink)
Crete, IL/USA
 
Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Trading: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 181 since Aug 2009
Thanks: 103 given, 56 received

Hi
does anybody know what would be the code just to sound a wave file at a specified time?

I have this wav file that I would like to play when the market opens.

thanks
Spencer

Attached Files
Register to download File Type: rar bell.rar (53.0 KB, 48 views)
Follow me on Twitter Started this thread Reply With Quote

Journal Challenge February 2021 results (so far):
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(167 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(116 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(31 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #3 (permalink)
New York, NY
 
 
Posts: 142 since Dec 2009
Thanks: 41 given, 87 received


Hi Spencer,

This is JUST a guess so please don't send me hate mail if it doesn't work, but I'd give this a try:


 
Code
                            
protected override void OnBarUpdate()
if(
ToTime(Time[0]) == 093000)
     {
     
PlaySound(@"C:\your file path here")
     } 
If it does work and you want an opening and closing bell sound, try this:

 
Code
                            
protected override void OnBarUpdate()
if(
ToTime(Time[0]) == 093000 || ToTime(Time[0]) == 160000)
     {
     
PlaySound(@"C:\your file path here")
     } 
Good luck,
Dave

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Asia
 
Experience: Beginner
Platform: NinjaTrader, TOS
 
Posts: 798 since Jun 2009
Thanks: 109 given, 799 received

That might be something you want to do outside Ninja to keep it out of the Ninja thread and memory pool. You could do it in Outlook or many of the third-party Windows alarm clock programs, for example.

If you like the ATT Text to Speech voices you can do countdowns to open/close of different markets.

AT&T Labs Natural Voices Text-to-Speech Demo

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Crete, IL/USA
 
Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Trading: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 181 since Aug 2009
Thanks: 103 given, 56 received

wow Max, I never even thought of that. great idea. is it hard to do for outlook? does it requre code?

thanks

Follow me on Twitter Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
Crete, IL/USA
 
Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Trading: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 181 since Aug 2009
Thanks: 103 given, 56 received

thank you for the code:-)

Follow me on Twitter Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Opening Bell Program


Last Updated on July 28, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1500 prizes from Topstep!

February
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
     



Copyright © 2021 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