Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

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!

Guest gavetso
Posted
you need geit in source doe to do that reuqets some coders here decoti for you for some$$$
Guest FloridaTrader
Posted
I remember when I first learned NinjaTrader... I was pulling out my hair. Good luck!X_X
Posted
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.

Posted

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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...