Refine your indicator
Your first script rarely needs to be your last. The Indicator Creator is a conversation — just reply in the same chat and the AI updates the script for you.
Iterate by chatting
Keep talking to the AI in the same chat to refine the indicator. Some examples:
- "Make the EMA 50."
- "Add an
alertconditionfor the buy/sell crosses." - "Plot it on a separate pane."
- "Change the buy label color to blue."
- "Add a toggle to hide the signals."
Each reply produces an updated, complete script — copy the new version into TradingView the same way you did the first.
Settings become inputs
Rather than hard-coding values, the AI exposes lengths, sources, and toggles as inputs in the script. That means you can experiment with the numbers right in TradingView's settings gear — no need to come back and re-edit the code every time you want to try a different length.
💡 Tip: Ask for the things you'll want to tweak to be inputs up front: "expose the RSI length, the EMA length, and a toggle for the labels as inputs." Then you can tune everything from the chart.
Add alerts
If you want TradingView alerts off your signals, ask the AI to add an alertcondition for them. Then in TradingView you can right-click the indicator and set up the alert. (See Indicator troubleshooting for the alert steps.)
Premium
Refining indicators is part of the Premium Indicator Creator.