PDA

View Full Version : Re: Formulas for stats



AJG
08-04-2009, 09:40 AM
Is there a way to create custom stats in text format and import them into HEM?

One of the suggestions in the uservoice site, requested the ability to be able to input arbitrary formulae into HEM, the example given was
PA= ( VP$IP(UG) + VP$IP(UG+1) ) / ( VP$IP(CO) + VP$IP(B) )

(although i read this as the inverse of PA)

But it occurs to me that if it IS possible to import stats in text format, probably from an xml file, then an external app could be written to achaive this suggestion (which i think is good) and I would happily write such a formula parser/translator.

i could probably workout the HEM internal syntax from the Thread listing all stats.

Also, as these stats have textual definitions, are they stored anywhere in text format on the PC, or are they hardcoded into the app?

Thanks in advance...

Rvg72
08-24-2009, 01:56 AM
Hi, you can check out this thread for the stat creation info. Any stat can be created using similar syntax and placing it in a customstats.txt file in the reports folder.

If you need any assistance let me know

Roy

AJG
08-25-2009, 06:09 AM
Which thread?

fozzy71
08-25-2009, 07:49 AM
The stickies at the top of the forum, I assume.

http://www.holdemmanager.net/forum/showthread.php?t=3595

http://www.holdemmanager.net/forum/showthread.php?t=282