Help
How to use each part of Triton, as questions and answers. This is a preview build: prices are simulated and accounts are demo accounts, so nothing here reaches a broker.
Getting started
What Triton is today, and what it is not yet.
What can I do on Triton right now?
Chart futures and crypto markets, practice trading on demo accounts, copy trades between those accounts, keep a trade journal with full statistics, upload trades from your broker, replay markets and past trades, and backtest strategies built from rules or written in C#.
Everything runs in the browser. There is nothing to install.
Can I place real trades?
Not yet. Every account on the platform today is a demo account. Orders fill inside your browser and never reach a broker or an exchange.
Connections to real brokers are being arranged. Until one is live, use the journal's upload to bring in the trades you make elsewhere.
Are the prices real?
No. The toolbar says Simulated data, and that is what it is: generated prices that behave like a market but are not quotes from any exchange. They are there so every tool can be used and learned.
Real price history can be loaded from a file for backtests and replays. See Backtesting and Replay below.
Do I need to sign in?
No. Everything works signed out, and what you do is kept in the browser you are using.
Signing in, with Google or Apple, keeps your journal, drawings, demo accounts, screen arrangement, saved strategies and scripts in your account, so they follow you to another device.
Does it work on a phone?
Yes. On a narrow screen the button with three bars at the top right opens a menu that lists the panels. Choose one and it takes the menu over, with Menu to go back to the list and Back to chart to close it. The chart, order ticket, journal and backtest all work there. Phone apps for iOS and Android are planned and not built yet.
The chart
Moving around, bar sizes, indicators, drawings and how the chart looks.
How do I move and zoom the chart?
Drag the chart in any direction to place it. Scroll, or pinch on a touch screen, to zoom. Drag the price scale at the right to stretch or squeeze prices.
Auto, in the corner of the chart, fits the bars to the screen again. The buttons under the chart (1D, 5D, 1M and so on) jump to a span of time.
How do I change the market or the bar size?
The market is the box at the top left. The bar sizes are beside it: 1m, 5m, 15m, 1h, 6h and 1D.
How do I add an indicator?
Open the Indicators panel and choose one from Add an indicator. Each one you add gets its own settings, colors, line width and dash, and you can add the same kind twice with different settings.
VWAP starts at the futures open, 5:00 pm Central. Anchored VWAP starts at a time you choose, and can start over at that time every day. The session volume profile, in the same panel, shows volume by price down the side of the chart.
Can I see bond yields on the chart?
Yes. In the Indicators panel add US Treasury yield, daily. It draws in its own pane under the chart. Choose the maturity, from 1 month to 30 years, and for a spread such as the 10 year less the 2 year, choose a second maturity to take away.
These are the US Treasury's own daily figures: one value for each business day, taken from quotes at about 3:30 PM New York time. The line does not move during the day and is not a live market yield.
How do I draw on the chart?
Pick a tool from the bar at the left edge of the chart, then click the chart to place it. Drawings are listed in the Drawings panel, where each can be changed or removed. They are kept per market.
Where are the chart's settings?
The button with the sliders in the toolbar, or right-click the chart and choose Chart settings. It has sections for candles, the legend, scales and time, the background, tools on the chart, trading and alerts. Changes apply as you make them.
How do I change the time zone?
Chart settings, Scales and time, Time zone. It sets the time axis, the crosshair and the clock under the chart. It starts on your computer's own time.
How do I set a price alert?
Right-click the chart, or use the plus button on the crosshair, and choose Alert at that price. The alert is a dashed line you can drag. When the market reaches it a notice shows, with a tone if sounds are on in Chart settings.
An alert watches only while the page is open on its market. Nothing is sent to your phone or email.
Where are the order ticket, the ladder, indicators and the rest?
On the rail of buttons down the right edge of the chart: Order, Ladder, Positions, Indicators, Drawings, Alerts and Correlate. The chart has the screen until you press one. Its panel then slides in beside the chart, and the chart makes room rather than being covered, so the latest bars stay in view.
Press the same button again, the x on the panel, or Esc, and the panel closes and the chart takes the room back. Opening another panel takes the place of the one that was open.
The small numbers on the rail count what the leader account holds and has working in this market, and the alerts still waiting.
Can I keep a panel open, or rearrange the screen?
Yes. Pin, on the bar of an open panel, keeps it on the page. A pinned panel has a slim bar along its top: drag it to the left of the chart, the right, or under it. Move, on the same bar, offers the same choices without dragging, Collapse folds the panel down to its bar, and Unpin sends it back to the rail. Drag the edge of a group of panels to resize it.
Layout, in the toolbar, sets which side each panel opens on and which are pinned, takes a panel off the rail altogether, and saves an arrangement under a name to put back later. Chart first, the arrangement the screen starts with, pins nothing. Everything on the page pins every panel, which is how the screen was laid out before the rail.
What does the Correlation panel show?
How the markets are moving against each other. Each number compares two markets: 1.00 is exactly together, -1.00 exactly opposite, 0 no relation. Above the diagonal is the last 20 bars, below it a window six times as long.
Under the table it lists the pairs moving together right now, moving opposite, or apart from their usual. It describes bars already printed and is not a forecast. On simulated data the numbers are made up.
Demo trading
Placing orders, stops and targets, the price ladder and the demo accounts.
How do I place an order?
Use the order ticket: pick Market, Limit, Stop or Stop limit, set the size, and press Buy or Sell. Buy Bid and Sell Ask rest a limit order at the bid or the ask.
On the chart, the plus button on the crosshair, a right-click, or a long press on a phone opens a menu at that price with a buy and a sell order resting there. The quick-trade bar at the bottom of the chart buys and sells at the market.
How do stops and targets work?
Switch on Stop loss and Take profit on the ticket and enter a distance in ticks. Every order you send then carries them. Before the entry fills they show as dashed lines you can drag. When it fills they become two working orders, and when one fills the other is cancelled.
Can I move or cancel an order on the chart?
Yes. Drag an order's line, or its label, to move it. The x on a label cancels it. The position's label has Close and Reverse. Cancel all orders, Close position and Flatten all accounts are on the ticket.
Stops resting at one price share a line, and so do targets: the label shows their size together, and moving or cancelling it moves or cancels every order behind it. To cancel one of them alone, use the Orders tab in Positions.
How do I read the order lines on the chart?
Each line has a label near the right of the chart: what it is, its size, and what it makes or loses if it fills, in the unit chosen on the account bar. Gold is the position, red a stop or a sell, green a target or a buy. A dashed line with a tinted label is a stop or target planned for an entry that has not filled yet.
Labels share one column. When lines are too close for their labels to fit, the labels are stacked and each is tied back to its own line by a short lead, and the prices on the scale are stacked the same way.
The chart is tinted red from a live stop and green from a live target toward the price the position was entered at, so risk and reward show at a glance. Chart settings, Trading, Shade risk and reward turns the tint off, and Order and position lines on the chart turns the lines off.
How do I trade from the price ladder?
Switch on Click the ladder to place orders. A click in the buy or sell column rests an order at that price with the ticket's size, stop and target. A click on one of your own orders cancels it.
There is no market depth yet, so the ladder shows prices, your orders and volume, not bid and ask sizes.
Are there keyboard shortcuts for trading?
Yes, off until you switch them on in Chart settings under Trading. B buys and S sells at the market, J buys at the bid, K sells at the ask, C closes the position, X cancels the market's orders, F flattens all accounts.
Can I be asked before an order is sent?
Yes. Chart settings, Trading, Ask before sending an order. Closing, cancelling and flattening are never held up by it.
What are the demo accounts?
Four practice accounts that start with $50,000 each. The starting balance, a commission per contract and a crypto fee can be set in the Accounts tab. Balances and positions are kept between visits. Working orders are not: after a reload an open position has no stop or target.
Reset, in the Accounts tab, starts every account over.
How does copy trading work?
Pick one account as the leader. Every order you place goes to the leader, and each account set to follow gets the same order, sized by its ratio. A follower whose order fails is paused and the others keep copying.
Copying is only between your own accounts. It does not follow other traders.
Can I practice under prop firm style rules?
Yes. In the demo account settings you can set a daily loss limit, a drawdown limit (trailing or fixed), a largest position, a profit target, a daily profit target, a limit on trades per day or week, a wait before adding to a position, and blocked markets. Reaching a loss limit closes the account out and locks it.
These are general rules in the style of an evaluation. They are not a copy of any one firm's rules.
What does the Lock button do?
It closes the leader out and locks it until the next trading day, which starts at 5 pm Central. With copying on, every account is closed with it.
Can I see profit in points or ticks?
Yes. The buttons at the right of the account bar switch between dollars, points, ticks and percent everywhere profit is shown.
Trade journal
Recording trades, uploading them from a broker, and reading the statistics.
How do trades get into the journal?
Trades made on Triton write themselves: every fill is recorded, and a trade runs from flat to flat in one account and market.
Trades made elsewhere come in with Add trades, either by uploading a file from your broker or by typing one in.
How do I upload trades from my broker?
In the journal, press Add trades and choose a CSV file exported from your broker or platform. Columns are matched by their headings and shown for you to correct before anything is added. The file is read in your browser. Uploading the same file twice adds nothing the second time.
Excel files are not read. Export as CSV.
Which Tradovate file do I upload?
The Fills export. It is recognized on its own. Choose the Cash History export with it, both at once, and every fee is laid onto its fill. Add the Orders export as well and each trade gets the stop and target it carried.
What can I record about a trade?
Open a trade to see its panel: size, entry, exit, points, ticks, risk and R, its executions and a chart of the trade. You can give it a strategy, tags, a rating and notes, and mark it reviewed.
How do I track results by strategy?
Create strategies in the Strategies tab, each with a name, color and rules. Assign trades to them, and the tab shows each strategy's trades, win rate, net result, profit factor and expectancy.
How is the win rate worked out?
Winners over winners plus losers. Break-even trades are left out. A trade belongs to the day it was opened, in your device's time zone.
Can I replay a trade?
Yes. Open the trade and press Replay. It plays the trade forward bar by bar, with each fill appearing when it happened and the profit as it stood at that moment.
For a trade uploaded from a broker, load a price file covering it to see the real bars. Without one, rough bars are built from the trade's own fills.
Where is my journal kept?
In your browser when signed out, and in your account when signed in. Signing in moves what you journaled signed out into the account.
Mindset and trade feedback
The card when a trade closes, breaks after losses, and reminders you set for yourself.
What is the card that appears when a trade closes?
A trade runs from your first entry until you are flat again, however many contracts and partial exits are in between. When it ends, a small card shows what it made and how it was handled, and asks three things: which setup from your playbook it was, whether you traded it to your plan, and how you felt. What you choose is saved to the trade in your journal at once. Press Done to put the card away.
The setups are the strategies in your journal. New setup on the card adds one.
What does the feedback on the card mean?
Entry: how far price went against you while you were in the trade (its MAE), set against how far away your stop started. A trade that barely moved against you was well timed. One that went nearly to its stop was early.
Exit: how much of the best profit the trade ever showed (its MFE) you kept, and whether a trade that was well in profit was let turn into a loss.
Stop and target: whether you moved your stop further from your entry, took it off, or pulled your target in closer once the trade was on.
After the exit: price is watched for a while after you close, between five minutes and an hour. The card then adds what happened next, such as price reaching your target after stopping you out and how much wider the stop would have had to be, or how far price ran past a target you took. This is only seen while the trading screen stays open on that market.
What is the Handled score?
Four checks on things the platform saw for itself, a quarter each: the trade had a stop, the stop was never moved away or taken off, the target was never pulled in, and the trade ended at its stop or its target instead of being closed by hand. It does not look at whether the trade made money. A loss taken to plan scores 100.
How do I make it tell me to take a break?
In Journal, on the Dashboard, under Mindset, switch on Call a break after losing trades in a row, and set how many losses and how many minutes. When you reach that many losses in a row, a pop-up tells you to step away and counts the break down. Put it away and a small timer stays at the top of the screen.
Hold new orders until the break ends makes it more than a reminder: new orders are not sent until the time is up, and the break cannot be ended early. Closing a position, cancelling and flattening always go through.
What other reminders are there?
A notice when you open a new trade within a set number of seconds of a losing one. A reminder after a run of winning trades to keep size and rules the same. A nudge after a long stretch of trading without a break. Each has its own switch under Mindset on the journal's Dashboard, and all of them can be off.
What is the report card?
A grade for each trading day on how you handled your trades, not on what they made. Open it from Journal, Report card. Every trade the trading screen watched end gets a Handled score, and the day's letter is their average: A from 90, B from 80, C from 70, D from 60.
Under the grade are the four checks and how many of the day's trades passed each, what to work on, what the trades handled by the book made beside the ones that were not, and each trade with its score. Click a trade to open it. Its Feedback tab has the same checks, the feedback, and every move of the stop and target.
When you come back after a day you traded, a notice offers that day's report card once. The switch for it is under Mindset on the journal's Dashboard.
How does it advise me on my stop and target distances?
Only within one setup. Name the setup on the card when a trade closes, or on the trade in the journal, so that the same kind of trade is compared with itself. The Report card screen has a Playbook section with one card for each setup.
Each card shows how far the setup's trades usually went against you and for you, in ticks, and where your stop and target usually started. Once a setup has 20 trades it says what a tighter stop or a nearer target would have made over those same trades. That part is exact, since the platform saw the worst and best price of each trade.
A wider stop or a further target depends on what price did after you were out, which is known only for the trades watched after their exit. Once 8 have been watched it says how many stopped-out trades went on to the target and how much wider the stop would have had to be, and how far price ran past the targets you took.
It reports what your own past trades did. It is not a forecast, and the same change may not do the same again. Before 20 trades it shows progress and holds back, since a pattern in a handful of trades is as likely to be chance.
Where can I see how my state of mind affects my results?
In Journal, under Reports, break your results down by How you felt, Plan followed or not, The trade before it (first of the day, after a win, after a loss), and Stop and target handling.
Market replay
Trading against recorded prices as if they were live.
How do I start a market replay?
Press Replay in the toolbar. Choose where to start: a bar you click, a date and time, the first date, or a random bar. Then press Play, or Step to move one step at a time. Speed and step size are beside them.
What prices does a replay use?
A price file you have loaded, if there is one: bars or ticks exported from your platform. Use Price file on the replay's bar to choose it. With no file it plays generated prices, marked Simulated prices.
Do replay trades count?
No. A replay has a practice account of its own. Nothing done in a replay touches the demo accounts or the journal, and its trades are gone when you leave it.
Backtesting
Testing a strategy on history, with rules or a C# script.
How do I run a backtest?
Open Backtest from the toolbar. Pick a starter strategy or build your own rules, choose the data, the dates and the costs, and press Run backtest. The trades it would have made show in Summary, Chart, Trades and Reports, measured the same way as your journal.
How do I choose the dates a backtest covers?
Under Data and costs, Dates to test. Choose the last 7 days, 30 days, 3 months, 6 months or year, this year so far, or Between two dates, which shows a first day and a last day. Both of those days are tested in full. The line under the form says the stretch that comes to, on your device's clock, before anything is run.
On chart data the stretch counts back from now, and a test loads at most 100,000 bars: for a long stretch choose a larger bar size. A number of bars back is still there if you would rather count bars than days.
On a file the choice starts as The whole file. The last 30 days of a file are its own last 30, counted back from its final row, and two dates cut the file to those days.
How do rules work?
There are four lists of conditions: go long, close a long, go short, close a short. Every condition in a list must be true on the same bar. A condition compares two values, each a price, a number or an indicator line.
Rules are read when a bar closes, and the order fills at the open of the next bar.
How do I test on real prices?
Under Data and costs choose A file of bars or ticks and pick a file exported from your platform. Bars need a time, then open, high, low and close. NinjaTrader's tick export is read as it is. The file is read on your device and is not uploaded, and it is kept in the browser so you choose it once.
Tell the form which time zone the file's times are in. If the first and last times look a few hours off, that setting is the reason.
How are fills worked out?
Orders fill at the open of the next bar, moved against you by the slippage setting. A stop or target is checked against each bar's high and low, and when one bar reaches both, the stop is taken to have come first. With a finer file under a larger test size, the finer bars decide which came first.
Can I try many settings at once?
Yes, for rules and for C# scripts. Switch on Try a range of values and choose one or two settings to vary. The newest part of the data is held back from the ranking, so you can see how the best settings did on data that played no part in choosing them. Walk-forward repeats that choice several times across the data.
For a script, the settings offered are its own: the numbers it marks [Parameter]. Check the script first so they are listed. A range stays inside the least and most the script allows for a setting.
The best of many tries always looks better than it is. Trust the held-back and walk-forward figures over the top row.
Does a good backtest mean the strategy will make money?
No. A backtest shows what a set of rules would have done on one stretch of past prices, under assumptions about fills. It is a way to reject ideas and to understand how a strategy behaves, not a promise. Results on simulated prices mean nothing about a real market.
C# scripts
Writing a strategy in code and testing it.
How do I write a strategy in C#?
Open Scripts, or in Backtest switch from Rules to C# script. The editor opens with a moving average cross to change. A script is one class that inherits from Strategy. Its OnBarUpdate method runs once for every bar, and the orders it gives fill at the open of the next bar.
Is there a screen just for writing scripts?
Yes: Scripts, in the toolbar and the menu. It lists your saved scripts beside a tall editor, with what the compiler says under it. New strategy and New indicator start from a working script. Clicking a saved script opens it.
From there, Test in Backtest opens Backtest on a strategy, and Add to chart puts an indicator on the trading chart. The editor in Backtest holds the same script, so a change in one is there in the other.
How do I compile a script?
Press Check. The first time, the C# engine is downloaded, about 7 MB, and kept by the browser after that. Problems are listed under the editor, each with a link that jumps to its line. Once the engine is loaded the script is checked again whenever you stop typing.
Is there a tutorial for writing scripts?
Yes: the Script guide, in the menu at the top of this page and at /guide. It goes chapter by chapter through bars, orders, stops and targets, indicators, time and sessions, sizing, writing an indicator, how fills are worked out, and bringing a strategy over from NinjaTrader. Each chapter teaches from one whole script, and every one of those scripts is compiled and run by Triton's own tests.
What can a script use?
Prices as Close[0], Close[1] and so on. Market, limit and stop orders, with sizes and names: EnterLong, EnterLongLimit, EnterLongStop, ExitLong and the rest. SetStopLoss, SetProfitTarget and SetTrailingStop. OnFill, which runs when an order fills. NetProfit and Trades, for what the strategy has made so far. Time helpers and IsFirstBarOfSession. Indicators from SMA and RSI to Stochastics, ADX and Donchian channels. And the usual C#: collections, Linq, Math, text and dates. The Script guide goes through all of it, and a short list is under What a script can use, below the editor.
How do I make a value changeable without editing code?
Put [Parameter("Label")] on a public int, double or bool property. It appears under the editor as a setting.
Can I write my own indicator?
Yes. Write a class that inherits from Indicator, in the same editor. In OnStart, AddPlot gives you a series to draw, up to eight of them, and in OnBarUpdate you set its value for the current bar, as in line[0] = EMA(20)[0]. Overlay = true draws over the candles. Without it the indicator gets a pane of its own, where AddLevel marks a level across it. The Open a script list has a starter indicator to change.
Press Check, then Add to chart. The indicator appears on the trading chart and in the Indicators panel, where its settings are, along with anything it printed and the reason if it fails. Adding it again under the same name replaces the one on the chart.
It runs over the newest 20,000 bars at most, again when a bar is added, and every few seconds while the newest bar is moving. A chart holds up to six script indicators. A script that runs for more than ten seconds is stopped.
Can I paste in a NinjaTrader strategy?
Yes, a strategy written for NinjaTrader 8 loads as it is. Paste the whole file into the editor in Backtest or Scripts and press Check. Its [NinjaScriptProperty] settings appear under the editor: whole numbers, decimals and switches can be changed there, and text and date settings keep the values the script gives them.
It is Triton's own engine behind NinjaTrader's names, so results will be close to NinjaTrader's and not always the same to the cent. Orders are decided when a bar closes and filled from the next bar on. Limit orders fill when price goes through them. A position is closed when the market shuts for the day unless the script turns that off. Bars are stamped with the time they close, as in NinjaTrader.
Times of day in a strategy, such as ToTime(Time[0]) >= 93000, are read on the clock chosen on the Backtest form under Clock for times of day in the strategy. It starts as your device's. If the strategy was written on a machine set to Eastern time, choose Eastern there.
Not carried over: calls to the web (scripts run sealed, so nothing is sent), drawing on the chart (accepted, nothing drawn yet), a second data series, the unmanaged order methods, ATM strategies, and NinjaTrader indicators of your own. Slippage and commission come from the Backtest form, not from the script.
Can I turn a NinjaTrader strategy into a Triton script?
Yes. With a NinjaTrader strategy in the editor, Convert to Triton appears beside Check. It rewrites the strategy against Triton's own library, so no NinjaTrader name is left in it, and shows what it did: whether the result compiles, and notes on anything it left out or could not carry over, each with the line of the original it is about. Notes marked Look at need your eye before you trust the result.
Put the converted script in the editor moves it there, and Put the NinjaTrader original back undoes that. Nothing is saved until you save it. Run the original and the converted script on the same data and compare the trades: in Triton's own tests they come out the same, fill for fill, for the strategies tested.
What it cannot convert yet: OnOrderUpdate and OnPositionUpdate, orders kept in a variable, CountIf, MRO and LRO, a second data series, the unmanaged order methods, and NinjaTrader indicators. A strategy that uses them still runs as it is.
Is my script sent anywhere?
No. It is compiled and run in your browser tab. A script you save is stored as text in your browser, or in your account when signed in.
A script also runs sealed off from everything else: it cannot reach your account, the site or the network. It is given the bars and hands back its trades, and that is all.
My script never finishes. What do I do?
Press Stop, beside the run button. It ends the run. The engine loads again the next time you check or run a script.
Library and community
Sharing scripts, rating them, asking questions, and how standing works.
What is the library?
A place where members share C# strategies and indicators. Anyone can read a script, see its ratings and reviews, and read the questions asked about it. Open in the editor puts it into Backtest so you can change it and test it on your own data. An indicator also has Add to my chart, which opens the trading screen with it on your chart.
A script from the library runs the same way as one you wrote: sealed off from your account, the site and the network.
How do I publish a script?
Open it in Backtest under C# script and open Publish to the library below the editor. Give it a title and a one-line summary, and say what it does and how you tested it. The script has to compile as it stands.
To put out a new version, open your item from the library in the editor, change it, and publish again from there with a note on what changed. The item keeps its ratings and questions.
Strategies and indicators are both published this way. Which one a script is comes from the script itself.
What do other members see about me?
Only the name you choose and the few words you write about yourself. Never your email or the name on your sign-in. You are asked to choose the name the first time you publish, rate or post.
How do ratings work?
A member can give an item one to five stars, with a review if they like, and can change it or take it back. You cannot rate your own item.
Creators are rated separately, on their page: how they answer questions and look after what they publish. Only someone with an item in the library can be rated this way.
Where do I ask a question?
About one script: under Questions on its page in the library, where its author sees it. About anything else: in Community, on the board that fits, as a question or a discussion.
The person who asked can mark one reply as the answer. Any member can mark a reply helpful.
What are the levels beside a name?
Standing in the community, from what a member has done: Deckhand, Mariner at 40 points, Navigator at 150, Captain at 400, Commodore at 1,000 and Triton at 2,500.
Points come from publishing an item (40), ratings of three stars or more on your items and on you as a creator, replies in other people's threads (4), a reply marked as the answer (20), a reply marked helpful (3), starting a thread (2) and writing a review (3). Standing is worked out fresh from these each time, so it falls if an item or a post is removed.
What if something should not be there?
Press Report on the item, review or post and say what is wrong. A moderator reads every report and can take the thing down. The rules are on the Community rules page.
Nothing in the library or community is advice, and a rating says nothing about what a strategy will do with real money.
Your account and your data
Signing in, what is kept, and where.
How do I sign in?
Press Sign in in the toolbar and choose Google or Apple. Triton does not ask for or store a password of its own.
What is remembered between visits?
The market and bar size, indicators, drawings, the screen arrangement, chart settings, alerts, the order ticket's size, stop and target, the demo accounts, your journal, saved strategies and scripts.
Not remembered, on purpose: typed order prices and the switches that let one click place an order. Those should not be waiting when the screen opens.
Can I use two devices?
Yes, signed in. Two screens open at the same time do not merge, though: whichever saved last is what the next visit starts from.
Are my uploaded files sent to Triton?
Price files and broker exports are read in your browser. A price file stays on your device. Trades taken from a broker export are saved to your journal, which is in your account when you are signed in.