Thank you all!!!!!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Enter Intrabar High but Order Keeps Moving
Collapse
X
-
I'm trying to have the variable calculate only once (rather than continuously) and then use that variable price as the entry.
private double MyEntry;
MyEntry = 1;
OnBarUpdate()
MyEntry = (Max(High, 2)[0]
EnterLongStopLimit(1, MyEntry, MyEntry, @"L1");
Thank you!
Comment
-
Hello elcowen,
You can just use the CurrentDayOHL indicator if you want to know the current high or low at any time, you don't need to make a series. If your order is moving more than wanted that is likely due to the condition being true more than expected. You would have to use a Print to see why that is happening.
Comment
-
I think there's some confusion. See pic attached. I trade intraday so CurrentDayOHL wont work.
When High[0] > High[1] and price pulls back, now I want to enter above the current High[0]. However if I put EnterLongStop(High[0]) .... it keeps ticking up and never gets hit. How do I get around this?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
87 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
128 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
65 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
117 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
67 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment