# How do I create custom stats?

DriveHUD 2 Knowledge Base

# How do I create custom stats?

You are here:

If there’s not a pre-defined stat you need in Drivehud 2, don’t worry. You can create any kind of stat you need with the custom stat creation language. To create a custom stat, do the following:

From any menu screen, click on the FILTERS pull down menu and select CUSTOM STATS.

Once the custom stat pop-up appears, click on the ADD button.

Under DETAILS, give your new stat a name by filling in the name section.

At the bottom under DATA TYPE, select either Percentage, Number or Money.

Percentage = Drivehud 2 is going to do a calculation and return the answer as a percentage (This is generally the default used for most stats). Note: You don’t need to add a multipler of 100, DH will do it automatically

Number = This is the same as percentage, but it will just return it as a raw number.

Money = This is going to return a calculation as a money.  It can be a number with decimal point, but it will be shown in reports as money like NetWon and similar stats.

In the EXPRESSIONS box is where you’ll enter your Drivehud 2 expression to generate your calculation. Start by entering Count( if you’re using a percentage expression,and then the rest of your expression. As you enter information, Drivehud 2’s help system will assist in completing your expression. Once you are done, click SAVE. Your new stat will then be available in all reports and can be added to any HUD. Below are some examples of common expressions:

 RFI Preflop CO Count(FirstRaiser = yes and Position = CO) / Count(IsUnopened = yes and Position = CO) Called 3-Bet from BTN Count(Position = BTN and Calledthreebetpreflop = yes) / Count(Position = BTN and Facedthreebetpreflop = yes) X/C Flop Count(FlopActions = “XC”) / Count(FlopActions = “XC” or FlopActions = “XR” or FlopActions = “XF”) X Turn and opponent overbets turn Count(CheckTurn = yes and TurnFacingBetSizeToPot > 1) / Count(CheckTurn = yes and FacedBetOnTurn = yes)

Below is a list of the MOST COMMONLY used expressions in DriveHUD 2 and a description of what they are:

 Term Frequency Description Position 306 Hero’s position PreflopActions 181 Hero’s preflop actions (e.g. “RF”, “RC”) StackInBBs 121 Initial stack size in BBs FlopActions 112 Hero’s flop actions (e.g. “XF”, “XC”, “BF”) TurnActions 91 Hero’s turn actions (e.g. “XF”, “XC”, “BF”) PreflopFacingAction 88 Action that is faced by Hero on preflop (Unopened, Limper, MultipleLimpers, Raiser, RaiserAndCaller, RaiserAndMultipleCallers, ThreeBet, FourBet, FiveBet, WalkHand) In3BetPot 83 Indicates whenever preflop is 3-bet pot IsSRP 81 Indicates whenever preflop is a single raised pot RiverActions 66 Hero’s river actions (e.g. “XF”, “XC”, “BF”) IsWalkHand 56 Indicates the situation where everyone folds on preflop except BB IsUnopened 55 Indicates whenever Hero faces unopened pot on preflop NoRaisePossible 51 Indicates whenever Hero can’t raise due to insufficient stack or when everybody except Hero folds or goes all-in OpenRaisePreflopInBBs 48 Hero’s open preflop raise amount in BBs Flopcontinuationbetmade 33 Indicates whenever Hero does a Flop C-Bet DidPFR 32 Indicates whenever Hero raises preflop DidThreeBet 32 Indicates whenever Hero does a 3-Bet on preflop CouldThreeBet 30 Indicates whenever Hero has an opportunity to do a 3-Bet on preflop TurnInPosition 27 Indicates whenever Hero is in position on Turn Foldedtofourbetpreflop 26 Indicates whenever Hero folds to a preflop 4-Bet Flopcontinuationbetpossible 25 Indicates whenever Hero has an opportunity to do a Flop C-Bet Facedfourbetpreflop 25 Indicates whenever Hero faces a preflop 4-Bet Facingturncontinuationbet 24 Indicates whenever Hero faces a Turn C-Bet FirstRaiser 23 Indicates whenever Hero is a first raiser on preflop FacingRiverBet 23 Indicates whenever Hero faces a bet on River FacedSqueeze 22 Indicates whenever Hero faces a squeeze on preflop Rivercontinuationbetmade 22 Indicates whenever Hero does a River C-Bet OpenShove 21 Indicates whenever Hero opens shoving on preflop DidTurnBet 20 Indicates whenever Hero does bet on turn RiverInPosition 20 Indicates whenever Hero is in position on River Turncontinuationbetmade 20 Indicates whenever Hero does a Turn C-Bet RiverBetToPotRatio 19 Hero’s river bet to pot ratio (Bet amount / Pot on river) Facingflopcontinuationbet 19 Indicates whenever Hero faces a Flop C-Bet FlopInPosition 18 Indicates whenever Hero is in position on Flop FirstRaiserPosition 18 Position of the first raiser on preflop LimpFaced 18 Indicates whenever Hero limps and then he faces an action PostAmountPreflopInCents 17 Total Hero’s post amount on preflop in cents (small blind, big blind, straddle, dead blind, ante etc.) OpenRaisePreflopInCents 17 Hero’s open preflop raise amount in cents StartingStackInCents 17 Initial stack size in centes FoldedToRiverBet 16 Indicates whenever Hero folds to a bet on river Turncontinuationbetpossible 16 Indicates whenever has an opportunity to do a Turn C-Bet Rivercontinuationbetpossible 15 Indicates whenever has an opportunity to do a River C-Bet PreflopAggressorPosition 14 Position of the last raiser on preflop NumberOfActivePlayersOnFlop 14 Number of active players on flop (active player is a player who can act on flop) RiverFacingBetSizeToPot 14 Opponent’s River Bet Size to River Pot Size Wonhand 14 Indicates whenever Hero won the hand Sawshowdown 14 Indicates whenever Hero saw a showdown AnteInCents 14 Ante in cents Foldedtoflopcontinuationbet 13 Indicates whenever Hero folds to Flop C-Bet FlopFacingBetSizeToPot 13 Opponent’s Flop Bet Size to Flop Pot Size Foldedtothreebetpreflop 13 Indicates whenever Hero folds to preflop 3-Bet Didfourbet 13 Indicates whenever Hero does a 4-Bet on preflop DidRiverBet 12 Indicates whenever Hero does a bet on river Facingrivercontinuationbet 12 Indicates whenever Hero faces a River C-Bet RiverOutOfPosition 12 Indicates whenever Hero is out of position on river TurnOutOfPosition 12 Indicates whenever Hero is out of position on turn SawFlop 11 Indicates whenever Hero saw the flop CouldTurnBet 11 Indicates whenever Hero has an opportunity to bet on turn FlopOutOfPosition 11 Indicates whenever Hero is out of position on flop DidFlopBet 10 Indicates whenever Hero does a bet on flop CouldRiverBet 10 Indicates whenever Hero has an opportunity to bet on river FacedBetOnTurn 10 Indicates whenever Hero faces a bet on turn DidCheckFlop 10 Indicates whenever Hero checks the flop as the first action StealMade 10 Indicates whenever Hero steals on preflop ProbeBetTurn 10 Indicates whenever Hero does a probe bet on turn Foldedtoturncontinuationbet 9 Indicates whenever Hero folds to Turn C-Bet Wonshowdown 9 Indicates whenever Hero saw a showdown and won the hand DidFlopCheckRaise 9 Indicates whenever Hero check-raises the flop No4BetPossible 9 Indicates whenever Hero can’t 4-Bet on preflop due to insufficient stack or when everybody except Hero folds or goes all-in FacedThreeBetIP 8 Indicates whenever Hero faces a 3-Bet on preflop in position Couldfourbet 8 Indicates whenever Hero has an opportunity to do a 4-Bet CouldProbeBetTurn 8 Indicates whenever Hero has an opportunity to do a probe bet on the turn CalledFacedSqueeze 7 Indicates whenever Hero faces a squeeze on preflop then calls it Facedthreebetpreflop 7 Indicates whenever Hero faces a 3-Bet on preflop FacedDelayedCBet 7 Indicates whenever Hero faces a delayed C-Bet on turn FoldedToDelayedCBet 7 Indicates whenever Hero folds to a delayed C-Bet on turn FacedProbeBetTurn 7 Indicates whenever Hero faces a probe bet on turn FoldedToProbeBetTurn 7 Indicates whenever Hero folds to a probe bet on turn FoldedFacedSqueeze 7 Indicates whenever Hero faces a squeeze on preflop then folds CouldRaiseTurn 7 Indicates whenever Hero has an opportunity to raise on the turn DidRaiseTurn 7 Indicates whenever Hero raises on the turn ReraisedFacedSqueeze 7 Indicates whenever Hero faces a squeeze on preflop then raises it NumberOfPlayers 6 Number of players when hand starts PreflopAggressorFlopRelativePosition 6 Relative position of preflop aggressor on the flop (possible values 1 and higher, 1 means that preflop aggressor acts first on the flop) FlopRelativePosition 6 Hero’s relative position on the flop (1 means that hero acts first on the flop) BoardCards 6 Board cards Raisedflopcontinuationbet 6 Indicates whenever Hero faces a Flop C-Bet then raises it CouldFlopCheckRaise 6 Indicates whenever Hero has an opportunity to check-raise the flop Totalamountwonincents 6 Hero’s won amount in cents DidFlopDonkBet 6 Indicates whenever Hero does a donk bet on the flop LimpCalled 6 Indicates whenever Hero limps, then he faces an action on his limp and then he calls LimpFolded 6 Indicates whenever Hero limps, then he faces an action on his limp and then he folds LimpReraised 6 Indicates whenever Hero limps, then he faces an action on his limp and then he raises SawRiver 6 Indicates whenever Hero saw the river SawTurn 6 Indicates whenever Hero saw the turn DidRaiseRiver 6 Indicates whenever Hero raises on the river (R or XR) TurnBetToPotRatio 5 Hero’s turn bet to pot ratio (Bet amount / Pot on turn) NumberOfPlayersOnFlop 5 Number of players on the flop (including players who went all-in on preflop) BTNOpenShoveUOPot 5 Indicates whenever Hero opens shove unopened pot on BTN position BTNShoveOverLimpers 5 Indicates whenever Hero opens shove when he faces one or more limpers on the preflop on BTN position FacedFlopCheckRaise 5 Indicates whenever Hero faces check-raise on the flop FacingFlopDonkBet 5 Indicates whenever Hero faces donk bet on the flop Calledrivercontinuationbet 5 Indicates whenever Hero calls River C-Bet FacingRiverDonkBet 5 Indicates whenever Hero faces donk bet on the river FacingTurnDonkBet 5 Indicates whenever Hero faces donk bet on the turn COOpenShoveUOPot 5 Indicates whenever Hero opens shove unopened pot on CO position COShoveOverLimpers 5 Indicates whenever Hero opens shove when he faces one or more limpers on the preflop on CO position DidTurnDonkBet 5 Indicates whenever Hero does a donk bet on the turn DidRiverDonkBet 5 Indicates whenever Hero does a donk bet on the river EPOpenShoveUOPot 5 Indicates whenever Hero opens shove unopened pot on EP position EPShoveOverLimpers 5 Indicates whenever Hero opens shove when he faces one or more limpers on the preflop on EP position Faced5Bet 5 Indicates whenever Hero faces 5-Bet on the preflop FoldedTo5Bet 5 Indicates whenever Hero folds to 5-Bet on the preflop MPOpenShoveUOPot 5 Indicates whenever Hero opens shove unopened pot on MP position MPShoveOverLimpers 5 Indicates whenever Hero opens shove when he faces one or more limpers on the preflop on MP position NoRiverFirstRaisePossible 5 Indicates whenever Hero can’t raise on the river due to insufficient stack or when everybody except Hero folds or goes all-in

Complete list of all terms: