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
Basic alert
Collapse
X
-
Well, that was easy....thanks.
Now, if I wanted to add a condition like:
on a sell: the close of the bar must be at least 2 tics below the ema
on a buy: the close of the bar must be at least 2 tics above the ema
can you direct me to where I can learn to do this?
thanks.Last edited by InvGrp; 09-28-2009, 10:43 AM.
Comment
-
Trading conditions cannot be done from an indicator. If you wish to do trading you will need to use strategies. Please see these tutorials: http://www.ninjatrader-support.com/H...tml?Overview34Josh P.NinjaTrader Customer Service
Comment
-
-
josh ....
you put together an indicator... for 6.5 that sends an alert when price crosses a moving average... just made the move over to ninja 7 and wanted to see if the indicator you built... will work in ninja 7
thanks
t
also ..... went through the code .... line by line.... and did not see.... where it threw off an alert .... either by sound, or drawing toolLast edited by pfsmedical; 12-09-2010, 08:11 AM.
Comment
-
thanks for the reply, but the file/attachement i'm referrring to is post is #6 submitted by josh....for Tzachi dated 07 10 2008 @ 11:34am file is entitled "AlertTzschi2.zip"Last edited by pfsmedical; 12-09-2010, 10:17 AM.
Comment
-
The code in that indicator is as follows:
Code:if (CrossAbove(Close, SMA(periodSMA), 1)) { DrawArrowUp("My up arrow" + CurrentBar, false, 0, Low[0] - TickSize, Color.Lime); PlaySound(@"C:\Program Files\NinjaTrader 6.5\sounds\Alert1.wav"); } if (CrossBelow(Close, SMA(periodSMA), 1)) { DrawArrowDown("My down arrow" + CurrentBar, false, 0, High[0] + TickSize, Color.Red); PlaySound(@"C:\Program Files\NinjaTrader 6.5\sounds\Alert1.wav"); }
Josh P.NinjaTrader Customer Service
Comment
-
AlertTzachi2
hey josh ...
been awhile ... from the 6.5 days till now ...
do you have this indicator updated for 8 ?? i m trying to move over to 8
would the same advice apply ??
thanks....Attached Files
Comment
-
just loaded and ran the indicator ... THANKS !!
i had a question maybe you can help ... i am slowly migrating over to 8. i have done away with "orphan" indicators i no longer use ... basically hold overs from previous so-called market gurus & such .. (cleaning up the charts)
since the market analyzer in 8 ... no longer sends an audio alert on its on accord (like 7 did) ... and i have only the "direct license" ... and the chart alerts are not an option for me ...
i rely on audio alerts from these indicators... so i do not have to keep my nose to the monitor --- so to speak ..
on my charts now ... is an indicator ... that no matter what i change the setting to .. WILL NOT send an audio alert ... Im pretty sure my computer can handle 8 .... and the author of the indicator replied back stating the sounds work on his charts ... leaves me with the conclusion that the 8 software may need some type of tweeking on my end ...
QUESTION : can you suggest a possible "fix" .. that i can try ... maybe ... uninstall / reinstall ... or something less drastic ... I CERTAINLY DO NOT WANT TO CREATE MORE PROBLEMS FOR MYSELF ....
thanks ...
Comment
-
the export indicator from my comp
Chris ...
thanks for the feedback ... never exported before ... not that difficult ...
ok .. attached are:
(1) my exported indicator from my charts .. "D3 spot v4.zip"
(2) original indicator ... from the forum ... "D3SpotterV3B4.zip"
(3) snap shots of the way i have the indicator configured
thanks again for your help ... its just frustrating ...that other indicators with sound files work ... and this one does not ...
i dont put much emphasis on the indicator itself ... it throws off waaay too many false signals ... with waaay too many parameters ... (rsi, roc, macd ... etc ...) ... i would prefer fewer choices ... (i e .. fast & slow stoch only) less chance for error (KIS)
but i do like the ability to get sound alerts from the stochastics with the ability to draw a few more lines in the stoch panal ... other than just 2 lines.... 80 /20
thanks again
Comment
-
Hello pfsmedical,
Thanks for posting that info.
I tested D3 spot v4 and I was able to get alerts to work. Please make sure that you have the correct path to the sound High/Low and Divergence sound. The default path to the sound files is C:\Program Files (x86)\NinjaTrader 8\sounds, they could be different if you installed NinjaTrader 8 onto a different hard drive. If the indicator is not finding the sound file, then there will be an error logged in the log tab of your Control Center, please check there if you do not hear alerts while testing the indicator through the Playback connection. You can also check if alerts are being activated through Contol Center>New>Alerts log.
Please let me know if I can assist further.Chris L.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by f.saeidi, Today, 07:07 AM
|
6 responses
19 views
0 likes
|
Last Post
by f.saeidi
Today, 03:31 PM
|
||
Started by cmtjoancolmenero, Today, 02:31 PM
|
6 responses
14 views
0 likes
|
Last Post Today, 03:29 PM | ||
Started by Graci117, Yesterday, 11:40 PM
|
5 responses
26 views
0 likes
|
Last Post Today, 03:29 PM | ||
Started by rene69851, Today, 03:25 PM
|
0 responses
3 views
0 likes
|
Last Post
by rene69851
Today, 03:25 PM
|
||
Started by Irukandji, Yesterday, 05:50 AM
|
3 responses
9 views
0 likes
|
Last Post Today, 03:25 PM |
Comment