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 cmoran13, Yesterday, 01:02 PM
|
0 responses
29 views
0 likes
|
Last Post
by cmoran13
Yesterday, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
21 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
160 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
95 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
148 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Comment