What the Pine Script generator does
Describe the indicator you want the way you would explain it to a friend, and the generator writes the complete TradingView script in Pine Script version 6: every setting as an input you can change, an alert for each signal, and the steps to add it to your chart. It runs the same instructions as Edgoro's indicator builder, so what you get here is what members get on their first message.
No account is needed. You get 3 free scripts a month.
How to use it
- Describe the indicator in up to 1,500 characters: what it plots, when it signals, and which alerts you want.
- Click Write my Pine Script and wait a few seconds while the script streams in.
- Copy the code block, open the Pine Editor at the bottom of a TradingView chart, paste it, click Save, then Add to chart.
- Check that it compiles and that the plots and signals look right on a few charts before you rely on it.
Write a description the AI can follow
The more exact the description, the fewer assumptions the script has to make:
Vague: show me when the trend changes
Precise: plot the 50 and 200 EMA on the chart; when the 50
crosses above the 200, draw a green triangle below
the bar and fire an alert; mirror it for shorts
- Name the indicators and their settings: "RSI 14", "20-period Bollinger Bands at 2 standard deviations".
- Say when a signal counts: at the close of the bar, or as soon as price touches the level.
- Say how to show it: a line, a background color, a label, a table in a corner.
- List the alerts you want: each one becomes an alert condition you can pick in TradingView.
More tips in how to describe a trading strategy to AI.
What you get
- A one-line summary of what the script does.
- The complete script, starting with
//@version=6, never cut short. - How it works: the logic in plain English.
- Install on TradingView: the steps from the Pine Editor to an alert.
- Ideas to refine: three changes you can ask for next.
The script avoids repainting (no future data in request.security) and uses only Pine v6 syntax. If TradingView still reports an error, paste the code and the message into the free Pine Script error fixer.
Free generator or Edgoro's builder
The free generator answers one description at a time. In Edgoro's builder you can refine the same script in a conversation ("add a volume filter", "make it a strategy with a 1.5 ATR stop"), keep every version in your library, backtest strategies, and build the same logic as an MT5 Expert Advisor that is compiled in MetaEditor before you get it.
Limits
- TradingView only. This tool writes Pine Script. MT5 Expert Advisors and crypto bots are made in Edgoro's bot builders.
- No advice. It writes code from your rules; it never says whether an idea is profitable. Test any signal on historical data and on a demo account first.
- Check before you trade. AI-written code can contain mistakes. Read the explanation, look at the signals on several charts, and keep risk small until you trust it.