NT7 audio alert - statement expected? - NinjaTrader Programming | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

NT7 audio alert - statement expected?
Started:March 17th, 2011 (09:50 AM) by subterfuge Views / Replies:1,056 / 2
Last Reply:March 17th, 2011 (09:55 AM) Attachments:1

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

NT7 audio alert - statement expected?

Old March 17th, 2011, 09:50 AM   #1 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: ninja
Broker/Data: amp
Favorite Futures: ES
Posts: 162 since Aug 2009
Thanks: 102 given, 80 received

NT7 audio alert - statement expected?

Dont know the first thing about programming but assumed this would be easy bearing in mind the 2 pieces of code im playing with are almost identical. Audio alert works on one of them but I dont understand why it doesn't work on the other.
It says that a statement is expected?

Hopefully the picture explains it.
I use the 'playsound' piece of code to the top indicator and it works
I use it in what appears to be the exact same way in the code in the other indicator, and it gets an error messgae?

Why is that? How do i fix it?


Attached Thumbnails
NT7 audio alert - statement expected?-mikeddt.jpg  
Reply With Quote

Old March 17th, 2011, 09:50 AM   #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.


Old March 17th, 2011, 09:55 AM   #3 (permalink)
Elite Member
Calcutta, India
Futures Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks: 161 given, 255 received

you got to use parenthesis. like

if (condition)
do something else

Reply With Quote


futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > NT7 audio alert - statement expected?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anybody subscribe to pit audio feeds? shodson Traders Hideout 10 February 20th, 2016 02:17 PM
Bar Timer with audio alert ? NT7 crimmins NinjaTrader 24 April 2nd, 2013 10:38 AM
NT7 sound alert failure baberg NinjaTrader 3 July 27th, 2011 05:38 AM
Alert - no sound-NT7 Al2010 NinjaTrader Programming 4 January 30th, 2011 06:02 PM
Fed repurchase statement Snoop Traders Hideout 1 November 4th, 2010 07:11 AM

All times are GMT -4. The time now is 07:43 AM.

Copyright © 2016 by 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 2016-10-26 in 0.08 seconds with 20 queries on phoenix via your IP