Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Export Strategy with UserDefinedMethods Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Export Strategy with UserDefinedMethods Error

    Hi,

    I have another question:

    I have User Defined methods defined (so I can use them in multiple different strategies)

    When I go to export the Straegy that contains a call to the user defined function I get an error:

    "Error compiling export Sources. Please check your logs"

    and the log says:

    The name 'mCustomMethod' does not exist in the current context

    I see no way to also export the "UserDefinedMethods' Strategy that is provided by Ninja and that holds my custom methods.

    Do you have a suggestion?

    Thanks....

    Mark

    #2
    >> I see no way to also export the "UserDefinedMethods' Strategy that is provided by Ninja and that holds my custom methods.
    Correct, you would need to code your method in the strategy/indicator itself.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    601 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    347 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    559 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    558 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X