I want to program a SMA but have a sound file and alert on the chart when the Price closes below or above it but having a very difficult time doing so. Can some please help in making this work or point me to the right area.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Help making SMA
Collapse
X
-
Help making SMA
I like to use SMA on my charts and wanted a better version.
I want to program a SMA but have a sound file and alert on the chart when the Price closes below or above it but having a very difficult time doing so. Can some please help in making this work or point me to the right area.Tags: None
-
Thanks for the post John and welcome to our forums here. I would encourage you to look into this script from our forums sharing section - http://www.ninjatrader.com/support/f...d=4&linkid=426
I would have the Alert and visuals already built in, you could for example set the first MA to have a period of just 1 to represent your price for the crossover.BertrandNinjaTrader Customer Service
-
-
How would I change the sound file to something of my liking and also this is exactly what I was looking for and ty.
I also see a section where it can text alert? Will that be easy to do, or must I do something extra for that to work.
Comment
-
Glad to hear, you could put your custom sounds in the C:\Program Files\NinjaTrader Installation Folder\sounds folder as this would be the folder the indicator will access. Then you can supply your custom sound in the sound file user input the study would offer from the UI.
Yes, you can give the alert your custom text as well for a message to be issued, this is a user input as well you can just edit for each indicator instance.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by hazylizard, Today, 08:38 AM
|
2 responses
8 views
0 likes
|
Last Post
by hazylizard
Today, 09:02 AM
|
||
Started by geddyisodin, Today, 05:20 AM
|
2 responses
18 views
0 likes
|
Last Post
by geddyisodin
Today, 08:44 AM
|
||
Started by Max238, Today, 01:28 AM
|
5 responses
47 views
0 likes
|
Last Post
by Max238
Today, 08:30 AM
|
||
Started by giulyko00, Yesterday, 12:03 PM
|
3 responses
13 views
0 likes
|
Last Post Today, 08:26 AM | ||
Started by habeebft, Today, 07:27 AM
|
1 response
16 views
0 likes
|
Last Post Today, 08:08 AM |
Comment