Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week! | How To Invest
Search MI
Shrewd'm.com Merry shrewd investors
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week! | How To Invest
Search MI


Investment Strategies / Mechanical Investing
Unthreaded | Threaded | Whole Thread (2) |
Post New
Author: Aussi 🐝  😊 😞
Number: of 5504 
Subject: NHNL Calculation
Date: 05/19/26 11:03 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 10
There has been a lot of discussion for the source on the new highs and new lows for the calculation of BCC. The "standard" is all operating, US based stocks on the Nasdaq exchange. Using SIPro I can get close to this standard, but I did not have a way to backtest it as the vale I use from SIPro does not seem to be available in GTR1.

As an alternative, I used the components of the NAS100 with the exception that a company is limited to one stock, e,g, GOOG/GOOGL using:

nas100.a = 1
rank(class.a,permco.a,step1) = 1

The NAS100 NH and NL are easy to calculate which takes away the guess work of how to match BCC.

Robbie's last version of BCII to my knowledge was to take the 9 day weighted average percent of new highs minus the 9 day weighted percent of new lows. if BCII>0.4, BCCII=1

I used the components of NAS100 and if the 9 day weighted average of new highs-the 9 day weighted average of new lows is greater than 25 the BCIINAS100=1 I will show a table of the various results for changing the greater than parameter.

For ^N1T, the results show:

1 Timing is better than not timing
2.CAGR is essently the same for BCC and BCCNAS100
3.BCCNAS100 has better SAWR (7.8% vs 6.0) and MDD (-56 vs -72)

For one of my screens that checked, BCCNAS100 showed a slightly lower CAGR.



All results are from GTR1 from 19851231 to 20251128 using ^N1T which is a proxy for QQQ

^N1T no timing (1)

Avg
CAGR: 14.727665
TR: 23946.03711
Log2TR: 7.909656
SAWR(20; 0.95): 4.70759
GSD(20): 26.477285
DIGSD(20; 0%): 29.774614
LDD(20; 0%): 16.320042
LDDD3: 15.888521
MDD: -81.059181
UI(20): 34.776054
Sharpe(20): 0.578212
Beta(20): 1.251661
TI(20): 10.735571
AT: 0


^N1T with BCC>0 (standard BCC calculation)(2)

Avg
CAGR: 15.738682
TR: 34026.80859
Log2TR: 8.414762
SAWR(20; 0.95): 6.040127
GSD(20): 23.013182
DIGSD(20; 0%): 25.508289
LDD(20; 0%): 13.839304
LDDD3: 12.776303
MDD: -72.316948
UI(20): 28.878813
Sharpe(20): 0.666891
Beta(20): 0.946963
TI(20): 14.490025
AT: 0.551258
Count 0.92

^N1T with BCCNAS100>0 and NH weighted-NL weighted>25 (3)

Avg
CAGR: 15.696405
TR: 33532.89063
Log2TR: 8.393729
SAWR(20; 0.95): 7.856045
GSD(20): 22.273621
DIGSD(20; 0%): 24.377275
LDD(20; 0%): 13.208565
LDDD3: 10.604696
MDD: -56.392567
UI(20): 19.165855
Sharpe(20): 0.677333
Beta(20): 0.899249
TI(20): 15.085139
AT: 0.952173
Count 0.9

^N1T BCIINAS100 Various cutoffs

(NH-NL)> CAGR SAWR MDD
-20 15.6 6.9 -66
-15 15.7 7.4 -62
-10 15.7 7.8 -59
-5 15.4 7.1 -62
0 15.3 6.6 -65
5 15.4 6.7 -65
10 15.7 7.4 -60
15 15.2 6.8 -62
20 15.4 7.4 -58
25 15.7 7.9 -56
30 15.5 7.4 -59

URLs

(1) http://gtr1.net/2013/?s19851231h1f0.10000::BCC:gt-...

(2) http://gtr1.net/2013/?s19851231h1f0.10000::BCC:gt0...

(3) http://gtr1.net/2013/?s19851231h1f0.10000::BCCNAS1...

Aussi



Print the post


Author: lizgdal 🐝  😊 😞
Number: of 5504 
Subject: Re: NHNL Calculation
Date: 05/20/26 2:14 PM
Post Reply | Report Post | Recommend It!
No. of Recommendations: 2
As a quick double-check of the OP results, I changed one line in the standard BCC code for [NHNLDiff] to use nas100.a=1. The results were similar to the OP: improvement in all metrics when applied to N1T. Results from 19851231 to 20251128:

  Screen     CAGR  SAWR  GSD  MDD  Sharpe  AT
N1T 14.7 4.7 26 -81 0.58 0.0
N1T_BCC0 15.7 6.0 23 -72 0.66 0.6
N1T_BCCN10 16.1 8.0 23 -60 0.68 1.0

S5T 11.5 5.7 18 -55 0.58 0.0
S5T_BCC0 12.8 7.9 15 -34 0.73 0.6
S5T_BCCN10 12.7 8.3 15 -34 0.72 1.0

S5TE 11.9 8.2 20 -60 0.55 0.0
S5TE_BCC0 13.3 10.4 17 -39 0.70 0.6
S5TE_BCCN10 13.1 10.4 17 -39 0.68 1.0


BCCN10 timing uses nas100 NHNL.
BCC0 timing uses nasdaq NHNL.

BCCN10 applied to S5T or S5TE lowers CAGR slightly (compared to BCC0), with similar risk metrics. There is more turnover with BCCN10.

I did not try to fine tune the NHNL cutoff. The standard BCC NHNLDiff cutoff of -0.4 corresponds to about -18 in the OP table (multiply by 45, the sum of the weights).

https://gtr1.net/2013/?~N1T:h1f0.1::trp%281,1%29ne...
https://gtr1.net/2013/?~N1T_BCC0:h1f0.1::trp%281,1...
https://gtr1.net/2013/?~N1T_BCCN10:h1f0.1::trp%281...
Print the post


Post New
Unthreaded | Threaded | Whole Thread (2) |


Announcements
Mechanical Investing FAQ
Contact Shrewd'm
Contact the developer of these message boards.

Best Of MI | Best Of | Favourites & Replies | All Boards | Followed Shrewds