NexusFi: Find Your Edge


Home Menu

 





Errors when compiling indicators (using cjbooth's system)


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one bnichols with 12 posts (2 thanks)
    2. looks_two processing with 8 posts (0 thanks)
    3. looks_3 Zondor with 4 posts (1 thanks)
    4. looks_4 pepbosch with 3 posts (0 thanks)
      Best Posters
    1. looks_one Silvester17 with 1.5 thanks per post
    2. looks_two Abde with 1 thanks per post
    3. looks_3 Fat Tails with 1 thanks per post
    4. looks_4 bnichols with 0.2 thanks per post
    1. trending_up 10,097 views
    2. thumb_up 10 thanks given
    3. group 7 followers
    1. forum 32 posts
    2. attach_file 12 attachments




 
Search this Thread

Errors when compiling indicators (using cjbooth's system)

  #21 (permalink)
 
processing's Avatar
 processing 
Sydney, NSW
 
Experience: Beginner
Platform: Quantower
Frequency: Other
Duration: Other
Posts: 102 since Feb 2011
Thanks Given: 247
Thanks Received: 124

@bnichols: Hey, that's ok.

@Zondor, I get a message saying that I need to "establish a connection that supports the instrument(s)".

I'm confused because I am already connected.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Deepmoney LLM
Elite Quantitative GenAI/LLM
 
  #22 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731

You are connected to a data feed that does not support the instrument that you are trying to get data for.

It's a good idea to learn the basics of using Ninjatrader before trying to trade with it.

This is a great thread..... very entertaining.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #23 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460


As you likely know different feed vendors require different permissions for price data vendors. It may be you haven't subscribed to the instrument for which you want data--so verify that and decide if you want to pay the fee.

But if it seems you are subscribed and you are getting this error then check with your feed provider, and don't trust NT as far as you can throw it (have at least one laptop languishing in the bushes after trying to deal with NT)

Visit my NexusFi Trade Journal Reply With Quote
  #24 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


bnichols View Post
I'm beginning to suspect NT cannot handle historical tick data no matter what the provider and very likely NT will not show tick charts unless you've had tick charts up in the past and have saved the live data (i.e., "Tools > Options > Data > Save chart data as historical"check box ticked. While you're at it might as well turn on " "Tools > Options > Data > Record for market replay").

In other words if NT has not saved downloaded tick data in the past there is a good chance it cannot retrieve it either, so be prepared to capture it while NT is up, and go to any length to import tick data converted from other sources if your installation is down for any length of time or work with tick data gaps. Or not

Look forward to being corrected about this. It is more likely some NT/data feed combo I have not tried does download historical tick data, which might imply more programming effort in place for those feeds than the ones I use. On that topic, just turned IQFeed on again but keep it off when trading spot Forex, since IQFeed position doesn't match broker position often enough.

@bnichols: Just reading this stuff, I hope you do not mind if I have some objections.

NinjaTrader can easily store historical tick data, and you do not need to record it life. Just download them via the download manager or open a tick chart and you will have your chart backfilled automatically - UNLESS your data provider does not support historical tick data.

It is only a question of the data provider. For example, if you use Interactive Brokers, then you cannot download historical tick data, because they don't offer it. But it has nothing to do with NinjaTrader.

What NinjaTrader cannot store is synchronized data for bid and ask. But this does not apply to trade data.

Reply With Quote
Thanked by:
  #25 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


gloricle View Post
@bnichols: Hey, that's ok.

@Zondor, I get a message saying that I need to "establish a connection that supports the instrument(s)".

I'm confused because I am already connected.

@gloricle: The problems that you have experienced are rather unusual and point to several user errors. My recommendation would be start from scratch. Also take the habit of never ever copying files around inside the NinjaTrader folder as you probably did with MetaTrader. Please proceed as follows

(1) Write down your license key somewhere.

(2) Rename the folder Documents -> NinjaTrader 7 to Documents -> NinjaTrader Old. Renaming means that you will not lose any information, but you can reverse your decision.

(3) Start NinjaTrader. NinjaTrader will now recreate a clean directory Documents -> NinjaTrader 7. You will be asked to enter your license key.

You should now be fine. If you want to add any indicators, please import them via File -> Utilities -> Import NinjaScript. If you want to remove an indicator, you can simply delete it from the list under Tools -> Edit NinjaScript -> Indicator . If you want to remove an assembly you must use File -> Utilities -> Remove NinjaScript Assembly.

In case that you cannot connect to an instrument or load historical data as expected, there can be two reasons

-> no or false symbol map in the instrument manager
-> your data provider does not support the instrument or you have not subscribed for live data for that instrument

Reply With Quote
Thanked by:
  #26 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460


Fat Tails View Post
@bnichols: Just reading this stuff, I hope you do not mind if I have some objections.

NinjaTrader can easily store historical tick data, and you do not need to record it life. Just download them via the download manager or open a tick chart and you will have your chart backfilled automatically - UNLESS your data provider does not support historical tick data.

It is only a question of the data provider. For example, if you use Interactive Brokers, then you cannot download historical tick data, because they don't offer it. But it has nothing to do with NinjaTrader.

What NinjaTrader cannot store is synchronized data for bid and ask. But this does not apply to trade data.

Thanks again [MENTION=3534]Fat Tails[/MENTION]--as usual I bow to your authority. Overall I try to be cautious when making statements about NT because of my love/hate relationship with it--as you know I'm one who is continuously guilty of operator error when using it, e.g. lately writing and compiling an indicator with a misplaced class (one more misstep at that point and it gets stuck in NT's craw until one blows away NinjaTrader.Custom.dll and NinjaTrader.Custom.xml and restarts NT). I really do not like rebuilding my tools

In other ways I suppose it's a matter of convenience. While it may be true IB doesn't provide what is rigorously defined as tick data I find the sampled stuff good enough for constructing spot Forex "tick" charts and IB does provide historical bid, ask and trade samples. I've never been able to coerce NT to retrieve it unfortunately, whereas MC has no issues.

Visit my NexusFi Trade Journal Reply With Quote
  #27 (permalink)
 pepbosch 
Madrid - Spain
 
Experience: Intermediate
Platform: NinjaTrader
Broker: CONTINUUM
Trading: ES, Currency Futures, Forex, oil, gold, EUR/USD, Stocks
Posts: 315 since Jun 2014
Thanks Given: 412
Thanks Received: 132

Can anybody help me to solve this?
I have tried to delete all non system indicators and I can not. And I don't know how to correct the line error either.
please help...

Attached Thumbnails
Click image for larger version

Name:	zz.JPG
Views:	183
Size:	102.4 KB
ID:	156470   Click image for larger version

Name:	aa.JPG
Views:	171
Size:	49.8 KB
ID:	156471   Click image for larger version

Name:	a.JPG
Views:	179
Size:	76.1 KB
ID:	156472   Click image for larger version

Name:	4.JPG
Views:	168
Size:	140.3 KB
ID:	156473  
Follow me on Twitter Reply With Quote
  #28 (permalink)
 Abde 
Stuttgart / Germany
 
Experience: Intermediate
Platform: FlatTrader
Broker: GFT and Interactive Brokers
Trading: ES, DAX
Frequency: Every few days
Duration: Days
Posts: 533 since Aug 2010
Thanks Given: 2,141
Thanks Received: 729


pepbosch View Post
Can anybody help me to solve this?
I have tried to delete all non system indicators and I can not. And I don't know how to correct the line error either.
please help...

@pepbosch,

You have to delete the PriceActionSwingProCCIanaKVO indicator. If this is not possible via the NT delete function, then delete it directly fom the indicator folder and restart NT. This should work. Good luck.

Reply With Quote
  #29 (permalink)
 pepbosch 
Madrid - Spain
 
Experience: Intermediate
Platform: NinjaTrader
Broker: CONTINUUM
Trading: ES, Currency Futures, Forex, oil, gold, EUR/USD, Stocks
Posts: 315 since Jun 2014
Thanks Given: 412
Thanks Received: 132

Thank you.
I had to delete manually from the indicators folder. But I still get errors. And now it tells me the errors are in the indicator that I deleted...and it does not appear in the indicators folder.
any clue?

thanks

Attached Thumbnails
Click image for larger version

Name:	XX.JPG
Views:	182
Size:	132.4 KB
ID:	156476  
Follow me on Twitter Reply With Quote
  #30 (permalink)
 Abde 
Stuttgart / Germany
 
Experience: Intermediate
Platform: FlatTrader
Broker: GFT and Interactive Brokers
Trading: ES, DAX
Frequency: Every few days
Duration: Days
Posts: 533 since Aug 2010
Thanks Given: 2,141
Thanks Received: 729



pepbosch View Post
Thank you.
I had to delete manually from the indicators folder. But I still get errors. And now it tells me the errors are in the indicator that I deleted...and it does not appear in the indicators folder.
any clue?

thanks

Delete all your PriceActionSwing indicators manually and restart. Hope this solves the issue.

Reply With Quote
Thanked by:




Last Updated on September 15, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts