Methodology

How ForexR Works: Data, Formulas and Checks

Where every number on ForexR comes from, how often it updates, the formulas behind the levels, how the automated analysis is produced and checked, and how the code libraries are collected.

Close-up of a server rack lit blue in a data centre
No number starts from a guess. Prices come from a live feed, levels are computed in code from completed candles, and every article begins as a data pack that code assembles.

Code computes the facts. Software only writes the words.

That rule shapes everything on this page: where the numbers come from, how they are calculated, how the text is written, and what is checked before anything is published.

Where the Data Comes From and How Often It Updates

ForexR uses a live market price feed and licensed market-data providers. Their servers are contacted by ours, not by your browser. Prices are indicative: they show where the market is trading, not the exact price your broker will fill you at.

Live Rates

Prices and day statistics come from a live market price feed; where it does not quote an instrument, a licensed market-data provider supplies them. On a live chart page the price is requested every 5 seconds and the day’s statistics every 15 seconds. The overview on the home page refreshes every 30 seconds.

All live rates

Snapshot Updated

Pages are printed with the last good figures our server stored, so real numbers show before the live feed connects, or without JavaScript. Those blocks carry a “Snapshot updated” time. The server stores figures only from fresh feed replies and never calls a feed while it builds a page. A stored price is used for up to 24 hours, or up to 7 days over weekends and outages, and the live feed replaces it once the page connects.

Candles

Daily and intraday candles come from a licensed market-data provider. A daily bar is one trading day ending at 17:00 New York time. Candles are refreshed from the provider at most every minute for 5-minute bars, every 5 minutes for 1-hour bars, every 10 minutes for 4-hour bars and every hour for daily bars. Every level and indicator below is calculated from them.

Economic Calendar

Release times, forecasts and results come from a licensed market-data provider and are refreshed at most every 15 minutes. The calendar pages are rebuilt from an export written every hour. Times are shown in UTC.

News

Headlines come from a licensed market-data provider and are refreshed at most every 5 minutes. Each one names and links back to its publisher. Article text from other publishers is never reused.

Sentiment

News-sentiment readings and opportunity scores come from a market-data provider and are refreshed every hour. A reading older than 26 hours is not shown, and the bullish and bearish split and the media mood are shown only when enough stories stand behind them.

Wall of vintage clock faces in black and white
Scheduled events, not surprises. Every release and central-bank decision arrives with its time, so an article knows what is due before a word of it is written.

How the Numbers Are Calculated

Every level is computed by code from completed candles using standard published formulas. A language model never estimates a number.

P = (H + L + C) / 3

Pivot Points

Classic floor pivots from the previous completed daily bar’s high (H), low (L) and close (C): R1 = 2P − L, S1 = 2P − H, R2 = P + (H − L), S2 = P − (H − L), R3 = H + 2(P − L), S3 = L − 2(H − P). The live pages and the analysis articles use the same formula.

How pivot points work Pivot point calculator

ATR (14)

Average True Range

The true range of a day is the largest of: high − low, the distance from the high to the previous close, and the distance from the low to the previous close. Live pages show the plain average of the true range over the last 14 completed daily bars. Analysis articles use Wilder’s smoothed ATR (14) on completed daily bars, so the two can differ slightly.

The ATR guide

Trend

Live pages compare the price with an average of recent closes and with the same average one bar earlier. Price above a rising average reads Bullish, price below a falling average reads Bearish, anything else reads Ranging. The averages use 12 five-minute bars, 20 one-hour bars, 20 four-hour bars and 20 daily bars; the Weekly and Monthly readings use 50 and 100 daily closes.

Analysis articles call a chart up when price is above its 20-period exponential moving average and that average is above the 50-period one, down when both are reversed, and mixed otherwise, on the daily, 4-hour and 1-hour charts, and note whether price is above or below the 200-day average.

RSI

Analysis articles quote Wilder’s relative strength index over 14 daily closes, on a scale of 0 to 100.

Currency Strength

Built from today’s percentage change in the seven US-dollar major pairs (EUR/USD, GBP/USD, USD/JPY, USD/CHF, AUD/USD, USD/CAD, NZD/USD). Each currency scores its change against the dollar; the dollar scores the average of its change across all seven. Strongest is listed first.

Currency strength meter

Opportunity Score

A score from −100 to +100 supplied by the market-data provider, with the four readings it reports beside it: price trend, volatility, news sentiment and news volume. ForexR does not compute the score; it labels +15 or more Bullish, −15 or less Bearish, and anything between Neutral.

Each calculator prints its own formula and a worked example on its page. Calculator results are estimates: your broker’s contract sizes, spreads, swaps and commissions decide the real figures.

How the Analysis Is Written and Checked

Every market analysis article runs through five steps, always in this order.

  1. Pick the angleA planning step chooses the angle for the piece from the day’s context.
  2. Build the data packCode assembles the prices, levels, calendar and headlines. It is the only source the writing step may use.
  3. WriteA language model writes the article from that pack.
  4. Check it twiceAn automated check confirms that every price, percentage and distance in the text exists in the data pack. A second, different model then reviews the draft for misused figures, unsupported claims and advice-like language.
  5. Pass, or be discardedA draft that fails gets one rewrite. If it fails again it is discarded. Nothing is published unchecked.

The key-level table at the top of each article is rendered directly from the data pack, so it always matches the computed values. The exact data each article was written from is stored with it.

Rollers and type bed of an industrial printing press
Every draft runs the same line. Data pack in, two independent checks, then publish or discard. No draft skips a step, and a draft that fails twice is thrown away.

Who Signs the Analysis?

The ForexR Market Data Engine.

Every analysis article is signed ForexR Market Data Engine: the automated system described on this page, not a person. The byline means the article was produced automatically from market data and checked by the automated rules above before it was published.

Earlier, articles carried the names and portraits of fictional analyst personas, labelled as ForexR analysts. They were never real people. Every article, old or new, now shows the ForexR Market Data Engine byline, and the former analyst pages lead here.

How Signals Are Tracked

Every signal is a practice (paper) trade: it is published before it is entered, then tracked against live prices with no real money involved. Fills, stops and targets are worked out from the price feed with deliberately cautious rules. Signals are not edited or removed afterwards, losing ones included, and each carries a SHA-256 fingerprint of its levels that anyone can check on the signal page. The full terms are under Signals on the legal page.

How the EA and Pine Script Libraries Are Collected

The EA Library and the Pine Script Library list open-source code that other people publish on GitHub. ForexR did not write, test or endorse it.

Collected Every Week

A crawler searches GitHub every week. For the EA Library it keeps repositories that contain readable MQL source code for a real expert advisor. For the Pine Script Library it keeps scripts that declare an indicator, strategy or library for Pine Script version 4 or later, in repositories with at least one star, and lists copies of the same code once.

Safety Checks

Repositories that ship executables or programs, hide downloads behind archive passwords, ask you to disable antivirus or show signs of bought stars are left out automatically. ForexR never hosts the files: every entry links to its source.

Re-checked Every Day

Stars, last updates and licences are synced from GitHub every day. Summaries and tags are written automatically from each repository’s README and code, so treat them as a guide and read the source. Pine code is shown in full only when its licence allows it.

Dated Analysis Becomes an Archive After 14 Days

A dated article stays open to search engines for 14 days after it is published. After that it stays online and readable, but it is marked Archive with its publication date and a link to the latest analysis for the same market, and it asks search engines not to index it. The 14 days count from the publication date, so a later correction does not bring an old piece back. The instrument pages under Analysis always show the newest pieces.

How to Read This Information

Education, Not Advice

It is general market information. It is not investment advice, a recommendation or a signal service, and it knows nothing about your finances or risk tolerance.

A Snapshot in Time

Prices move after publication. Always check the live rate before acting.

Live EUR/USD rate

Checked, Not Infallible

Automated checks reduce errors but cannot remove them, and data can be delayed, interrupted or wrong. If you spot an error, tell us.

Report an error
Aerial view of a highway and forest under low morning mist
Markets move after publication. An article is a snapshot of the data it was written from — never a forecast, and never a signal to trade.

Partner Links and the Analysis

ForexR is funded by advertising, sponsored placements and partner links to brokers, some of which earn ForexR a commission; KCM Trade is a ForexR partner. Commercial relationships never change a calculated level, a price or the data an automated article is written from. See how ForexR is funded.

Corrections

If a price, a level, a formula or a sentence on ForexR looks wrong, email hello@forexr.com with the page address. What happens next is set out in the corrections policy.

See It on a Live Market

The key-level table sits at the top of every article, straight from the data pack.