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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
160 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
81 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
125 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
206 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
184 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment