Last updated on 18. 5. 2020 by Mark Fric

Import / Export custom indicators and other snippets

StrategyQuant CodeEditor allows you to simply export custom indicators and other snippets you created, and then import them on another computer or send it to another user for import.

Note – only custom snippets can be exported, because default set of snippets is the same on all SQ installations.


Exporting indicators and other snippets

Let’s try to export two indicators created in ForceIndex article.

First, go to Code Editor and there choose Import/Export -> Export extensions in the top menu:

this will open a dialogue where you can select which snippets you want to export. You can export multiple of them. In your example we’ll choose MA and ForceIndex snippets.

Now just choose folder and file name of the export in the file dialog:

We’ll name the file ForceIndex_export. Click Select and your selected snippets will be exported to this file.

The file will have an .sxp extension. You can now use this file to import the indicators on another SQ installation, or send the file to another user to import them.


Importing snippets

Importing indicators and other nsippets is equally simple. Go to Code Editor, and select Import/Export -> Import extensions:

Now choose the file to be imported in the file dialog:

and click Select. All the snippets in this file will be imported.

When it is done, you can see them in Navigator (you might need to Refresh it first):


Now you have the snippets in your SQ code base. Hit Compile all to recompile all the snippets and you’ll be able to use them in SQ or in AlgoWizard.

Was this article helpful? The article was useful The article was not useful

Notify of
Newest Most Voted
Inline Feedbacks
View all comments
Javad Ezzat adadi
8. 9. 2022 7:24 am

Thanks for the advice. I followed your instructions. Example of coral trend indicator with mgl5 format, I converted it to sxp and I compiled it, but it was not added to the block.

Reply to  Javad Ezzat adadi
9. 12. 2022 7:01 am

Make sure you restart the platform after compile all is succesful. Then make sure you are looking under ‘Indicators’ blocks and not ‘Signals’. I had the same problems and found your message and got it to work, so thought I would share.