Downloading Indicators and Strategies from Codebase
Contents
What is Codebase?
Codebase is the website you are visiting right now. On this website, there are three locations where Lua code can be found for further usage in the application Marketscope.
- For Indicators, visit our Custom Indicators forum.
- For Strategies and Alerts, visit our Custom Signals forum.
- For Strategies, visit our Custom Strategies forum.
Downloading Codes for Codebase
Downloading Files
Lua Files
This method can be used if an indicator, a signal or a strategy is attached to a post.
Right-click on the file name. In the pop-up menu select Save Target As (if you are using Internet Explorer) o Save Link As (if you are using Firefox):
The Save As window will appear. Choose a folder on your computer to save the code file and Save.
Resource Files
Sometimes you can find a resource file attached to a post. For example, for the indicator named I.lua
, the resource file will be named I.lua.rc
.
In this case you must download both files into the same folder in order to have the indicator, signal, or strategy correctly installed later.
Please, do not change the name or extension of the files you download.
Bin Files
Sometimes an indicator is published in a compiled form. In this case, the file extension will be bin
instead of lua
.
Download such files exactly as you download regular Lua files. Please note that compiled indicators never require resource files.
Downloading Source Codes
Sometimes there is no file attached, but source code is published instead. To save the source code, click the SELECT ALL link:
Right-click on the selected source code. In the pop-up menu, select Copy:
Click the Start button and then click Run. In the Run window, enter notepad
and click OK to open the Notepad application.
In the Notepad application, click the Edit menu and then click Paste:
The source code you have previously copied will appear. In the File menu, click Save As:
The Save As window will appear. Choose the folder to save the file to and enter the file name.
- Please make sure that the extension of the file is
lua
. - Please set Save as type to All files to avoid adding .txt extension to the file name.
What to do Next?
- To use the indicator in Marketscope, install as a custom indicator.
- To use the signal or strategy in Marketscope, install as a strategy.
- To try the code in IndicoreSDK, move the file:
- Indicators to
C:\Gehtsoft\IndicoreSDK\indicators\
. - Signals and Strategies to
C:\Gehtsoft\IndicoreSDK\strategies\
.
- Indicators to
This Article in Other Languages
Language: | English • español • français • русский • 中文 • 中文(繁體) |
---|