tkiela Posted August 11, 2013 Report Share Posted August 11, 2013 Hello folks, hopefully this is the right section. I got the t2u.liberator.dll from here: http://indo-investasi.com/showthread.php/19205-REQ-john-maddog-doe-or-zeraw31-pls-educate-t2u-systems/page3 Working with the indicators in a chart works like a charm. But how can I call these indicators from another indicator? I allready added the DLL as a reference. Then I try to call it via NinjaTrader.Indicator.Indicator.METHODNAME. But at this point, I will get a compiling error. There is no definition for this method. In example: base.Liberator_Momentum(5, 5, MA_1271Type2.EMA, 5, true, "a"); Throws me this error. So, how can I call these indicators? Do I need the cs-files from the dll? Where do I have to put these? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Guest gavetso Posted August 11, 2013 Report Share Posted August 11, 2013 you need geit in source doe to do that reuqets some coders here decoti for you for some$$$ Quote Link to comment Share on other sites More sharing options...
tkiela Posted August 11, 2013 Author Report Share Posted August 11, 2013 Decode for what? Getting cs Files? Quote Link to comment Share on other sites More sharing options...
Guest FloridaTrader Posted August 11, 2013 Report Share Posted August 11, 2013 I remember when I first learned NinjaTrader... I was pulling out my hair. Good luck!X_X Quote Link to comment Share on other sites More sharing options...
tkiela Posted August 11, 2013 Author Report Share Posted August 11, 2013 Haha. Yes, i am wondering if there is any hair lebt, After today... Quote Link to comment Share on other sites More sharing options...
minch Posted August 11, 2013 Report Share Posted August 11, 2013 (edited) ************************* Edited November 30, 2013 by minch Quote Link to comment Share on other sites More sharing options...
JDubbs Posted August 11, 2013 Report Share Posted August 11, 2013 Hello folks, hopefully this is the right section. I got the t2u.liberator.dll from here: http://indo-investasi.com/showthread.php/19205-REQ-john-maddog-doe-or-zeraw31-pls-educate-t2u-systems/page3 Working with the indicators in a chart works like a charm. But how can I call these indicators from another indicator? I allready added the DLL as a reference. Then I try to call it via NinjaTrader.Indicator.Indicator.METHODNAME. But at this point, I will get a compiling error. There is no definition for this method. In example: base.Liberator_Momentum(5, 5, MA_1271Type2.EMA, 5, true, "a"); Throws me this error. So, how can I call these indicators? Do I need the cs-files from the dll? Where do I have to put these? Thanks in advance! First, DLL's typically have "base", "this", etc. in them, but if you are coding a strategy (cs) you don't need to add this. You typically call something specific from the DLL, like a dataseries (for example). I typically add a variable like this: private DllName VariableName; Then in "initialize" I will define the variable (make sure you insert inputs in correct order): VariableName = Liberator_Momentum(5, 5, MA_1271Type2.EMA, 5, true, "a"); Then I will call the dataseries I want, for example: Values[0].Set(VariableName.DataseriesName[0]); Assuming the dll has exposed them for you to call. tkiela and bassmark 2 Quote Link to comment Share on other sites More sharing options...
tkiela Posted August 12, 2013 Author Report Share Posted August 12, 2013 Tanks for reply! How can I make clear, that I can userId functions from the DLL. Decompiling and getting the cs Files is no Problem. But the following steps arent clear. Tanks for replies till now! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.