NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 8 of 8
Search: Posts Made By: dsraider
Forum: NinjaTrader February 2nd, 2012, 02:19 PM
Replies: 18
Views: 9,068
Posted By dsraider
Apologies for the delayed response. They're...

Apologies for the delayed response. They're trying to kill me in the real world...

Thank you to everyone for your suggestions. Unfortunately, nothing I've tried has worked. shodson, I've actually...
Forum: NinjaTrader January 30th, 2012, 08:47 AM
Replies: 18
Views: 9,068
Posted By dsraider
EJ, Mike et al, Wondering if anyone has...

EJ, Mike et al,

Wondering if anyone has successfully separated code in the following way:

OnStartUp() - open connection

OnBarUpdate() - execute insert command (though will change later per...
Forum: NinjaTrader January 30th, 2012, 06:03 AM
Replies: 18
Views: 9,068
Posted By dsraider
EJ - Awesome! Thanks for letting me know....

EJ - Awesome!

Thanks for letting me know. My 3.5 dll wasn't readily available (read I was tired and frustrated and couldn't find it at first glance) so I went with 2.0, wrote to MySQL and...
Forum: NinjaTrader January 29th, 2012, 06:09 PM
Replies: 18
Views: 9,068
Posted By dsraider
Hey EJ, As you've probably read, I'm going...

Hey EJ,

As you've probably read, I'm going to be moving things around but this got me writing to MySQL through OnBarUpdate():

//create a MySQL connection with a query string
...
Forum: NinjaTrader January 29th, 2012, 04:43 PM
Replies: 18
Views: 9,068
Posted By dsraider
FIXED!! I have absolutely no idea whatsoever...

FIXED!!

I have absolutely no idea whatsoever why this worked but all I had to do was remove the System.Data.dll reference to .NET 4.0 and replace with with the same one from 2.0.

I am now...
Forum: NinjaTrader January 29th, 2012, 04:07 PM
Replies: 18
Views: 9,068
Posted By dsraider
Afraid moving things around resulted in: ...

Afraid moving things around resulted in:

Error on calling 'OnStartUp' method for indicator '[indicator]': AssemblyResolveEvent handlers cannot return Assemblies loaded for reflection only. and
...
Forum: NinjaTrader January 29th, 2012, 03:21 PM
Replies: 18
Views: 9,068
Posted By dsraider
Interesting, Mike. Will give these tips a whirl. ...

Interesting, Mike. Will give these tips a whirl.

Thanks.
Forum: NinjaTrader January 29th, 2012, 12:52 PM
Replies: 18
Views: 9,068
Posted By dsraider
MySQL & Ninja

Hey All,

I've written code so that one of my indicators can write directly to MySQL. The following works fine with a simple Windows Form I created but prints

"Error on calling 'OnBarUpdate'...
Showing results 1 to 8 of 8

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 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