Building your first script
Creating your first indicator
Last updated
Creating your first indicator
Last updated
This guide will walk you through adding an indicator to your trading strategy using the Script Builder.
Add an Indicator Block
Look for the Indicator Block in the sidebar.
Click and drag the Indicator Block onto the canvas.
Configure the Indicator
Once you drop the block onto the canvas, you will see Indicator Settings Pop
You'll see a dropdown menu labeled "Indicator".
Click on this dropdown and select the indicator you want to use (e.g., "Moving Average Convergence Divergence (MACD)").
Customize Indicator Settings
After selecting an indicator, you'll see additional fields appear.
These fields allow you to customize the indicator's parameters.
For example, with MACD, you might see fields for "Fast Length", "Slow Length", and "Signal Length".
You can also change the timeframe, and showing a Higher Timeframe MACD
Adjust these values as needed for your strategy.
Save Your Settings
Once you're happy with your configuration, click the "Save" button.
Compile Your Script
After adding and configuring your Indicator Block, look for the "Compile" button, located at the top right of the Script Builder.
Click "Compile" to turn your visual block into executable code.
Review and Run
After compilation, you can review the generated code if you wish.
Your indicator is now ready to be used in your trading strategy!
Remember, this is just the beginning. You can add multiple indicators, combine them with other blocks like Conditions or Actions, and create complex trading strategies. Happy trading!