How can I add the '.png' file in the project and export/import it correctly? I do not want 'manualy copy file' after the import.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
inporting '\templates\MyResources'
Collapse
X
-
inporting '\templates\MyResources'
My Strategy uses a 'png' file in the code (as a logo on the chart). The file is located in '\templates\MyResources\Logo.png' folder. I exported the Strategy and the manually added the '\templates\MyResources\' folders and 'Logo.png' (in the 'MyResources') folder to the archive. Then I tried to import this project on diffrent PC. On one PC the Strategy was imported succesfull (with this logo), on the second PC the Strategy was not imported and I saw this error (the Strategy was not installed at all, not only the '.png' file):
How can I add the '.png' file in the project and export/import it correctly? I do not want 'manualy copy file' after the import.Last edited by webus; 01-19-2023, 02:05 AM.Tags: None
-
Hello webus,
Thank you for your post.
I would like to review the layout of the .zip that you exported and manually added the file path to. Please send it as an attachment via email to support[AT]ninjatrader[DOT]com with "ATTN Emily" in the subject line along with a link to this forum thread in the body of the email.
I suspect this may be related to the file path - there is a note at the bottom of this help guide page:
It says, "Note: When modifying the .zip archives, if your zip utility application has an option for storing or recreating relative paths please be sure to turn this off as it will cause problems when importing the archive to NinjaTrader."
I look forward to your follow-up via email. In the meantime, feel free to ask any additional questions.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
89 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
135 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment