PDA

View Full Version : Same Strategy on multiple instruments in different charts


dadof3and3
04-30-2010, 09:47 AM
Has anyone experienced the following (in NT6.5)?

I have strategy A running on ES 6-10 on a chart. I also have strategy A (same strategy) running on another instrument say 6B 6-10 in another chart. It appears that in the ES chart, false signals are occuring. In the code I have specifically set :
if (Close[0] > Highest) initiate a named ATM strategy. What I'm finding is the ATM strategy gets issued sooner (or later) than it should for the instrument (hopefully I'm making sense, to me I am :rolleyes:).

Any thoughts/comments are appreciated.
Thanks - David

NinjaTrader_Tim
04-30-2010, 10:44 AM
Hi dadof3and3,

Can you try printing, Print() when the condition is true, to verify if it truly not executing when you want it to.

Also, is this strategy applied to a Chart, or to the Strategies tab?

dadof3and3
04-30-2010, 12:36 PM
Using print statements is my next endevor to determine what is happening. It is in a chart, I never though of using the Strategies Tab, something to look into. Also is there a way to have a strategy print to a file instead of the output window?

NinjaTrader_Tim
04-30-2010, 12:45 PM
Hi dadof3and3,

You can write to external files...

http://www.ninjatrader-support2.com/vb/showthread.php?t=3475
http://www.ninjatrader-support2.com/vb/showthread.php?t=3477


or to the log file....

http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?Log