PERPETUAL FUTURES24/7 crypto, index and commodity perps
Featured Firm VestVest 5% OFF all plans · from $10 · NQ 50x · no swap fee · USDC payouts on-chain 5% Off Code JMU

RULE CHANGE

Rule Radar

Custom Scripts

My Funded Perpetuals changed this help center article on November 21, 2026. Back online

Page is back online, content unchanged.


+18 / -9 lines

▸ View exact changes
What the page said before and after
Before
Custom Scripts
Source: https://docs.myfundedperpetuals.com/guides/custom-scripts
− Write your own chart indicators in a Pine-style script language, with lines, colors, markers, background shading, and adjustable inputs.
Custom Scripts let you build your own indicators on the trade chart and the
trade journal chart. You write a short script, in a language modeled on
MFP Custom ScriptIts own pane below the price chart, like RSI or MACD.
MFP Custom Script OverlayOn top of the candles, like a moving average.
− [!NOTE]
− Custom Scripts are rolling out gradually. If you don't find them in the
− Indicators dialog, they aren't available on your account yet.
Add a script
1. Open the chart and select Indicators.
The notice clears as soon as the script is valid. You can dismiss it with
the close button; it stays hidden until a different error appears or you
− reload the page.
Write a script
A script is a list of statements, one per line. You can also separate
All function lengths in one script, added up20,000 candles
The last limit keeps a script from slowing down your chart. A script over
− any limit shows an error instead of running.
Differences from Pine Script
− Many simple Pine Script indicators paste in with little or no change, and
− headers such as //@version=5 and indicator(...) are accepted. These parts
− of Pine Script aren't supported, and each shows an error explaining so:
- if, for, while, and switch blocks. Use condition ? a : b.
- var, reassigning with :=, and your own functions.
plotshape accepts text= and size=, but markers are drawn without text,
at the chart's standard size. alertcondition is accepted and has no effect.
Examples
MACD
After
Custom Scripts
Source: https://docs.myfundedperpetuals.com/guides/custom-scripts
+ Write your own chart indicators in the Custom Script language, a short Pine-style language with lines, colors, markers, background shading, and adjustable inputs.
Custom Scripts let you build your own indicators on the trade chart and the
trade journal chart. You write a short script, in a language modeled on
MFP Custom ScriptIts own pane below the price chart, like RSI or MACD.
MFP Custom Script OverlayOn top of the candles, like a moving average.
+ Scripts without a //@version line run on the Custom Script language
+ described here. On the trade chart, a script with a //@version line, such as
+ one copied from TradingView, runs as Pine Script instead, with more features
+ and higher limits: see Pine Scripts. The trade
+ journal chart runs every script in the Custom Script language.
Add a script
1. Open the chart and select Indicators.
The notice clears as soon as the script is valid. You can dismiss it with
the close button; it stays hidden until a different error appears or you
+ reload the page. When there is more than one, the notice shows the most
+ important first and counts the rest: errors and notices for the same
+ script, then for other scripts on the chart.
Write a script
A script is a list of statements, one per line. You can also separate
All function lengths in one script, added up20,000 candles
The last limit keeps a script from slowing down your chart. A script over
+ any limit shows an error instead of running. These limits apply to the Custom
+ Script language only; Pine scripts have their own, listed in
+ Pine Scripts.
Differences from Pine Script
+ The Custom Script language covers a small part of Pine Script. These parts of
+ Pine Script aren't supported in it, and each shows an error explaining so:
- if, for, while, and switch blocks. Use condition ? a : b.
- var, reassigning with :=, and your own functions.
plotshape accepts text= and size=, but markers are drawn without text,
at the chart's standard size. alertcondition is accepted and has no effect.
+ On the trade chart, add a //@version=6 line at the top of the script to run
+ it as Pine Script, which supports these features. See
+ Pine Scripts. The trade journal chart doesn't run Pine
+ Script, so a script that uses them shows an error there.
Examples
MACD

Every My Funded Perpetuals changeRule Radar: all firms

Scroll to Top