Code Editor
What is HorizonAI and how to use it
Code Editor
The Code Editor is your interactive canvas for Pine Script, located on the right side of the application. It's where HorizonAI brings your trading ideas to life by writing and updating your code in real-time.
Key Features:
Live Code Generation:
Watch as HorizonAI generates and modifies your script right before your eyes. The editor is seamlessly connected to the AI, so any changes you ask for in the chat are automatically applied to the code.
Your Code, Your Control:
You have full control. You can type directly into the editor, paste existing scripts, or make manual tweaks. HorizonAI sees your changes and adapts its responses accordingly.
One-Click Copy for TradingView:
When your script is ready, just click the Copy Code button in the header. The entire script is instantly copied to your clipboard, ready to be pasted directly into the TradingView Pine Editor.

Last updated