TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
Tradovate Web

Tradovate Custom Indicators: Install, Add, and Test Check One Finished Candle

Use a clean chart on a dated futures contract. Check that an indicator is available to select, that it is applied to this chart, and that it displays the expected value. Those three checks point to different fixes.

Quick Answer

On a native Tradovate chart, open Indicators → Explore Community Indicators to install a shared study. Return to the chart’s Indicators menu to apply it. For your own JavaScript, add Code Explorer to the workspace, create and save the file, then apply it from the chart’s Indicators menu.

Start 7-Day TrialInstall a community indicatorTry a JavaScript indicatorDiagnose a missing indicator

Install a community indicator and add it to a chart

Open the native Chart module in Tradovate Web. Hover over the chart to reveal its controls, then open Indicators → Explore Community Indicators. You can also open Code Explorer and choose Community → Explore.

Find the study by its name and publisher. Check its description for the market, chart type, interval, and inputs it expects. Choose Install. Return to your chart’s Indicators menu, find the installed study, and select it to add it. Use Configure Chart Elements, the gear on the chart, to find the applied study and open its settings.

An install makes the study available to add. Applying it controls which chart shows it. Check the applied list again when you switch chart tabs, load a different workspace, or try a fresh Chart module.

Create a private JavaScript indicator in Code Explorer

Add Code Explorer from the workspace’s module picker. In Code Explorer, choose File → New and create a JavaScript file called tradeReignCandleRangeTicks.js. Replace that new file’s starter code with the sample, then choose File → Save. Tradovate also documents File → Import for an indicator JavaScript file saved on your computer.

On a native chart using standard one-minute candles, open Indicators. Look for Candle Range in Ticks, the exported identifier tradeReignCandleRangeTicks, or the group TradeReign Examples. Select the study and use its own chart area. You can check your own saved file without sharing it to the community.

The sample takes the bar high minus the bar low and divides by the instrument’s tick size. It uses the current candle only, with no moving average or minimum lookback. Tradovate’s Code Explorer uses JavaScript. A TradingView Pine Script needs to be rewritten for the Tradovate indicator API.

class CandleRangeTicks {
  map(bar) {
    const range = bar.high() - bar.low();
    return Math.round(range / this.contractInfo.tickSize);
  }
}

module.exports = {
  name: "tradeReignCandleRangeTicks",
  description: "Candle Range in Ticks",
  calculator: CandleRangeTicks,
  inputType: "bars",
  areaChoice: "new",
  tags: ["TradeReign Examples"],
};

Verify the plot against a completed candle

Use the Data Box to read the high, low and indicator value for one completed bar. On the 9:45 ET synthetic MES candle, 6,002.50 minus 6,001.00 is 1.50 points. At 0.25 points per tick, the lower line should read 6. The following candle has a 0.75-point range and reads 3. Check the time in both panes before comparing.

Use the prices from your own chart when you run the sample. A still-forming candle’s high or low can change. If the study calculates a different value on a finished candle, confirm the symbol, tick size, and that you read the high and low from the same bar as the plot.

Check candle range in ticks on 30 MES bars

Synthetic MES 1-minute candles. Times are bar closes in ET.

The lower line measures each candle’s high-to-low range in ticks. A marks the 9:45 ET bar at six ticks. The next bar reads three ticks. Use the same completed candle in the upper and lower panes.

Check why a Tradovate custom indicator is missing

If the study is missing from Indicators, verify the installation or saved file and search for its exported name or group. Check that you are signed in to the intended Tradovate account and using the native Chart module. Keep any editor error text. If a shared study needs access from the publisher, check that access before changing chart settings.

If the study appears in the list but draws nothing, verify that it is applied and visible under Configure Chart Elements. Check its area and scale. Try the candle-range example on the same plain chart. If the example draws and the other study does not, check the other study’s input requirements, lookback, and chart session.

If it only disappears in another layout, compare the two Chart modules, then check which template is loaded and whether the study is installed for the signed-in user. If a clean chart still fails, save the chart type, contract expiry, file name, exported name and editor message for Tradovate support.

Sources

Official References

Platform details on this page were checked against these official resources.

Tradovate Community Indicators installationThe official chart and Code Explorer routes to the catalog.Tradovate Custom Indicators user guideThe Code Explorer overview includes creating, saving, and importing JavaScript files.Tradovate indicator definition referenceCheck the chart input type, new area, tags, and numeric result.Tradovate SDK example using highs, lows, and tick sizeVerify the bar methods and contract tick size used by the example.Tradovate indicator settingsFind the Configure Chart Elements control.
Related Guides

Keep Building the Rule System

Open the Tradovate Data Box

Match OHLC, the indicator value, and the timestamp on one bar.

Save and check a Tradovate chart template

Restore the chart configuration and recheck its applied studies.

Add the built-in Tradovate VWAP

Compare the native study and community VWAP scripts.

FAQ

Common Questions

Can you add Tradovate custom indicators without coding?

Yes. Install an existing study through Explore Community Indicators, then apply it from the chart’s Indicators menu.

Are Tradovate and TradingView custom indicators interchangeable?

Tradovate Code Explorer uses JavaScript. TradingView uses Pine Script. Connecting Tradovate as your broker in TradingView leaves the indicator in TradingView.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.