Jump to content

tkiela

Members
  • Posts

    6
  • Joined

  • Last visited

Reputation Activity

  1. Like
    tkiela reacted to JDubbs in How to use Indicators in Strategies   
    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.
×
×
  • Create New...