This tutorial will show you how to import shared scripts into the editor for you to use
If you've come across with shared Visual Editor scripts, you might have seen something like this:
.....and so on
And you are probably here because you are unsure how to get this imported to your HTS, so let me tell you how to do just that.
Open Visual Editor from the left main menu panel:
First off, we start by creating a new blank script in the Visual Editor:
A new window will pop up. Depending on the type of script you are importing, select the
Typeappropriately. In this tutorial, we will be importing pshai's Simple Leverage Scalper (found here: https://www.haasscripts.com/t/pshaibot-simple-leverage-scalper-v3/) so we will use the type
Once we have our new script created, let's head on and click the
Import Scriptbutton on the toolbar:
A new window pops up again, this time with a huge text box. This is where we will copy-paste the scribbled code:
After hitting Save we let HTS do its magic and after that, we should be able to see something like this:
Successfully imported script
And that's that!
If the type of your blank script is not the same as the one you are trying to import, you will see the errors in the
Compile Logonce you save the imported script the first time.