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 argusthome, 03-08-2026, 10:06 AM
|
0 responses
61 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
40 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
21 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
23 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
51 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment