It would be highly appreciated to be specific. Thanks in advance for any help!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Code strategies based on bid/ask charts
Collapse
X
-
Code strategies based on bid/ask charts
I would like to code strategies based on bid/ask charts. How would I go about accessing the OHLC for either one of those charts in Ninjascript?
It would be highly appreciated to be specific. Thanks in advance for any help! -
Not sure how I couldn't find this before. Here's a great explanation. Hope it may help some others in the future.
-
Hello Lumbeezl,
Thanks for opening the thread.
It sounds like you have resolved your inquiry. The NinjaScript language reference is a valuable resource, but I will also add in some other resources for the thread's reference.
Using Historical Bid/Ask Series - https://ninjatrader.com/support/help..._ask_serie.htm
When using added bid and ask series, you may also want to understand the ins and outs for creating a Multi Time Frame NinjaScripts.
Multi Time Frame and Instruments - https://ninjatrader.com/support/help...nstruments.htm
To get a historical bid or ask at the absolute bar index the following methods could be used.
GetBid() - https://ninjatrader.com/support/help...-us/getbid.htm
GetAsk() - https://ninjatrader.com/support/help...-us/getask.htm
Please let us know if we can be of additional help.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
29 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
46 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment