edgeful AI can write TradingView indicators and algos for you. you describe what you want on your chart in plain English, it writes the Pine Script, and you paste it into TradingView. no coding needed.
it's the third mode in edgeful AI, next to analyze and custom reports, and it's unlocked for members with an algo subscription. custom reports measure how often something happens in the data. build indicators & algos is different: it gives you a script that draws something on your own chart, or an algo that takes trades on it.
what it makes
a Pine Script indicator for TradingView. the kind of thing you'd otherwise hunt for in the public library or pay someone to code: levels, ranges, bands, moving averages, labels and alerts. edgeful AI's own suggestions give you a feel for it:
build an opening range breakout indicator
mark the previous day high and low
create a VWAP indicator with deviation bands
alert me when the 9 and 21 EMAs cross
if you don't ask for trades, it assumes you want an indicator, which only draws and alerts. if you want an algo (a TradingView strategy you can run in the strategy tester), say so in your description. algos it builds trade 1 contract per order by default, so they're ready to test without setting an order size first.
step 1: open build indicators & algos
open edgeful AI from the left sidebar. below the message box there's a row of three modes: analyze, custom reports and build indicators & algos. click build indicators & algos. the message box changes to describe the indicator or algo you want to build, and the suggestions above it switch to indicator ideas.
step 2: describe the indicator
the same rule as custom reports applies: the clearer the description, the better the script. you don't need to know Pine Script. you need to be specific about what goes on the chart. a good description covers:
what it draws: lines, a shaded zone, labels, a band, a background colour
exact definitions: "the high and low of the 9:30 to 9:45 ET candles" beats "the opening range"
the session and timezone if it matters, written out in full
how it should look: colours, dashed or solid lines, whether labels show
alerts, if you want them, and exactly what should trigger each one
you can also click the paperclip to attach a file, like a screenshot of the chart you're trying to recreate.
hit send and the build starts.
step 3: watch it build
a code panel opens on the right as soon as you send. the build runs in two stages, and both show in the chat with a running timer:
preparing your script: edgeful AI plans the script before any code appears. complex scripts can take a few minutes here
writing your script: the code fills in
when it says generation complete, you get a short note on what the script does and any assumptions it made. read that note. if it assumed something you didn't mean, that's your first correction. click show thinking if you want to see how it reasoned through your description.
step 4: refine it
not quite right? say so in the chat: "make both lines dashed", "only draw it on the New York session", "add a label with the price". each change creates a new version of the script, so you never lose a version that worked.
versions
every build and every change is saved as a numbered version.
version chips in the chat: each reply that changes the script ends with a chip like previous day high / low · v2. click an older chip to open that version in the code panel
version history: the version button at the top of the code panel (it reads v2 · latest, for example) lists every version with its time and a one-line summary of what changed
going back: when you open an older version, the panel tells you you're viewing it and that newer versions are still saved. click continue from this version if you want your next change built on that one instead of the latest
the script stays in the chat, so to come back to it later, open the conversation from your chat history in the edgeful AI sidebar.
step 5: put it on your TradingView chart
at the top of the code panel, click copy to copy the whole script (or download to save it as a file). then in TradingView:
open a chart and click Pine Editor at the bottom of the screen
open a new indicator, select everything in the editor and paste your script over it
click save, give it a name, then click add to chart
if TradingView shows an error, copy the error message into the edgeful AI chat and ask it to fix it. that's faster than describing the problem.
if your script has alerts, add them the usual way in TradingView once the indicator is on your chart.
building an algo
an algo is a TradingView strategy: the same kind of script, except it places trades. that means you can backtest it on your chart and, with an algo subscription, automate it through edgeful. say algo or strategy in your description, otherwise you'll get an indicator.
describing an algo. write it as a rule set someone else could trade without asking you a question:
the entry: exactly what has to happen, on which timeframe, and whether it trades long, short or both
the exit: the profit target and the stop, in points, ticks or a level ("stop at the other side of the opening range")
the session: when it's allowed to enter and when it has to be flat, with the timezone
limits: one trade a day, no new entries after 11:00 ET, and anything else that stops it trading
for example: build an algo on the 5-minute chart that goes long on a close above the 9:30 to 9:45 ET range high and short on a close below the range low, one trade per day, stop at the other side of the range, target at 2x the range size, flat by 15:55 ET.
testing it. put it on your chart the same way as an indicator (step 5). because it's a strategy, TradingView shows its results in the Strategy Report (formerly the strategy tester) at the bottom of the chart: the list of trades, win rate, P&L and drawdown over your chart's history. scroll the trades list and check a few against the chart, the same way you'd check an indicator's lines.
algos it builds trade 1 contract per order by default. to test another size, ask edgeful AI to change it, or change the order size on the strategy's Properties tab in TradingView. a good-looking backtest is a starting point, not proof: see why your backtest, optimizer, and live results don't match before you trust the numbers.
automating it. to run it live through edgeful, every entry and exit in the script has to send the alert message edgeful reads. ask for that in your description, for example add edgeful alert messages to every entry and exit, then set it up as your own strategy, following the automating your own TradingView strategy section of the algo automation quickstart. that section lists exactly what the messages must contain, so check the script against it before you connect a broker. the size the script trades is the size that reaches your broker (position sizing and how edgeful uses strategy position size), so run it on a sim account first.
the code panel
the panel on the right holds the script, the version button, copy and download. close it with the × when you want the chat at full width, and reopen it with the code panel button at the top of the chat.
things to know
check it on your chart before you trade with it. edgeful AI can make mistakes. pull up a few days and confirm the lines sit where you expect
it writes Pine Script for TradingView. the script runs on your TradingView chart, not inside edgeful
it's separate from edgeful's own indicators. the indicator library in the resources menu is edgeful's maintained set. a script you build here is yours to save and update in TradingView
an algo you build here isn't one of edgeful's algos. it's your own strategy, so it doesn't get edgeful's algo settings, optimizer or updates. to automate it, see building an algo above and the automating your own TradingView strategy section of the algo automation quickstart
it uses your monthly edgeful AI tokens, the same allowance as chat and custom reports. one clear description with every detail you want costs less than a long string of small fixes