Configure strategy
Follow these steps carefully to ensure your strategy is set up correctly for live automation.
This guide assumes you have already added the script to your TradingView chart.
Set Live Mode & Timezone
When you first add the strategy to your chart, a settings box will appear.
Turn on LIVE Mode: Check the
LIVE modebox.
Turning on LIVE mode prepares the script for live alerts. This will disable the backtest in the TradingView "Strategy Tester" panel. This is normal. To run a backtest, uncheck this box.
Configure Timezone: Set the
Timezoneinput to match your local timezone or your exchange's timezone. This is critical for theStart Date/Timesetting to work correctly.
Click "OK" to apply the settings.
Set the Live Start Time
Now that the strategy is on your chart, tell it when to start looking for live signals.
Hover over the strategy's name on your chart and click the "Settings" icon (gear).
Go to the "Inputs" tab.
Find the
Start Date/Timesetting.Adjust the date and time to align with the current date and time.
This instructs the strategy to ignore historical data (since LIVE mode is on) and only start calculating from this moment forward.
Configure Initial Capital
Tell the strategy how much capital it will be trading with. This setting controls the size of the orders it sends to your exchange.
In the same "Settings" window, go to the "Properties" tab.
Find the
Initial Capitalfield.Enter the total amount of capital you plan to trade with this specific bot (for example,
1000for $1,000).
This value is the basis for all position sizing. The order size is set to 10% of equity by default, the strategy uses this number for that calculation. Make this value as accurate as possible to your actual account balance to ensure correct order sizes.
Once complete, click "OK". Your strategy is now configured and ready for live automation.
Last updated