NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-28-2012, 03:02 AM   #1
Andreano
Junior Member
 
Join Date: May 2012
Posts: 19
Thanks: 4
Thanked 1 time in 1 post
Default Price Alert

I have a task: I need to modify stop order based on Price alert.
As soon as current market price reaches predefined price - modify stop order.
What are the ways to do that?
So far I can see that I would have to connect to tick price data and check tick by tick if necessary price has been reached.

I tried to find something in API which would allow to set up alert and then some callback that would be called on alert - but did not found .
Is there any other built-in ways to do that?

I can see PriceAlert indicator - but it would create alert for alert window, where I need to call some method of Strategy, that would modify stop order.

I am new to NinjaTrader, did try to search this topic through search forum, but found no results, that will answer my question.
I will appreciate any help.
Andreano is offline  
Reply With Quote
 

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 Alert carlton General Programming 3 06-28-2011 09:51 AM
Price Alert question using a floating price line es500 General Programming 10 04-17-2011 04:40 PM
Price Alert RatioTrader Charting 2 11-15-2009 11:25 AM
price alert Christoph Indicator Development 1 09-22-2009 08:20 AM
price alert - audio alert - not functioning well diage4 Market Analyzer 3 12-29-2008 10:24 AM


All times are GMT -6. The time now is 09:32 AM.