NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 06-03-2008, 01:12 PM   #1
stefy
Senior Member
 
Join Date: Apr 2008
Posts: 310
Thanks: 0
Thanked 0 times in 0 posts
Default Strategy implementation

Hi

I developed and backtested a Strategy, and now want to switch to implementation (paper trading and real trading).
I assumed to execute on Bar Close, but now I want to execute using the BarInProgress function.
How can I do that?

Thank you
stefy is offline  
Reply With Quote
Old 06-03-2008, 02:37 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

When you run your strategy, set the "Calculate on bar close" parameter in the strategy dialog window to a value of false.
NinjaTrader_Ray 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
RangeAlt bars implementation nintra Suggestions And Feedback 1 03-27-2008 08:16 AM
Is an automated framework implementation available as open source? dirtybrown Automated Trading 1 01-23-2008 01:43 AM
Strategy implementation after initial entry Antonios ATM Strategies (Discretionary Trading) 3 12-13-2006 08:49 AM
Implementation of the new Ninjatrader ATI within Investor RT Eddy Automated Trading 0 12-23-2005 04:57 AM


All times are GMT -6. The time now is 08:56 AM.