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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    46 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X