![]() |
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
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jan 2010
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
|
I'm not looking for code samples I'm looking for a thought process in terms of the best settings or method to make this idea work.
I have a strategy that works on 1 minute bars. I want the strategy to calculate entry signals based on the OPEN of the bar. Once we have a trade on it is necessary to continuously monitor the profitability of the trade. When an entry signal is generated I know exactly the two prices I want to leave the trade at. In other words I need the current price to be compared to the two exit prices every second (tick?) instead of every minute. What is the best way to go about doing this? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Welcome to our forums - just work with CalculateOnBarClose set to false then, this will allow the strategy script to monitor each incoming tick in realtime - to work then on the open of the bar you could check if (FirstTickOfBar)....
http://www.ninjatrader-support.com/H...BarClose1.html http://www.ninjatrader-support.com/H...TickOfBar.html http://www.ninjatrader.com/support/f...ad.php?t=19387
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IDataSeries - Can we implement and pass to NT methods/functions? | Brillo | Indicator Development | 9 | 04-27-2010 08:48 AM |
| Any idea what I've got wrong here? | jh1962 | Strategy Analyzer | 22 | 09-22-2009 07:26 AM |
| How about this idea?? | raycam | Suggestions And Feedback | 1 | 07-30-2009 07:30 AM |
| Idea for a new indicator | Antraman | ATM Strategies (Discretionary Trading) | 35 | 01-12-2009 03:13 PM |
| implement a function on NT | kuroro13 | Indicator Development | 8 | 08-06-2008 05:31 PM |