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.JimNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
3 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
1 view
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
6 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
||
Started by timmbbo, Today, 08:59 AM
|
2 responses
10 views
0 likes
|
Last Post
by bltdavid
Today, 04:10 PM
|
Comment