Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
need help to build simple strategy
Collapse
X
-
need help to build simple strategy
CurrentDayOHL on a chart gives you, in real time, the Open for the day, the High for the day,and the Low. I need to know how to build a strategy that will BUY when the CURRENT PRICE is >= to the High FOR THE DAY. NinjaScript/ConditionBuilder/Indicators/CurrentOHL does not actually give you the High FOR THE DAY. In fact it even ask you for # of "BARS AGO", indicating that it is referencing a certain candle, NOT the DAY. Finally, I can't seem to find a way to get "current market price" as opposed to "High,Low,close,open". Need: 1)HIGH FOR THE DAY, and 2)CURRENT MARKET PRICE.Tags: None
-
maria123,
In your condition builder, on the left select Close for the current price. On the right select Indicators>CurrentDayOHL. Then choose the High plot and that is the high value of the day. You are now comparing the current price versus high of the day.Josh P.NinjaTrader Customer Service
Comment
-
Josh, I appreciate your reply. I'm still having a heck-of-a-time with this......can you get this to actually work on charted results? Because, when I look at the charted results....within the strategy analyzer, it doesn't "go-long" or "short" when it should.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 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
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment