NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Market Analyzer

Market Analyzer Support for the NinjaTrader Market Analyzer.

Reply
 
Thread Tools Display Modes
Old 08-14-2009, 10:30 AM   #1
GaryAlbers
Senior Member
 
Join Date: Nov 2007
Location: Arlington Heights, IL
Posts: 100
Thanks: 0
Thanked 4 times in 4 posts
Default Alert condition on indicator not rearming

I have an alert set on a plot value of indicator in MarketAnalyzer.
It is set to play a sound every 5 seconds.

The alert fires the first time, but then after the rearm time elapses,
the alert does not fire again.

I have verified that the condition which causes the alert is still
true by hard coding it to be so.

Attached is screen shot of my alert settings.

Did I set it up wrong, or misunderstand how it works?

Thanks,
-Gary
Attached Images
File Type: png alertSettings.PNG (19.5 KB, 44 views)
GaryAlbers is offline  
Reply With Quote
Old 08-14-2009, 10:55 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
Default

Hello Gary,

Can you please select a default NinjaTrader sound file, such as Alert1, Alert2, etc. Check if the alarm will trigger each 5 seconds when its condition appears true.
NinjaTrader_Jason is offline  
Reply With Quote
Old 08-14-2009, 01:26 PM   #3
GaryAlbers
Senior Member
 
Join Date: Nov 2007
Location: Arlington Heights, IL
Posts: 100
Thanks: 0
Thanked 4 times in 4 posts
Default

Using Alert1.wav the result is the same.
It alerts correctly the first time and then does not alert again.

-Gary
GaryAlbers is offline  
Reply With Quote
Old 08-14-2009, 01:40 PM   #4
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
Default

Hello Gary,

Please try once more using the default settings as per the sounds folder. I suspect the changes you made in the sounds folder are related.

Please uninstall/re-install NinjaTrader. You will save all settings and data.

Uninstall NinjaTrader via the Windows Control Panel-->Add/Remove Programs (XP), Programs and Features (Vista).

Clear your browser cache and download and install NinjaTrader 6.5 at the link below.
http://www.ninjatrader.com/webnew/do...g_software.htm

Remove the current alert and create a new one using a default NinjaTrader sound. Check if the alert triggers as expected.
NinjaTrader_Jason is offline  
Reply With Quote
Old 08-18-2009, 06:51 PM   #5
GaryAlbers
Senior Member
 
Join Date: Nov 2007
Location: Arlington Heights, IL
Posts: 100
Thanks: 0
Thanked 4 times in 4 posts
Default

I have attached a simple little indicator that forces a -1 value into a plot.
I then set up market analyzer with an alert as shown in the attached screen shot. The Alert1.wav is played upon the initial load and then never rearms.

Can you try this in your environment using my settings to verify that it works there?

Thanks,
Gary
Attached Images
File Type: png MarketAnalyzerAlertSettings.PNG (21.2 KB, 23 views)
Attached Files
File Type: cs GTestMA.cs (4.7 KB, 15 views)
GaryAlbers is offline  
Reply With Quote
Old 08-19-2009, 02:06 PM   #6
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
Default

Hello Gary,

I tested it on my end and I experienced the same outcome; the alert only triggers the first time.

If you setup an alert using a default indicator, such as the SMA, does the alert function work as expected?
NinjaTrader_Jason is offline  
Reply With Quote
Old 08-19-2009, 09:51 PM   #7
GaryAlbers
Senior Member
 
Join Date: Nov 2007
Location: Arlington Heights, IL
Posts: 100
Thanks: 0
Thanked 4 times in 4 posts
Default

Jason,

I tried an alert on the SMA>0 and it fires and rearms correctly.

Then I tried the new version of the attached program which essentially does:
protected override void OnBarUpdate()
{
count -= .01; //count is a private double starting at -1.0.
Status.Set(count);
}

The alert rearms correctly when the value is changing!

I appears that the rearm feature of the alert does not work unless
the plotted value changes.

The original behavior that highlighted this problem is that I have an indicator that will continuously set a -1 value after an error has
occurred.
I want the alert to continue to fire until the user has responded.

Seems like a bug to me.

-Gary
Attached Files
File Type: cs GTestMA.cs (4.7 KB, 7 views)
GaryAlbers is offline  
Reply With Quote
Old 08-20-2009, 08:52 AM   #8
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Thanks Gary, I'll give this a test and get back to you.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 08-20-2009, 12:22 PM   #9
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Gary, thanks for raising this one and the scenario - this will be fixed with NinjaTrader 7
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 06-24-2010, 05:12 AM   #10
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

What seesion template are you using in your MA? Please right click in it and change for example to the Default 24 / 7 in it's properties, then the value should update as expected for this point in time of the trading day.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 06-24-2010, 05:18 AM   #11
Serninja
Junior Member
 
Join Date: Mar 2010
Posts: 24
Thanks: 3
Thanked 0 times in 0 posts
Default

Bertrand,

you are really fast! Coincidentally I noticed that just a second before your reply ;-)

Nevertheless,
THANK YOU!
Serninja is offline  
Reply With Quote
Old 06-24-2010, 05:21 AM   #12
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

You're welcome & thanks for the kind words - great it's working for you.
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Price & Volume condition as indicator to scan stocks isitpossible Market Analyzer 0 07-12-2009 12:39 PM
Condition to calculate the indicator Winnie Indicator Development 4 03-23-2009 09:00 AM
Condition in an indicator eswap0 Indicator Development 2 12-06-2008 04:28 PM
Strategy Condition Builder - Subtracting Indicator Values JT454 Strategy Analyzer 1 06-17-2008 03:15 PM
Indicator Rising/falling As Enty Condition Willl Strategy Development 1 04-02-2008 12:07 PM


All times are GMT -6. The time now is 03:45 PM.