Open the chart you plan to trade in TradingView (e.g., BTCUSDT on the 1-Hour timeframe).
BTCUSDT
At the bottom of the screen, click the "Pine Editor" tab.
Delete any text that is currently in the editor (e.g., the "Hello World" script).
Paste the script you copied from the previous page into the editor.
Click the "Save" button. Give your script a name (like "My DCA Bot").
Click the "Add to Chart" button.
Success! You should now see the strategy on your chart, with blue "Buy" arrows and pink "Exit" arrows indicating where it would have traded.
Last updated 3 months ago