Perps Prop Firm Rule Radar
Every night Rule Radar archives the help center or docs of every perpetual futures prop firm on the price list and shows exactly what changed: which page, which line, dated, before and after. Perps firms move fast: leverage caps, daily loss limits, payout rules and supported markets change without an announcement, and this is where you catch it. Updated pages open to the exact wording that changed, every article keeps a full version history you can compare, and a plain-English line on each row says what happened. Nothing here is written by the firms. It is their own help center, read every day and kept. – Jmu (@jmutrades)
Trading CME futures instead? See the Futures Rule Radar ›
Reading the radar
Updates onlyrule edits on their own; New pages and Removed are one click away
Before and afterwhat the page said, side by side, changed words marked
Version historyevery archived copy of an article, pick any two and compare
Starredthe changes I think matter most, pinned at the top
Affiliate disclosure
All firms 7 firmsEvery help center we watchPremier 6 firmsOn my price list, checked and ranked★ Starred 7 changesThe changes I think matter mostUnlisted 1 firmsTracked for transparency, not on my price list
Wednesday, December 2, 2026
1 change
E8 Markets·PremierAll product overviews (E8 One vs E8 Zero vs E8 Pro vs E8 Signature vs E8 Classic) New pageNew page published.
Monday, November 30, 2026
2 changes
My Funded Perps·PremierDirect Accounts New pageNew page published.

Vest·PremierDecember Trading Competition New pageNew page published.
Wednesday, November 25, 2026
4 changes
My Funded Perps·PremierScripts Page New pageNew page published.

My Funded Perps·PremierPine Scripts RestoredPage is back online, content unchanged.
+50 / -24 lines
Read the live article ↗Open this changeAll My Funded Perps changesVersion historyVisit My Funded Perps ↗My Funded Perps
▸ View exact changes
The change in place, line by line
Before
Pine Scripts
Source: https://docs.myfundedperpetuals.com/guides/pine-scripts
Run TradingView-style Pine Script indicators and strategies on the trade chart, with their limits, data sources, saved libraries, and the reasons values can differ from TradingView.
The trade chart can run scripts written in TradingView's Pine Script
− language. Paste a script's full source into one of the chart's Custom Script
− indicators and the chart draws its lines, markers, fills, labels, tables, and,
− for strategies, simulated trades.
Scripts run only in your browser, on the chart's own market data. A script can
read prices and draw on the chart. It can't place orders, change settings,
read your account, or send data anywhere, so a script someone shares with you
can't act on your behalf.
A script runs as Pine Script when its source contains a version line such as
//@version=5 or //@version=6. A script without that line runs on the
simpler Custom Script language instead, with that
language's own limits.
− Add a Pine script
1. On the trade page, select Indicators in the chart header.
2. Search for MFP and choose:
- MFP Custom Script Overlay for a script that draws on the candles
(one declared with overlay = true, such as a moving average or bands).
- MFP Custom Script for a script that draws in its own pane below the
price chart (such as RSI or MACD).
3. Open the indicator's settings from its row in the chart legend.
4. On the Inputs tab, replace the text in the Script box with the
whole script, including its //@version line, and select Ok.
The chart picks the pane from the indicator you added, not from the script's
overlay setting, so choose the one that matches the script. If they don't
match, a notice suggests the other indicator. A pane script
can still draw selected outputs on the price chart with force_overlay = true.
Your script is saved with your chart layout, so it comes back when you reload
the page. You can add the indicators more than once to run several scripts,
− up to 4 Pine scripts on one chart.
Pine scripts run on the trade chart, including the Advanced Chart widget
and each chart in a multiple-chart layout. The chart in the
Trading Journal runs only the Custom Script
language, so a Pine script there either runs as a Custom Script or shows an
error.
Pine Script versions 5 and 6 are supported. Version 4 scripts usually run but
can behave differently, so update them to //@version=6 where you can.
Change a script's inputs
The Inputs tab shows the script's own inputs under their titles (an input
without a title shows its variable name), with the
script's groups and tooltips. Each input gets the matching field:
| Input kind | Field |
|---|
Any other exchange, such as stocks, futures, forex, or ECONOMICS: | No data: the script sees na and a notice names the request.
A .P perpetual suffix and a quote currency such as USDT, USDC, or USD
are ignored when matching. If the venue doesn't offer the market or can't
build the timeframe, a notice lists the data that isn't available and the
script sees no value (na) for it. If a request needs more than 20,000
candles, a notice says only the newest were loaded.
Company and economic data (request.financial, request.earnings,
request.dividends, request.splits, request.economic, and
request.quandl) isn't available. These calls return na, so anything built
on them draws nothing, and a notice names them.
Strategies
A script declared with strategy() runs as a simulated backtest on the
− chart's candles:
− - Each simulated fill is marked on the chart, up to the newest 300 fills.
− - Show Strategy Report, at the bottom left of the chart beside the
− strategy's net profit, opens the report: Net Profit, Closed Trades,
− Percent Profitable, Profit Factor, Max Drawdown, **Open
− Profit**, and a list of the newest 500 closed trades. The totals count
− every trade.
− - The report is labelled as a simulated backtest.
− - With several strategies on the chart, the report lets you switch between
− them.
[!WARNING]
A strategy never places orders on your account. Its report is a simulation
using the script's own settings, such as initial_capital and order size. It
doesn't use your account balance and doesn't affect your challenge, rules, or
statistics. Trades you want on your account must be placed yourself from the
order ticket, or with the Developer API.
Alerts and logs
Scripts can't send alerts. alert() and alertcondition() are accepted so a
− script runs, but they don't notify you. Log messages (log.info and similar)
− aren't shown.
Libraries
A script that imports a library (import Author/Name/1) needs that library
saved to your account first. Libraries published on TradingView aren't
available automatically, so you save a copy of the library's source yourself.
The easiest way is from the script that needs it:
1. Add the script that imports the library. It shows a notice naming every
library it needs that you haven't saved, such as "This script imports
Author/Name version 7, which you haven't saved."
2. Select Manage Libraries in that notice. The form names the first
missing library and version and links to the author's scripts on
TradingView. Missing Libraries lists the rest.
3. Open the library on TradingView, copy its full source code, paste it into
the form, and save. The form moves on to the next missing library,
including any library the one you pasted imports. Your script runs once
every library is saved.
− To open Manage Libraries at any time, right-click a Pine script's name in
the chart legend or one of its lines. You can also open Manage Libraries and paste a library's source without a
script waiting for it, or add the library's source to the chart as its own
script and select Save Library in its notice ("Name is a library. Save
it so your other scripts can import it."). Remove that indicator
afterwards: a library draws nothing and counts toward the 4 Pine scripts on
the chart.
Which saved version a script uses
An import names an author, a library name, and a version, and the name must
match exactly, including capitals:
import Author/Name/7 as lib
- A library saved from a script's import keeps that import's author and is
never used for another author's library of the same name. A library you
Saving the same source again doesn't add a version. A version you already saved can't be replaced: delete it in **Manage
Libraries first. Manage Libraries** lists your saved libraries and
versions, and deletes the ones you no longer need. Deleting a version a
script on the chart uses asks you to confirm first. Scripts that use a library
update after you save or delete one.
| Library limit | Value |
|---|---|
| Saved library versions per account | 100 |
| Libraries one script can import, including libraries they import | 16 |
| Library name | Letters, digits, and underscores, up to 64 characters, not starting with a digit |
| Library length | 64,000 characters |
At 100 saved versions, delete one in Manage Libraries to save another.
Your scripts and privacy
− Scripts are saved in your chart layout on your account, and libraries are
− saved to your account. Only your own charts can import your libraries.
− Scripts and libraries aren't published or shared with other traders.
Limits
| Limit | Value |
|---|
| Pine scripts on one chart | 4 |
| Script length | 64,000 characters |
| Candles a script runs on | 5,000 (fewer if the market has fewer) |
| Inputs you can change | 64 |
| Time to run a script over its candles | 20 seconds |
| Other market and timeframe requests per script | 8, up to 20,000 candles each |
| Strategy fill markers | Newest 300 |
| Strategy report trade list | Newest 500 closed trades |
A script longer than 64,000 characters shows an error naming the limit. A
script exactly 64,000 characters long was probably cut off when it was
pasted, and shows an error saying so.
A script that takes longer than 20 seconds is stopped. Edit the script or its
inputs to run it again.
Why values can differ from TradingView
Most published scripts draw the same values as on TradingView. They can differ
when:
- The market data differs. The chart uses its own venue's candles. A
TradingView chart of another exchange, or of a spot market rather than the
perpetual, has different prices and volume. Compare against the same
venue's perpetual on TradingView, on the same timeframe.
- The script depends on where history starts. Scripts run over 5,000
candles. TradingView plans that load more history start earlier, which
changes values such as cumulative totals, anchored VWAP, and long moving
averages, and changes strategy results.
- Sessions differ. Index and forex markets use their exchange trading day
(see Chart preferences and templates),
which can shift daily values against a TradingView chart of another
exchange.
- Another exchange maps to the chart's venue. See
Other markets and timeframes.
- Drawing differs. A gradient fill draws one color per candle instead of
a smooth gradient. Outputs past the drawing limits are hidden.
− If a script still differs on the same market and timeframe, contact support
− with the script, the market and venue, the timeframe, the TradingView symbol
− you compared against, and a screenshot of both charts.
Fix errors and notices
Errors stop a script from drawing; notices mean it draws, with something left
out. Both appear at the bottom of the chart and name the script they're
about. You can dismiss one with the close button; when there are several, the
chart shows the most important first and counts the rest.
| Message | What to do |
|---|---|
| Pine Script Error with Line 12, column 5: ... | The script has a mistake or uses something not supported at that line. Fix that line. |
| Pine Script Error with Bar 1234: ... | The script failed while running on that candle, for example an array index out of range. |
| This script imports Author/Name version 7, which you haven't saved. | Save the library. See Libraries. |
| ... so it runs your saved version 2. | The script runs another saved version of the library. Save the exact version to run that one. |
| Name is a library. Save it so your other scripts can import it. | Select Save Library, then remove the indicator. |
| Up to 4 Pine scripts run on one chart. | Remove a Pine script from the chart. |
This script ran longer than 20 seconds and was stopped. | Simplify the script, or reduce lookback or loop sizes in its inputs.
This chart draws up to 32 lines and 20 markers per script. Hidden: ... | The script has more outputs than the chart draws. Remove outputs you don't need from the script.
This chart can't draw some of this script's outputs. Hidden: ... | Those outputs are past the chart's drawing limits. Remove outputs you don't need from the script.
Only the newest drawings are shown. | The script made more than 500 lines, labels, boxes, or polylines of one kind.
Line fills aren't drawn on this chart. | linefill.new fills are skipped; the rest of the script draws.
Data the script requests isn't available: ... | The venue doesn't offer that market or timeframe, or the script requests more than 8.
Using Binance data for: ... | The script named a crypto exchange the platform doesn't use; it gets the same coin from the chart's venue.
Requests to exchanges that aren't available here return na: ... | The script asks for stocks, futures, forex, or economic data. That part of the script draws nothing.
Calls with no data here return na: ... | Company or economic data calls such as request.financial have no data here.
Only the newest 20,000 bars were loaded for: ... | The request reaches further back than 20,000 candles. Earlier candles see no value.
Older bars could not be loaded, ... | The script ran on the candles already on the chart. Reload the page to try again.
| Input 3 (...) isn't a valid ... value | Fix that input's value in the script's settings. |
|---|
After
Pine Scripts
Source: https://docs.myfundedperpetuals.com/guides/pine-scripts
Run TradingView-style Pine Script indicators and strategies on the trade chart, with their limits, data sources, saved libraries, and the reasons values can differ from TradingView.
The trade chart can run scripts written in TradingView's Pine Script
+ language. The chart draws a script's lines, markers, fills, labels, tables,
+ and, for strategies, simulated trades. There are two ways to run one:
+ - Save it on the Scripts page and turn on Show On /trade. It runs on
+ every trade chart, and you get the editor, versions, backtests, and
+ sharing. See Scripts Page.
+ - Paste it into the chart with one of the chart's Custom Script
+ indicators. It runs on that chart only, saved with the chart layout.
Scripts run only in your browser, on the chart's own market data. A script can
read prices and draw on the chart. It can't place orders, change settings,
read your account, or send data anywhere, so a script someone shares with you
can't act on your behalf.
A script runs as Pine Script when its source contains a version line such as
//@version=5 or //@version=6. A script without that line runs on the
simpler Custom Script language instead, with that
language's own limits.
+ Paste a Pine script into the chart
+ To run a script you saved on the Scripts page, turn it on there instead; see
+ Show scripts on your trade charts.
+ To paste one into a single chart:
1. On the trade page, select Indicators in the chart header.
2. Search for MFP and choose:
- MFP Custom Script Overlay for a script that draws on the candles
(one declared with overlay = true, such as a moving average or bands).
- MFP Custom Script for a script that draws in its own pane below the
price chart (such as RSI or MACD).
3. Open the indicator's settings from its row in the chart legend.
4. On the Inputs tab, replace the text in the Script box with the
whole script, including its //@version line, and select Ok.
The chart picks the pane from the indicator you added, not from the script's
overlay setting, so choose the one that matches the script. If they don't
match, a notice suggests the other indicator. A pane script
can still draw selected outputs on the price chart with force_overlay = true.
Your script is saved with your chart layout, so it comes back when you reload
the page. You can add the indicators more than once to run several scripts,
+ up to 4 Pine scripts on one chart. Scripts you turned on from the Scripts page
+ count toward the 4 and run first.
Pine scripts run on the trade chart, including the Advanced Chart widget
and each chart in a multiple-chart layout. The chart in the
Trading Journal runs only the Custom Script
language, so a Pine script there either runs as a Custom Script or shows an
error.
Pine Script versions 5 and 6 are supported. Version 4 scripts usually run but
can behave differently, so update them to //@version=6 where you can.
Change a script's inputs
The Inputs tab shows the script's own inputs under their titles (an input
without a title shows its variable name), with the
script's groups and tooltips. Each input gets the matching field:
| Input kind | Field |
|---|
Any other exchange, such as stocks, futures, forex, or ECONOMICS: | No data: the script sees na and a notice names the request.
A .P perpetual suffix and a quote currency such as USDT, USDC, or USD
are ignored when matching. If the venue doesn't offer the market or can't
build the timeframe, a notice lists the data that isn't available and the
script sees no value (na) for it. If a request needs more than 20,000
candles, a notice says only the newest were loaded.
Company and economic data (request.financial, request.earnings,
request.dividends, request.splits, request.economic, and
request.quandl) isn't available. These calls return na, so anything built
on them draws nothing, and a notice names them.
Strategies
A script declared with strategy() runs as a simulated backtest on the
+ chart's candles. On the trade chart, each simulated fill is marked on the
+ chart, up to the newest 300 fills.
+ The strategy's results are on the Scripts page, under the editor's preview
+ chart: Strategy Results, the Trades panel, and **Show Strategy
+ Report, which opens Net Profit, Closed Trades, Percent
+ Profitable, Profit Factor, Max Drawdown, Open Profit**, and a list
+ of the newest 500 closed trades. The totals count every trade. To test a
+ strategy on several markets or input values, see
+ Backtest a strategy.
[!WARNING]
A strategy never places orders on your account. Its report is a simulation
using the script's own settings, such as initial_capital and order size. It
doesn't use your account balance and doesn't affect your challenge, rules, or
statistics. Trades you want on your account must be placed yourself from the
order ticket, or with the Developer API.
Alerts and logs
Scripts can't send alerts. alert() and alertcondition() are accepted so a
+ script runs, but they don't notify you. Log messages (log.info,
+ log.warning, and log.error) appear in the Problems panel of the
+ Scripts page editor, the newest 200 lines; the trade chart doesn't show them.
Libraries
A script that imports a library (import Author/Name/1) needs that library
saved to your account first. Libraries published on TradingView aren't
available automatically, so you save a copy of the library's source yourself.
The easiest way is from the script that needs it:
1. Add the script that imports the library. It shows a notice naming every
library it needs that you haven't saved, such as "This script imports
Author/Name version 7, which you haven't saved."
2. Select Manage Libraries in that notice. The form names the first
missing library and version and links to the author's scripts on
TradingView. Missing Libraries lists the rest.
3. Open the library on TradingView, copy its full source code, paste it into
the form, and save. The form moves on to the next missing library,
including any library the one you pasted imports. Your script runs once
every library is saved.
+ On the Scripts page, Libraries opens Manage Libraries, and importing a
+ library's source with Import offers Save Library. Your saved libraries
+ also appear in the editor's list of scripts; open one to edit it and save it
+ with Save As New Version. Scripts that import a library keep running the
+ version they name.
+ To open Manage Libraries from the chart, right-click a Pine script's name in
the chart legend or one of its lines. You can also open Manage Libraries and paste a library's source without a
script waiting for it, or add the library's source to the chart as its own
script and select Save Library in its notice ("Name is a library. Save
it so your other scripts can import it."). Remove that indicator
afterwards: a library draws nothing and counts toward the 4 Pine scripts on
the chart.
Which saved version a script uses
An import names an author, a library name, and a version, and the name must
match exactly, including capitals:
import Author/Name/7 as lib
- A library saved from a script's import keeps that import's author and is
never used for another author's library of the same name. A library you
Saving the same source again doesn't add a version. A version you already saved can't be replaced: delete it in **Manage
Libraries first. Manage Libraries** lists your saved libraries and
versions, and deletes the ones you no longer need. Deleting a version a
script on the chart uses asks you to confirm first. Scripts that use a library
update after you save or delete one.
| Library limit | Value |
|---|---|
| Saved library versions per account | 100 |
| Libraries one script can import, including libraries they import | 16 |
| Library name | Letters, digits, and underscores, up to 64 characters, not starting with a digit |
| Library length | 64,000 characters |
At 100 saved versions, delete one in Manage Libraries to save another.
Your scripts and privacy
+ Scripts pasted into the chart are saved in your chart layout on your account.
+ Scripts saved on the Scripts page and your libraries are saved to your
+ account. Only your own scripts can import your libraries, and libraries are
+ never shared.
+ A saved script stays private unless you share it. A share link, a share code,
+ or a Public Library listing shows a frozen copy of one saved version's
+ source to other traders, credited to your public username. See
+ Share a script for exactly what a
+ share shows and how to stop it.
Limits
| Limit | Value |
|---|
| Pine scripts on one chart | 4 |
| Script length | 64,000 characters |
| Candles a script runs on | 5,000 (fewer if the market has fewer) |
| Inputs you can change | 64 |
| Time to run a script over its candles | 20 seconds |
| Other market and timeframe requests per script | 8, up to 20,000 candles each |
| Strategy fill markers | Newest 300 |
| Strategy report trade list | Newest 500 closed trades |
A script longer than 64,000 characters shows an error naming the limit. A
script exactly 64,000 characters long was probably cut off when it was
pasted, and shows an error saying so.
A script that takes longer than 20 seconds is stopped. Edit the script or its
inputs to run it again.
+ Limits for saved scripts, versions, sharing, and backtests are in
+ Scripts Page.
Why values can differ from TradingView
Most published scripts draw the same values as on TradingView. They can differ
when:
- The market data differs. The chart uses its own venue's candles. A
TradingView chart of another exchange, or of a spot market rather than the
perpetual, has different prices and volume. Compare against the same
venue's perpetual on TradingView, on the same timeframe.
- The script depends on where history starts. Scripts run over 5,000
candles. TradingView plans that load more history start earlier, which
changes values such as cumulative totals, anchored VWAP, and long moving
averages, and changes strategy results.
- Sessions differ. Index and forex markets use their exchange trading day
(see Chart preferences and templates),
which can shift daily values against a TradingView chart of another
exchange.
- Another exchange maps to the chart's venue. See
Other markets and timeframes.
- Drawing differs. A gradient fill draws one color per candle instead of
a smooth gradient. Outputs past the drawing limits are hidden.
+ If a script still differs on the same market and timeframe, use
+ Report a Problem and choose
+ Differs From TradingView, or contact support with the script, the market
+ and venue, the timeframe, the TradingView symbol you compared against, and a
+ screenshot of both charts.
Fix errors and notices
Errors stop a script from drawing; notices mean it draws, with something left
out. Both appear at the bottom of the chart and name the script they're
about. You can dismiss one with the close button; when there are several, the
chart shows the most important first and counts the rest.
| Message | What to do |
|---|---|
| Pine Script Error with Line 12, column 5: ... | The script has a mistake or uses something not supported at that line. Fix that line. |
| Pine Script Error with Bar 1234: ... | The script failed while running on that candle, for example an array index out of range. |
| This script imports Author/Name version 7, which you haven't saved. | Save the library. See Libraries. |
| ... so it runs your saved version 2. | The script runs another saved version of the library. Save the exact version to run that one. |
| Name is a library. Save it so your other scripts can import it. | Select Save Library, then remove the indicator. |
| Up to 4 Pine scripts run on one chart. | Remove a Pine script from the chart. |
+ Up to 4 Pine scripts run on one chart, and scripts from your Scripts page run first. | Turn a script off on the Scripts page, or remove a script you pasted into the chart.
+ This script has more outputs than the chart made room for when it loaded. | Reload the page or switch markets to draw them all.
+ Edit this script on the Scripts page. Chart changes to its code aren't kept. | The script was turned on from the Scripts page. Change its code in the editor there.
This script ran longer than 20 seconds and was stopped. | Simplify the script, or reduce lookback or loop sizes in its inputs.
This chart draws up to 32 lines and 20 markers per script. Hidden: ... | The script has more outputs than the chart draws. Remove outputs you don't need from the script.
This chart can't draw some of this script's outputs. Hidden: ... | Those outputs are past the chart's drawing limits. Remove outputs you don't need from the script.
Only the newest drawings are shown. | The script made more than 500 lines, labels, boxes, or polylines of one kind.
Line fills aren't drawn on this chart. | linefill.new fills are skipped; the rest of the script draws.
Data the script requests isn't available: ... | The venue doesn't offer that market or timeframe, or the script requests more than 8.
Using Binance data for: ... | The script named a crypto exchange the platform doesn't use; it gets the same coin from the chart's venue.
Requests to exchanges that aren't available here return na: ... | The script asks for stocks, futures, forex, or economic data. That part of the script draws nothing.
Calls with no data here return na: ... | Company or economic data calls such as request.financial have no data here.
Only the newest 20,000 bars were loaded for: ... | The request reaches further back than 20,000 candles. Earlier candles see no value.
Older bars could not be loaded, ... | The script ran on the candles already on the chart. Reload the page to try again.
| Input 3 (...) isn't a valid ... value | Fix that input's value in the script's settings. |
|---|
Pine Scripts
Source: https://docs.myfundedperpetuals.com/guides/pine-scripts
Run TradingView-style Pine Script indicators and strategies on the trade chart, with their limits, data sources, saved libraries, and the reasons values can differ from TradingView.
The trade chart can run scripts written in TradingView's Pine Script
− language. Paste a script's full source into one of the chart's Custom Script
− indicators and the chart draws its lines, markers, fills, labels, tables, and,
− for strategies, simulated trades.
+ language. The chart draws a script's lines, markers, fills, labels, tables,
+ and, for strategies, simulated trades. There are two ways to run one:
+ - Save it on the Scripts page and turn on Show On /trade. It runs on
+ every trade chart, and you get the editor, versions, backtests, and
+ sharing. See Scripts Page.
+ - Paste it into the chart with one of the chart's Custom Script
+ indicators. It runs on that chart only, saved with the chart layout.
Scripts run only in your browser, on the chart's own market data. A script can
read prices and draw on the chart. It can't place orders, change settings,
read your account, or send data anywhere, so a script someone shares with you
can't act on your behalf.
A script runs as Pine Script when its source contains a version line such as
//@version=5 or //@version=6. A script without that line runs on the
simpler Custom Script language instead, with that
language's own limits.
− Add a Pine script
+ Paste a Pine script into the chart
+ To run a script you saved on the Scripts page, turn it on there instead; see
+ Show scripts on your trade charts.
+ To paste one into a single chart:
1. On the trade page, select Indicators in the chart header.
2. Search for MFP and choose:
- MFP Custom Script Overlay for a script that draws on the candles
(one declared with overlay = true, such as a moving average or bands).
- MFP Custom Script for a script that draws in its own pane below the
price chart (such as RSI or MACD).
3. Open the indicator's settings from its row in the chart legend.
4. On the Inputs tab, replace the text in the Script box with the
whole script, including its //@version line, and select Ok.
The chart picks the pane from the indicator you added, not from the script's
overlay setting, so choose the one that matches the script. If they don't
match, a notice suggests the other indicator. A pane script
can still draw selected outputs on the price chart with force_overlay = true.
Your script is saved with your chart layout, so it comes back when you reload
the page. You can add the indicators more than once to run several scripts,
− up to 4 Pine scripts on one chart.
+ up to 4 Pine scripts on one chart. Scripts you turned on from the Scripts page
+ count toward the 4 and run first.
Pine scripts run on the trade chart, including the Advanced Chart widget
and each chart in a multiple-chart layout. The chart in the
Trading Journal runs only the Custom Script
language, so a Pine script there either runs as a Custom Script or shows an
error.
Pine Script versions 5 and 6 are supported. Version 4 scripts usually run but
can behave differently, so update them to //@version=6 where you can.
Change a script's inputs
The Inputs tab shows the script's own inputs under their titles (an input
without a title shows its variable name), with the
script's groups and tooltips. Each input gets the matching field:
| Input kind | Field |
|---|
Any other exchange, such as stocks, futures, forex, or ECONOMICS: | No data: the script sees na and a notice names the request.
A .P perpetual suffix and a quote currency such as USDT, USDC, or USD
are ignored when matching. If the venue doesn't offer the market or can't
build the timeframe, a notice lists the data that isn't available and the
script sees no value (na) for it. If a request needs more than 20,000
candles, a notice says only the newest were loaded.
Company and economic data (request.financial, request.earnings,
request.dividends, request.splits, request.economic, and
request.quandl) isn't available. These calls return na, so anything built
on them draws nothing, and a notice names them.
Strategies
A script declared with strategy() runs as a simulated backtest on the
− chart's candles:
− - Each simulated fill is marked on the chart, up to the newest 300 fills.
− - Show Strategy Report, at the bottom left of the chart beside the
− strategy's net profit, opens the report: Net Profit, Closed Trades,
− Percent Profitable, Profit Factor, Max Drawdown, **Open
− Profit**, and a list of the newest 500 closed trades. The totals count
− every trade.
− - The report is labelled as a simulated backtest.
− - With several strategies on the chart, the report lets you switch between
− them.
+ chart's candles. On the trade chart, each simulated fill is marked on the
+ chart, up to the newest 300 fills.
+ The strategy's results are on the Scripts page, under the editor's preview
+ chart: Strategy Results, the Trades panel, and **Show Strategy
+ Report, which opens Net Profit, Closed Trades, Percent
+ Profitable, Profit Factor, Max Drawdown, Open Profit**, and a list
+ of the newest 500 closed trades. The totals count every trade. To test a
+ strategy on several markets or input values, see
+ Backtest a strategy.
[!WARNING]
A strategy never places orders on your account. Its report is a simulation
using the script's own settings, such as initial_capital and order size. It
doesn't use your account balance and doesn't affect your challenge, rules, or
statistics. Trades you want on your account must be placed yourself from the
order ticket, or with the Developer API.
Alerts and logs
Scripts can't send alerts. alert() and alertcondition() are accepted so a
− script runs, but they don't notify you. Log messages (log.info and similar)
− aren't shown.
+ script runs, but they don't notify you. Log messages (log.info,
+ log.warning, and log.error) appear in the Problems panel of the
+ Scripts page editor, the newest 200 lines; the trade chart doesn't show them.
Libraries
A script that imports a library (import Author/Name/1) needs that library
saved to your account first. Libraries published on TradingView aren't
available automatically, so you save a copy of the library's source yourself.
The easiest way is from the script that needs it:
1. Add the script that imports the library. It shows a notice naming every
library it needs that you haven't saved, such as "This script imports
Author/Name version 7, which you haven't saved."
2. Select Manage Libraries in that notice. The form names the first
missing library and version and links to the author's scripts on
TradingView. Missing Libraries lists the rest.
3. Open the library on TradingView, copy its full source code, paste it into
the form, and save. The form moves on to the next missing library,
including any library the one you pasted imports. Your script runs once
every library is saved.
− To open Manage Libraries at any time, right-click a Pine script's name in
+ On the Scripts page, Libraries opens Manage Libraries, and importing a
+ library's source with Import offers Save Library. Your saved libraries
+ also appear in the editor's list of scripts; open one to edit it and save it
+ with Save As New Version. Scripts that import a library keep running the
+ version they name.
+ To open Manage Libraries from the chart, right-click a Pine script's name in
the chart legend or one of its lines. You can also open Manage Libraries and paste a library's source without a
script waiting for it, or add the library's source to the chart as its own
script and select Save Library in its notice ("Name is a library. Save
it so your other scripts can import it."). Remove that indicator
afterwards: a library draws nothing and counts toward the 4 Pine scripts on
the chart.
Which saved version a script uses
An import names an author, a library name, and a version, and the name must
match exactly, including capitals:
import Author/Name/7 as lib
- A library saved from a script's import keeps that import's author and is
never used for another author's library of the same name. A library you
Saving the same source again doesn't add a version. A version you already saved can't be replaced: delete it in **Manage
Libraries first. Manage Libraries** lists your saved libraries and
versions, and deletes the ones you no longer need. Deleting a version a
script on the chart uses asks you to confirm first. Scripts that use a library
update after you save or delete one.
| Library limit | Value |
|---|---|
| Saved library versions per account | 100 |
| Libraries one script can import, including libraries they import | 16 |
| Library name | Letters, digits, and underscores, up to 64 characters, not starting with a digit |
| Library length | 64,000 characters |
At 100 saved versions, delete one in Manage Libraries to save another.
Your scripts and privacy
− Scripts are saved in your chart layout on your account, and libraries are
− saved to your account. Only your own charts can import your libraries.
− Scripts and libraries aren't published or shared with other traders.
+ Scripts pasted into the chart are saved in your chart layout on your account.
+ Scripts saved on the Scripts page and your libraries are saved to your
+ account. Only your own scripts can import your libraries, and libraries are
+ never shared.
+ A saved script stays private unless you share it. A share link, a share code,
+ or a Public Library listing shows a frozen copy of one saved version's
+ source to other traders, credited to your public username. See
+ Share a script for exactly what a
+ share shows and how to stop it.
Limits
| Limit | Value |
|---|
| Pine scripts on one chart | 4 |
| Script length | 64,000 characters |
| Candles a script runs on | 5,000 (fewer if the market has fewer) |
| Inputs you can change | 64 |
| Time to run a script over its candles | 20 seconds |
| Other market and timeframe requests per script | 8, up to 20,000 candles each |
| Strategy fill markers | Newest 300 |
| Strategy report trade list | Newest 500 closed trades |
A script longer than 64,000 characters shows an error naming the limit. A
script exactly 64,000 characters long was probably cut off when it was
pasted, and shows an error saying so.
A script that takes longer than 20 seconds is stopped. Edit the script or its
inputs to run it again.
+ Limits for saved scripts, versions, sharing, and backtests are in
+ Scripts Page.
Why values can differ from TradingView
Most published scripts draw the same values as on TradingView. They can differ
when:
- The market data differs. The chart uses its own venue's candles. A
TradingView chart of another exchange, or of a spot market rather than the
perpetual, has different prices and volume. Compare against the same
venue's perpetual on TradingView, on the same timeframe.
- The script depends on where history starts. Scripts run over 5,000
candles. TradingView plans that load more history start earlier, which
changes values such as cumulative totals, anchored VWAP, and long moving
averages, and changes strategy results.
- Sessions differ. Index and forex markets use their exchange trading day
(see Chart preferences and templates),
which can shift daily values against a TradingView chart of another
exchange.
- Another exchange maps to the chart's venue. See
Other markets and timeframes.
- Drawing differs. A gradient fill draws one color per candle instead of
a smooth gradient. Outputs past the drawing limits are hidden.
− If a script still differs on the same market and timeframe, contact support
− with the script, the market and venue, the timeframe, the TradingView symbol
− you compared against, and a screenshot of both charts.
+ If a script still differs on the same market and timeframe, use
+ Report a Problem and choose
+ Differs From TradingView, or contact support with the script, the market
+ and venue, the timeframe, the TradingView symbol you compared against, and a
+ screenshot of both charts.
Fix errors and notices
Errors stop a script from drawing; notices mean it draws, with something left
out. Both appear at the bottom of the chart and name the script they're
about. You can dismiss one with the close button; when there are several, the
chart shows the most important first and counts the rest.
| Message | What to do |
|---|---|
| Pine Script Error with Line 12, column 5: ... | The script has a mistake or uses something not supported at that line. Fix that line. |
| Pine Script Error with Bar 1234: ... | The script failed while running on that candle, for example an array index out of range. |
| This script imports Author/Name version 7, which you haven't saved. | Save the library. See Libraries. |
| ... so it runs your saved version 2. | The script runs another saved version of the library. Save the exact version to run that one. |
| Name is a library. Save it so your other scripts can import it. | Select Save Library, then remove the indicator. |
| Up to 4 Pine scripts run on one chart. | Remove a Pine script from the chart. |
+
| Message | What to do |
|---|---|
| Up to 4 Pine scripts run on one chart, and scripts from your Scripts page run first. | Turn a script off on the Scripts page, or remove a script you pasted into the chart. |
| This script has more outputs than the chart made room for when it loaded. | Reload the page or switch markets to draw them all. |
| Edit this script on the Scripts page. Chart changes to its code aren't kept. | The script was turned on from the Scripts page. Change its code in the editor there. |
| This script ran longer than 20 seconds and was stopped. | Simplify the script, or reduce lookback or loop sizes in its inputs. |
| This chart draws up to 32 lines and 20 markers per script. Hidden: ... | The script has more outputs than the chart draws. Remove outputs you don't need from the script. |
| This chart can't draw some of this script's outputs. Hidden: ... | Those outputs are past the chart's drawing limits. Remove outputs you don't need from the script. |
| Only the newest drawings are shown. | The script made more than 500 lines, labels, boxes, or polylines of one kind. |
| Line fills aren't drawn on this chart. | linefill.new fills are skipped; the rest of the script draws. |
| Data the script requests isn't available: ... | The venue doesn't offer that market or timeframe, or the script requests more than 8. |
| Using Binance data for: ... | The script named a crypto exchange the platform doesn't use; it gets the same coin from the chart's venue. |
| Requests to exchanges that aren't available here return na: ... | The script asks for stocks, futures, forex, or economic data. That part of the script draws nothing. |
| Calls with no data here return na: ... | Company or economic data calls such as request.financial have no data here. |
| Only the newest 20,000 bars were loaded for: ... | The request reaches further back than 20,000 candles. Earlier candles see no value. |
| Older bars could not be loaded, ... | The script ran on the candles already on the chart. Reload the page to try again. |
| Input 3 (...) isn't a valid ... value | Fix that input's value in the script's settings. |

My Funded Perps·PremierCustom Scripts RestoredPage is back online, content unchanged.
+4 / -1 lines
Read the live article ↗Open this changeAll My Funded Perps changesVersion historyVisit My Funded Perps ↗My Funded Perps
▸ View exact changes
What the page said before and after
Before
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
TradingView's Pine Script, and the chart draws the result on every candle.
There are two Custom Script indicators:
| Indicator | Where it draws |
|---|---|
| MFP Custom Script | Its own pane below the price chart, like RSI or MACD. |
| MFP Custom Script Overlay | On 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.
2. Search for MFP and choose MFP Custom Script or **MFP Custom Script
Overlay**.
3. Open the indicator's settings from its row in the chart legend.
4. On the Inputs tab, replace the text in the Script box with your
script and select Ok.
Your script is saved with your chart layout, so it comes back when you
reload the page. You can add each indicator more than once to run several
scripts side by side.
Scripts run only in your browser, on the candles already loaded on your
chart. A script can read prices and draw on the chart. It can't place
After
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
TradingView's Pine Script, and the chart draws the result on every candle.
There are two Custom Script indicators:
| Indicator | Where it draws |
|---|---|
| MFP Custom Script | Its own pane below the price chart, like RSI or MACD. |
| MFP Custom Script Overlay | On 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. To save,
+ version, backtest, or share a script, write it as Pine Script on the
+ Scripts Page; Custom Script language scripts live only
+ in your chart layout.
Add a script
1. Open the chart and select Indicators.
2. Search for MFP and choose MFP Custom Script or **MFP Custom Script
Overlay**.
3. Open the indicator's settings from its row in the chart legend.
4. On the Inputs tab, replace the text in the Script box with your
script and select Ok.
Your script is saved with your chart layout, so it comes back when you
reload the page. You can add each indicator more than once to run several
scripts side by side.
Scripts run only in your browser, on the candles already loaded on your
chart. A script can read prices and draw on the chart. It can't place
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
TradingView's Pine Script, and the chart draws the result on every candle.
There are two Custom Script indicators:
| Indicator | Where it draws |
|---|---|
| MFP Custom Script | Its own pane below the price chart, like RSI or MACD. |
| MFP Custom Script Overlay | On 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.
+ journal chart runs every script in the Custom Script language. To save,
+ version, backtest, or share a script, write it as Pine Script on the
+ Scripts Page; Custom Script language scripts live only
+ in your chart layout.
Add a script
1. Open the chart and select Indicators.
2. Search for MFP and choose MFP Custom Script or **MFP Custom Script
Overlay**.
3. Open the indicator's settings from its row in the chart legend.
4. On the Inputs tab, replace the text in the Script box with your
script and select Ok.
Your script is saved with your chart layout, so it comes back when you
reload the page. You can add each indicator more than once to run several
scripts side by side.
Scripts run only in your browser, on the candles already loaded on your
chart. A script can read prices and draw on the chart. It can't place
E8 Markets·PremierNovember Holiday Trading Schedule New pageNew page published.
Monday, November 23, 2026
1 change
Vest·PremierPage Not Found New pageNew page published.
Saturday, November 21, 2026
2 changes
My Funded Perps·PremierPine Scripts New pageNew page published.

My Funded Perps·PremierCustom Scripts RestoredPage is back online, content unchanged.
+18 / -9 lines
Read the live article ↗Open this changeAll My Funded Perps changesVersion historyVisit My Funded Perps ↗My Funded Perps
▸ 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
TradingView's Pine Script, and the chart draws the result on every candle.
There are two Custom Script indicators:
| Indicator | Where it draws |
|---|
| MFP Custom Script | Its own pane below the price chart, like RSI or MACD. |
| MFP Custom Script Overlay | On 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.
2. Search for MFP and choose MFP Custom Script or **MFP Custom Script
Overlay**.
3. Open the indicator's settings from its row in the chart legend.
4. On the Inputs tab, replace the text in the Script box with your
script and select Ok.
Your script is saved with your chart layout, so it comes back when you
reload the page. You can add each indicator more than once to run several
scripts side by side.
Scripts run only in your browser, on the candles already loaded on your
chart. A script can read prices and draw on the chart. It can't place
orders, change settings, or read anything else about your account, so a
script someone shares with you can't act on your behalf.
Fix errors
If a script has a mistake, the indicator draws nothing and a notice appears
at the bottom of the chart. The notice gives the line and column of the
problem and, where it can, a suggestion:
Line 2, column 6: Unknown name "clsoe". Did you mean "close"?
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
statements with a semicolon. Text after // is a comment.
// Two moving averages
fast = ema(close, 9)
slow = ema(close, 21)
plot(fast, "Fast", color=color.blue)
plot(slow, "Slow", color=color.orange)
- Names. fast = ema(close, 9) gives a value a name you can reuse on
later lines. Each name can be set once, and a name can't reuse a built-in
value such as close or na.
- One-line scripts. A script that is a single expression, such as
condition was true; 1 is the one before that, up to 9.
- min, max, and avg take 2 to 10 values.
Limits
| Limit | Value |
|---|---|
| Script length | 4,000 characters |
| Lines (plot and hline) | 8 |
| Markers (plotshape) | 4 |
| Inputs | 8 |
| History reference (close[n]) | 5,000 candles |
| Length of any one function | 5,000 candles |
| All function lengths in one script, added up | 20,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.
- Lists, tuples such as [a, b] = ..., and text other than titles.
- Data from other markets or timeframes (request.security).
- Strategies, alerts, fill, plotchar, plotarrow, and drawing objects
such as labels, lines, boxes, and tables.
- offset= on plots, and input.string, input.color, and
input.timeframe.
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
fastLen = input.int(12, "Fast")
slowLen = input.int(26, "Slow")
macd = ema(close, fastLen) - ema(close, slowLen)
signal = ema(macd, 9)
hist = macd - signal
plot(hist, "Histogram", color = hist >= 0 ? color.green : color.red, style=plot.style_columns)
plot(macd, "MACD", color=color.blue)
plot(signal, "Signal", color=color.orange)
hline(0)
Use MFP Custom Script so it draws in its own pane.
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
TradingView's Pine Script, and the chart draws the result on every candle.
There are two Custom Script indicators:
| Indicator | Where it draws |
|---|
| MFP Custom Script | Its own pane below the price chart, like RSI or MACD. |
| MFP Custom Script Overlay | On 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.
2. Search for MFP and choose MFP Custom Script or **MFP Custom Script
Overlay**.
3. Open the indicator's settings from its row in the chart legend.
4. On the Inputs tab, replace the text in the Script box with your
script and select Ok.
Your script is saved with your chart layout, so it comes back when you
reload the page. You can add each indicator more than once to run several
scripts side by side.
Scripts run only in your browser, on the candles already loaded on your
chart. A script can read prices and draw on the chart. It can't place
orders, change settings, or read anything else about your account, so a
script someone shares with you can't act on your behalf.
Fix errors
If a script has a mistake, the indicator draws nothing and a notice appears
at the bottom of the chart. The notice gives the line and column of the
problem and, where it can, a suggestion:
Line 2, column 6: Unknown name "clsoe". Did you mean "close"?
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
statements with a semicolon. Text after // is a comment.
// Two moving averages
fast = ema(close, 9)
slow = ema(close, 21)
plot(fast, "Fast", color=color.blue)
plot(slow, "Slow", color=color.orange)
- Names. fast = ema(close, 9) gives a value a name you can reuse on
later lines. Each name can be set once, and a name can't reuse a built-in
value such as close or na.
- One-line scripts. A script that is a single expression, such as
condition was true; 1 is the one before that, up to 9.
- min, max, and avg take 2 to 10 values.
Limits
| Limit | Value |
|---|---|
| Script length | 4,000 characters |
| Lines (plot and hline) | 8 |
| Markers (plotshape) | 4 |
| Inputs | 8 |
| History reference (close[n]) | 5,000 candles |
| Length of any one function | 5,000 candles |
| All function lengths in one script, added up | 20,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.
- Lists, tuples such as [a, b] = ..., and text other than titles.
- Data from other markets or timeframes (request.security).
- Strategies, alerts, fill, plotchar, plotarrow, and drawing objects
such as labels, lines, boxes, and tables.
- offset= on plots, and input.string, input.color, and
input.timeframe.
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
fastLen = input.int(12, "Fast")
slowLen = input.int(26, "Slow")
macd = ema(close, fastLen) - ema(close, slowLen)
signal = ema(macd, 9)
hist = macd - signal
plot(hist, "Histogram", color = hist >= 0 ? color.green : color.red, style=plot.style_columns)
plot(macd, "MACD", color=color.blue)
plot(signal, "Signal", color=color.orange)
hline(0)
Use MFP Custom Script so it draws in its own pane.
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.
+ 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
TradingView's Pine Script, and the chart draws the result on every candle.
There are two Custom Script indicators:
| Indicator | Where it draws |
|---|
| MFP Custom Script | Its own pane below the price chart, like RSI or MACD. |
| MFP Custom Script Overlay | On 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.
+ 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.
2. Search for MFP and choose MFP Custom Script or **MFP Custom Script
Overlay**.
3. Open the indicator's settings from its row in the chart legend.
4. On the Inputs tab, replace the text in the Script box with your
script and select Ok.
Your script is saved with your chart layout, so it comes back when you
reload the page. You can add each indicator more than once to run several
scripts side by side.
Scripts run only in your browser, on the candles already loaded on your
chart. A script can read prices and draw on the chart. It can't place
orders, change settings, or read anything else about your account, so a
script someone shares with you can't act on your behalf.
Fix errors
If a script has a mistake, the indicator draws nothing and a notice appears
at the bottom of the chart. The notice gives the line and column of the
problem and, where it can, a suggestion:
Line 2, column 6: Unknown name "clsoe". Did you mean "close"?
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.
+ 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
statements with a semicolon. Text after // is a comment.
// Two moving averages
fast = ema(close, 9)
slow = ema(close, 21)
plot(fast, "Fast", color=color.blue)
plot(slow, "Slow", color=color.orange)
- Names. fast = ema(close, 9) gives a value a name you can reuse on
later lines. Each name can be set once, and a name can't reuse a built-in
value such as close or na.
- One-line scripts. A script that is a single expression, such as
condition was true; 1 is the one before that, up to 9.
- min, max, and avg take 2 to 10 values.
Limits
| Limit | Value |
|---|---|
| Script length | 4,000 characters |
| Lines (plot and hline) | 8 |
| Markers (plotshape) | 4 |
| Inputs | 8 |
| History reference (close[n]) | 5,000 candles |
| Length of any one function | 5,000 candles |
| All function lengths in one script, added up | 20,000 candles |
The last limit keeps a script from slowing down your chart. A script over
− any limit shows an error instead of running.
+ 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
− 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:
+ 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.
- Lists, tuples such as [a, b] = ..., and text other than titles.
- Data from other markets or timeframes (request.security).
- Strategies, alerts, fill, plotchar, plotarrow, and drawing objects
such as labels, lines, boxes, and tables.
- offset= on plots, and input.string, input.color, and
input.timeframe.
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
fastLen = input.int(12, "Fast")
slowLen = input.int(26, "Slow")
macd = ema(close, fastLen) - ema(close, slowLen)
signal = ema(macd, 9)
hist = macd - signal
plot(hist, "Histogram", color = hist >= 0 ? color.green : color.red, style=plot.style_columns)
plot(macd, "MACD", color=color.blue)
plot(signal, "Signal", color=color.orange)
hline(0)
Use MFP Custom Script so it draws in its own pane.
Friday, November 20, 2026
1 change
My Funded Perps·PremierNAS100 Composite Test Cup New pageNew page published.
Thursday, November 19, 2026
25 changes
Breakout Prop·PremierWhat are the trading fees for a Spark001 funded account? New pageNew page published.

Breakout Prop·PremierHow is the trailing loss limit (maximum drawdown) calculated for a Spark001 funded account? New pageNew page published.

Breakout Prop·PremierWhat rules apply to my Spark001 funded account? New pageNew page published.

Breakout Prop·PremierDo Spark002 funded accounts count toward the $200,000 maximum allocation? New pageNew page published.

Breakout Prop·PremierDo payouts lower my high-water mark and floor on Spark002? New pageNew page published.

Breakout Prop·PremierWhen can I request a payout on Spark002? New pageNew page published.

Breakout Prop·PremierWhat rules apply to my Spark002 funded account? New pageNew page published.

Breakout Prop·PremierWhat is Spark001? New pageNew page published.

Breakout Prop·PremierCan I trade news events and hold Spark001 positions overnight? New pageNew page published.

Breakout Prop·PremierWhat are the trading fees for Spark001? New pageNew page published.

Breakout Prop·PremierDoes Spark001 have a daily loss limit, minimum trading days, or a consistency rule? New pageNew page published.

Breakout Prop·PremierWhat is the trailing loss limit (maximum drawdown) in Spark001? New pageNew page published.

Breakout Prop·PremierWhat changes after I pass Spark001? New pageNew page published.

Breakout Prop·PremierDo the Spark002 rules apply to my Spark001 account? New pageNew page published.

Breakout Prop·PremierWhy was my Spark002 account breached at 00:30 UTC when I was in profit? New pageNew page published.

Breakout Prop·PremierCan I buy Spark002 after this release sells out? New pageNew page published.

Breakout Prop·PremierWhat changes after I pass a Spark002? New pageNew page published.

Breakout Prop·PremierCan I trade news events and hold Spark002 positions overnight? New pageNew page published.

Breakout Prop·PremierWhat leverage is available on Spark002? New pageNew page published.

Breakout Prop·PremierWhat are the trading fees on Spark002? New pageNew page published.

Breakout Prop·PremierDoes Spark002 have a daily loss limit, minimum trading days, or a consistency rule? New pageNew page published.

Breakout Prop·PremierHow does the trailing max drawdown work on Spark002? New pageNew page published.

Breakout Prop·PremierHow many Spark002 evaluations are available at launch? New pageNew page published.

Breakout Prop·PremierWhat is Spark002? New pageNew page published.

Breakout Prop·PremierWhat is the difference between Spark001 and Spark002? New pageNew page published.
Tuesday, November 17, 2026
1 change
My Funded Perps·PremierLoss-Limit Extensions New pageNew page published.
Monday, November 16, 2026
1 change
E8 Markets·PremierE8 Classic (v.2) New pageNew page published.
Wednesday, November 11, 2026
2 changes
My Funded Perps·PremierAtomically update position TP/SL orders New pageNew page published.

My Funded Perps·PremierAffiliate API New pageNew page published.
Tuesday, November 3, 2026
1 change
My Funded Perps·PremierArchived Accounts New pageNew page published.
Monday, November 2, 2026
1 change
My Funded Perps·PremierMyFundedPerps Weekly Blitz New pageNew page published.
Thursday, October 29, 2026
1 change
Vest·PremierTrading Competition New pageNew page published.
Friday, October 23, 2026
2 changes
E8 Markets·PremierWhich trading strategies can I use? (Martingale, RRR, position sizing) New pageNew page published.

Vest·PremierTemporary Leverage Limits (TLL) New pageNew page published.
Wednesday, October 21, 2026
1 change
E8 Markets·Premier35% Best Day Rule RestoredPage is back online, content unchanged.
+1 / -1 lines
Read the live article ↗Open this changeAll E8 Markets changesVersion historyVisit E8 Markets ↗E8 Markets
▸ View exact changes
What the page said before and after
Before
Note: The best day is lower than 35% of the total profit
B) Payout Request is not possible
| Day 1 | +$1,100 |
|---|---|
| Day 2 | +$1,500 (Best Day) |
| Day 3 | +$900 |
| Day 4 | -$400 |
| Total profit | $3,100 |
| 35% of Total profit ($3,100 × 0.35) | $1,085 |
| Best Day | $1,500 Ineligible (Above $1,085) |
Note: In Scenario B, the trader simply needs to keep trading (without increasing the current best day) until their Total Profit reaches $4,286 ($1,500 ÷ 0.35).
How to use the Dashboard to your advantage
- Remember that you can always rely on your Dashboard data
Section: How to use the Dashboard to your advantage
− - Go to your dashboard, check your payout overview, and hover over the (i) icon in the best day rule section, and you will be able to check:
1. What is the total amount of profits your account must reach.
2. How much is remaining to fulfill the best day rule.
Intentionally attempting to bypass the Best Day Rule by splitting a large winning position through hedging or partial closures is not allowed and may result in all profit from that position being consolidated into a single day.
Example: Partially closing a large winning position across multiple days. It may be viewed as an attempt to bypass the rule, especially if the profit is generated during a single-day market movement.
Example: Opening several positions on a given instrument on one day and closing them across multiple days. Such positions may be considered a single trade idea. It may be viewed as an attempt to bypass the rule, especially if the trade idea capitalizes on a single-day market movement.
Example: Immediate opening, closing and re-opening a position held across multiple days. It may be viewed as an attempt to bypass the rule because such positions are considered a single trade idea with identical market exposure.
Best day after payout
When you request a payout, your "Current Best Day" and "Current Performance" are reset. To qualify for your next payout, you must meet the consistency requirements based strictly on new profits.
Key Point:
Any profit left in the account from a previous cycle is not included in the new consistency calculation.
Example:
- Profit left in account from previous cycle: $1,000
After
Note: The best day is lower than 35% of the total profit
B) Payout Request is not possible
| Day 1 | +$1,100 |
|---|---|
| Day 2 | +$1,500 (Best Day) |
| Day 3 | +$900 |
| Day 4 | -$400 |
| Total profit | $3,100 |
| 35% of Total profit ($3,100 × 0.35) | $1,085 |
| Best Day | $1,500 Ineligible (Above $1,085) |
Note: In Scenario B, the trader simply needs to keep trading (without increasing the current best day) until their Total Profit reaches $4,286 ($1,500 ÷ 0.35).
How to use the Dashboard to your advantage
- Remember that you can always rely on your Dashboard data
Section: How to use the Dashboard to your advantage
+ - Go to your Dashboard, check your payout overview, and hover over the (i) icon in the best day rule section, and you will be able to check:
1. What is the total amount of profits your account must reach.
2. How much is remaining to fulfill the best day rule.
Intentionally attempting to bypass the Best Day Rule by splitting a large winning position through hedging or partial closures is not allowed and may result in all profit from that position being consolidated into a single day.
Example: Partially closing a large winning position across multiple days. It may be viewed as an attempt to bypass the rule, especially if the profit is generated during a single-day market movement.
Example: Opening several positions on a given instrument on one day and closing them across multiple days. Such positions may be considered a single trade idea. It may be viewed as an attempt to bypass the rule, especially if the trade idea capitalizes on a single-day market movement.
Example: Immediate opening, closing and re-opening a position held across multiple days. It may be viewed as an attempt to bypass the rule because such positions are considered a single trade idea with identical market exposure.
Best day after payout
When you request a payout, your "Current Best Day" and "Current Performance" are reset. To qualify for your next payout, you must meet the consistency requirements based strictly on new profits.
Key Point:
Any profit left in the account from a previous cycle is not included in the new consistency calculation.
Example:
- Profit left in account from previous cycle: $1,000
Note: The best day is lower than 35% of the total profit
B) Payout Request is not possible
| Day 1 | +$1,100 |
|---|---|
| Day 2 | +$1,500 (Best Day) |
| Day 3 | +$900 |
| Day 4 | -$400 |
| Total profit | $3,100 |
| 35% of Total profit ($3,100 × 0.35) | $1,085 |
| Best Day | $1,500 Ineligible (Above $1,085) |
Note: In Scenario B, the trader simply needs to keep trading (without increasing the current best day) until their Total Profit reaches $4,286 ($1,500 ÷ 0.35).
How to use the Dashboard to your advantage
- Remember that you can always rely on your Dashboard data
Section: How to use the Dashboard to your advantage
− - Go to your dashboard, check your payout overview, and hover over the (i) icon in the best day rule section, and you will be able to check:
+ - Go to your Dashboard, check your payout overview, and hover over the (i) icon in the best day rule section, and you will be able to check:
1. What is the total amount of profits your account must reach.
2. How much is remaining to fulfill the best day rule.
Intentionally attempting to bypass the Best Day Rule by splitting a large winning position through hedging or partial closures is not allowed and may result in all profit from that position being consolidated into a single day.
Example: Partially closing a large winning position across multiple days. It may be viewed as an attempt to bypass the rule, especially if the profit is generated during a single-day market movement.
Example: Opening several positions on a given instrument on one day and closing them across multiple days. Such positions may be considered a single trade idea. It may be viewed as an attempt to bypass the rule, especially if the trade idea capitalizes on a single-day market movement.
Example: Immediate opening, closing and re-opening a position held across multiple days. It may be viewed as an attempt to bypass the rule because such positions are considered a single trade idea with identical market exposure.
Best day after payout
When you request a payout, your "Current Best Day" and "Current Performance" are reset. To qualify for your next payout, you must meet the consistency requirements based strictly on new profits.
Key Point:
Any profit left in the account from a previous cycle is not included in the new consistency calculation.
Example:
- Profit left in account from previous cycle: $1,000