Agents

Say how you trade. Pip writes the script.

Ask in plain words, get a script that runs

Tell Pip what you trade in the Build window. It writes a Pine-compatible script, our engine compiles it, and you see it trade on your bot’s own candles. Every line stays yours to read and edit.

Build window +
Agents / Gold SuperTrend · London openDRAFT V1FundingPipsDemoReplay 30 daysPublish v1
XAUUSD5m15m1hSuperTrend 10, 3 · London 14:00–17:00 shaded
Buy+$5.81Sell−$15.86 3,5003,6003,700 Sun 00:00Sun 12:00Mon 00:00Mon 12:00Tue 00:00
COMPILED · 13 LINES · 0 PROBLEMS
//@version=5
strategy("Gold SuperTrend · London open", overlay = true)
atrLen = input.int(10, "ATR length", minval = 5, maxval = 30)
factor = input.float(3.0, "Factor", minval = 1, maxval = 6, step = 0.5)
[st, dir] = ta.supertrend(factor, atrLen)
london = not na(time(timeframe.period, "1400-1700", "Asia/Bangkok"))
plot(st, "SuperTrend", color = dir < 0 ? color.teal : color.red)
if london and ta.change(dir) < 0
strategy.entry("Buy", strategy.long)
if london and ta.change(dir) > 0
strategy.entry("Sell", strategy.short)
if not london and london[1]
strategy.close_all("17:00 close")
Trades11
Won4
Net−$16.99
Flips outside 14:00–17:0065
Money after each trade, 24 Oct to 23 Nov · the script’s own size, 1 ounce · before fees
OPENEDSIDEENTRYEXITRESULT
Sun 25 Oct 14:30Buy3997.273991.09−$6.18
Sun 25 Oct 16:15Sell3991.093993.97−$2.88
Wed 28 Oct 15:00Buy4052.574057.65+$5.08
Sun 1 Nov 15:30Sell3892.213893.10−$0.89
Mon 2 Nov 15:30Sell3903.103906.19−$3.09
Fri 6 Nov 15:45Buy4079.914077.37−$2.54
Sat 7 Nov 16:00Sell4080.104080.36−$0.26
Mon 9 Nov 14:15Sell4108.354106.85+$1.50
Fri 20 Nov 15:15Buy3578.833581.15+$2.32
Sun 22 Nov 16:30Buy3558.233564.04+$5.81
Mon 23 Nov 15:15Sell3611.933627.79−$15.86
Code you can read, from a sentencePip writes the script, the engine checks every line, and you change it by asking or by typing. Nothing is saved until you run it.

Real XAUUSDT 15-minute candles (Binance perpetual) from 21 to 24 November 2026, with this script run on them. The replay covers 24 October to 23 November. Times are Bangkok time.

Start from a file, a video or a script

You don’t have to describe it from scratch. Give Pip what you already have and it writes it down as a script, pointing each line at where it came from.

Sources +
gold-rules.pdf2 pages · 3 lines kept
Trend from SuperTrend 10, 3 on the 15 minute.line 5
Only the London open, 2 to 5 pm my time.line 6
Flat by 5 pm, every day.line 12

A file

Add a PDF or a text file of your rules. Each line of the script shows the sentence it came from.

A video link18 min · read from its captions
04:12Wait for the line to flip green.line 8
09:40I never hold it past the session.line 12
13:05Like and subscribe.left out

A link

Paste a video or a web page. Pip keeps the lines about trading and leaves the rest out.

A script you havepasted · 40 lines
Make the factor an input I can tune.
- factor = 3.0+ factor = input.float(3.0, "Factor", minval = 1, maxval = 6)

A script

Paste a Pine-compatible script and ask for a change: a time filter, an input, or a fix for a line that won’t compile.

Examples of what Pip reads. Reading a file or a link, and converting a script, cost agent credits.

Tune it as it goes, inside your limits

Write how it may be tuned and set the bounds on each input. Pip tries the settings in reach and only changes one when it clearly does better and made money. Otherwise it holds, and tells you why.

Tuning +
HOW TO TUNE IT
Keep the factor between 2 and 4. Leave the ATR length alone. Pick on the days it learns from, and only switch if that setting also made money on the days it didn’t.
INPUTS
ATR length10pinned
Factor3.02 to 4 · step 0.5
FACTORLEARNED ON · 20 DAYSNEVER SEEN · 10 DAYS
2.0best where it learned+$12.09−$7.21
2.5−$13.84+$4.90
3.0running−$9.26−$7.73
3.5−$9.68−$10.51
4.0−$16.44−$15.03
Pip holds 3.0. Factor 2.0 made the most on the days it learned from, then lost on the days it never saw.

Real replay of the script above on XAUUSDT 15-minute candles: learned on 24 October to 12 November, checked on 13 to 23 November. ATR length 10, 1 ounce a trade, before fees.

On a bot, with Pip or on its own

Publish a version and pick how a bot runs it. Either way the bot keeps its own size, stop, target and daily limits; a script only says when.

Versions +
Signal · BUY XAUUSD16:30
Fits this botbuilt for XAUUSD 15m, runs on XAUUSD 15m
Pip looks at the chartthen takes it or skips it, and says why1 credit

Signal + Pip

Pip checks the script fits the bot it’s on, judges each signal, and can tune as it goes.

Signal · BUY XAUUSD16:30
Sent to the bot as writtenat the close of the 15-minute barfree
Bot places itits own size, stop and target

Signal only

The script trades exactly what it says, with no looks and no credits.

v2Draftfactor tuned · not replayed yetReplay
v1Publishedrunning on FundingPips · Demo

Versions

Change the draft freely. A bot keeps the version it runs until you move it.

Paid in agent credits, or with your own key

Writing and changing a script in chat is free. Reading a file or a link, converting a script, and each look Pip takes at a signal cost agent credits: 1 on Sonnet, 5 on Opus. With your own model key, they cost nothing.

Plans +
PLANYOUR OWN AGENTSAGENT CREDITS A MONTH
FreeNoneNone
BasicPip only50
Standard2150
Pro4400
Ultimate101,000
Your own modelConnect your own Anthropic, OpenAI, Google, xAI, DeepSeek or Mistral key on any plan with agents. Pip then costs 0 credits, billed to your provider.
Questions

About agents

  • No. Say what you trade in plain words and Pip writes a Pine-compatible script. You can read every line, and change it by asking or by typing.

  • Yes. Paste it and it runs as written, with no AI and no credits. Ask Pip when you want it changed.

  • No. A script only says when to buy or sell. The bot keeps its own size, stop, target, leverage and daily limits.

  • We don’t promise it. The script on this page lost $16.99 over 30 days of replay. A replay shows what the rules would have done on past candles; it is not a forecast.

  • Writing and changing a script in chat is free. Reading a file or a link, converting a script, and each look Pip takes at a signal cost agent credits: 1 on Sonnet, 5 on Opus. With your own model key, 0.

  • Pip is on Basic and up. Your own agents are on Standard (2), Pro (4) and Ultimate (10). Free and trials have no agent.

From a sentence

Describe it once. Read every line.

Pip turns how you trade into a script you can open, replay and change. Your bot trades it with its own size and exits.

Your own agents on Standard and up · Pip on Basic and up
One request
“SuperTrend on gold, London open only”draft v1
  1. Pip writes it13 lines · compiled, 0 problemsfree
  2. Replay 30 days11 trades · 4 won · −$16.99free
  3. Publish v1the bot’s own size, stop and targetrunning
Running onFundingPips · Demo