Guides / How EdgeForge works out your Edge Score and Mental Score

How EdgeForge works out your Edge Score and Mental Score

Last updated 20 November 2026. A trading education guide, not financial advice.

EdgeForge shows two headline numbers: the Edge Score on the Dashboard and the Mental Performance Score on the Psychology page. Neither is a mystery or a prediction. Each is a plain weighted sum of things you logged, and this page gives the whole method so you can check it against your own journal. Everything here is taken from the journal's own code; the function behind each part is named in the table at the bottom.

What the scores are, and are not. They describe how consistent and controlled your logged trading has been. They do not predict profit, they do not compare you with anyone else, and they are only as honest as what you log. A score of 80 means your records look disciplined, not that the next trade will win.

Edge Score (0 to 100)

The Edge Score uses all the closed trades in the account you are viewing. It has four parts:

PartWeightWhat it counts
Win rate35%Winning trades (profit above zero) divided by closed trades, as a percentage.
Consistency30%The share of your trading days that ended in profit. A trading day is a calendar date with at least one closed trade, and its result is the sum of that day's trades. This needs at least 5 trading days; before that, your win rate is used in its place.
Sample size15%Two points per closed trade, capped at 100, so it reaches full marks at 50 trades.
Psychology20%Out of the trades where you logged anything about your state (a psychology issue, emotions, mood before or after, an execution rating, or whether you were prepared), the share with no issue recorded. An issue of "None", or none chosen, counts as clean.

Formula: Edge Score = 35% × win rate + 30% × consistency + 15% × sample size + 20% × psychology, rounded to a whole number.

A worked example from the sample journal

The sample journal has 80 fictional closed trades. Its Edge Score is 63, worked out like this:

PartThe sample's figuresValueWeightContribution
Win rate38 winners out of 80 trades47.535%16.63
Consistency33 profitable days out of 62 trading days53.2330%15.97
Sample size80 trades × 2, capped at 10010015%15.00
Psychology19 of 80 trades with an issue, so 61 clean76.2520%15.25

16.63 + 15.97 + 15.00 + 15.25 = 62.84, which rounds to 63.

Mental Performance Score (0 to 100)

The Mental Performance Score looks at a window of recent trades: the Trade sample setting on the Psychology page, which starts at the last 20 closed trades and can be changed to the last 90 days, all trades or another number. The Market filter on that page applies too. The page always says which trades it used.

It has up to five parts. A part only counts if you logged the information for it, and the weights of the parts present are re-balanced to add up to 100.

PartWeightWhat it counts
Emotional discipline35Of the trades where you logged a mood, an emotion, a psychology issue, or an execution, confidence or discipline rating, the share with no issue recorded.
Preparation20Of the trades where you recorded whether you were prepared, the share where you were.
Execution control20Your average execution rating (1 to 10) on the trades you rated, multiplied by 10.
Rule adherence15Of the trades saved while at least one Rule Guard rule was switched on, the share with no rule broken. Trades saved with Rule Guard off are not counted, so a journal that does not use Rule Guard simply has no rule part.
Loss recovery10After each losing trade, was the next trade controlled? A controlled next trade has no psychology issue, no rule broken, no revenge tag or issue, is not marked unprepared, and has an execution rating of 7 or more. A next trade with no execution rating is not counted as controlled. This part only appears when at least one other part does.

Why a few trades cannot swing it

Each part is pulled toward 50 when it rests on few trades, as if it had three extra neutral observations: adjusted value = (value × n + 50 × 3) ÷ (n + 3), where n is the number of trades behind that part. One clean trade out of one scores 62.5, not 100. Twenty trades at 70% become 67.4. The more you log, the less the adjustment matters. There is no minimum number of trades for the Mental Performance Score, so a very small window gives a modest, cautious number rather than an error.

Score = the weighted average of the adjusted parts, using only the parts present, rounded to a whole number. It is described as Controlled at 75 and above, Developing from 55 to 74, and At risk below 55. The Psychology page also shows how the last 10 trades compare with the 10 before.

A worked example from the sample journal

Looking at the sample's last 20 trades (of 80), the Mental Performance Score is 55. The sample does not use Rule Guard, so there is no rule part, and the weights present add up to 85.

PartTrades (n)ObservedAdjustedWeightAdjusted × weight
Emotional discipline2070% (14 clean of 20)67.39352,358.7
Preparation2045% (9 prepared of 20)45.6520913.0
Execution control2055 (average rating 5.5)54.35201,087.0
Loss recovery1127.3% (3 controlled of 11)32.1410321.4

For example, emotional discipline: (70 × 20 + 50 × 3) ÷ 23 = 67.39. Then 2,358.7 + 913.0 + 1,087.0 + 321.4 = 4,680.1, and 4,680.1 ÷ 85 = 55.06, which rounds to 55, or "Developing".

Good to know

Where each rule lives in the code

For anyone who wants to check the method against the program itself, here are the functions in the journal's code (the single file served at /app/) that implement each rule.

RuleFunction or constant
Edge Score parts and formulaefEdgeParts()
Edge Score in-app explanationefEdgeExplain(), efEdgeNote()
10-trade minimumEF_EDGE_MIN
5-trading-day rule for consistencyEF_CONS_MIN_DAYS
What counts as logged psychology (Edge)efHasPsychData()
Mental Score parts and weightspsychCore()
What counts as logged psychology (Mental)efPsychLoggedT()
Loss recoveryrecoveryStats()
Pull toward 50EF_PSY_K (3), applied in psychCore()
Which trades the window usesfilteredPsychTrades(), psychScope()
Labels: Controlled, Developing, At riskrenderPsychOverview()
Rule Guard trades onlyefRuleGuarded()

Worked examples use the sample journal as it stands on 20 November 2026. The sample is fictional, and if it is ever regenerated its figures will change; the method will not.

Want to see the scores on real-looking data? Open the sample journal and look at the Dashboard and the Psychology page.

View sample journal