Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
1 Minute Line Chart
Collapse
X
-
1 Minute Line Chart
I have a system that runs fine on charts such as 5 minute, tick, etc. The problem I am having is that it does not run properly on the 1 Minute Line Chart??? It shows the entry on the chart, but never shows the figures in the Control Center under Unrealized and Realized??? See attached........ (it just shows zeroes across the board)Tags: None
-
Hi edgeliner,
What version of NinjaTrader are you using?
Thanks for the report. I was not able to reproduce this here using 1 min Line Break Charts. You only attached a screenshot of the chart, so maybe this is a historical entry and your strategy is waiting until flat before accepting the first live entry signal?
If you can provide any steps to follow that will allow us to see the same thing here, I'm happy to setup the same and see if we are able to reproduce.Last edited by NinjaTrader_RyanM1; 10-10-2011, 09:51 AM.Ryan M.NinjaTrader Customer Service
-
Ryan.......
I'll simply give you a cut down version and let you see what happens as well....... I am using 7.0.1000.4 and think I may need to upgrade for this to work???
// Condition set 1
if (CrossAbove(EMA(5), EMA(7), 1))
{
EnterLong(DefaultQuantity, "");
}
// Condition set 2
if(CrossBelow(EMA(5), EMA(7), 1))
{
EnterShort(DefaultQuantity, "");
}
Comment
-
Yes, we release updates frequently to address any issues with the platform. Please upgrade your NinjaTrader to the latest 7.0.1000.7 and retest.
If you have a reversal only(no standard exits) strategy like that, the entry indicated is likely historical one, as it may always be in a waiting until flat state before it accepts a live entry. This setting is made under Tools > Options > Strategies > NinjaScript tab.Ryan M.NinjaTrader Customer Service
Comment
-
Ryan......... I upgrade both Ninja and MBTrading and restarted the system and you can see by the attached that it does not register the Unrealized or Realized positions???? Here is a simple version of my code........
{
if (Historical)
return;
}
// Condition set 1
if (Position.MarketPosition == MarketPosition.Flat
&& (Close[0] > Open[0]))
{
EnterLong(DefaultQuantity, "");
}
// Condition set 2
if (Position.MarketPosition == MarketPosition.Flat
&& (Close[0] < Open[0]))
{
EnterShort(DefaultQuantity, "");
}
// Condition set 3
if (Position.MarketPosition == MarketPosition.Short
&& (Close[0] > Open[0]))
{
EnterLong(DefaultQuantity, "");
}
// Condition set 4
if (Position.MarketPosition == MarketPosition.Long
&& (Close[0] < Open[0]))
{
EnterShort(DefaultQuantity, "");
}
Any ideas??????
Comment
-
I'm not sure why you are having these results as the same strategy works fine here. Your strategy looks like it should enter frequently and have no historical positions.
Can you please take a screenshot of your strategy settings so we can see what you are running this against? The screenshot should include settings like the instrument, interval, session template, min bars required, etc.Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
574 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment