![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#16 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,564
Thanks: 261
Thanked 1,015 times in 996 posts
|
Ok, sounds good - the idea was to ensure the alert would trigger the first time the conditions is seen and not on subsequent bars, if it's not feasible with cross above / below then a bool flag would like do this for you.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#17 |
|
Member
Join Date: Jun 2012
Posts: 51
Thanks: 6
Thanked 0 times in 0 posts
|
Rearm of 1 is not working. Basically, the alert goes off every few seconds, about 2 seconds.
How do you use a bool flag to ensure the alert would trigger the first time the conditions is seen and not on subsequent bars update within the same bar, without coding? My current strategy is entirely using the wizard. |
|
|
|
|
|
#18 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,564
Thanks: 261
Thanked 1,015 times in 996 posts
|
So that's then basically still too long for your use, to use the bool logic in combination with FirstTickOfBar you would unfortunately need to code outside of the wizard as here you could programmatically reset an alert after it triggered - this would be what you need to control this better.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| No sound on PlaySound() and Alert not working | dontpanic | Indicator Development | 5 | 06-13-2011 10:46 PM |
| Alert not working in indicator | eclipsed | Miscellaneous Support | 2 | 04-06-2011 05:46 AM |
| DMI Cross Alert is no Working | cowcool | Strategy Development | 1 | 02-25-2010 07:32 AM |
| generating alert from a strategy | faceonthewall | Strategy Development | 1 | 08-16-2009 05:57 PM |
| Alert not working on Market Analyzer | asalada | Market Analyzer | 1 | 04-11-2008 06:48 AM |