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 NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
56 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
133 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
73 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment