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 NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment