---
title: PB Pattern Score Rule
description: "  [![](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-000.png)](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-000.png)   This rule ranks your instruments based on their \"PB Velocity\" and/or \"PB Pattern\" scores. \"PB Velocity\" is the instrument's percentage return during a specified period. That is, how much an instrument's price has gained during that period.…"
url: "https://portfolioboss.com/documentation/pb-pattern-score-rule/"
updated: "2022-08-27"
category: "Chapter 7 - Filters & Rules"
---

# PB Pattern Score Rule

 

[![](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-000.png)](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-000.png)

 

This rule ranks your instruments based on their "PB Velocity" and/or "PB Pattern" scores.

"PB Velocity" is the instrument's percentage return during a specified period. That is, how much an instrument's price has gained during that period. The higher the gain, the higher the score.

 

[![](https://portfolioboss.com/wp-content/uploads/2019/10/1-Month-Velocity_00000.png)](https://portfolioboss.com/wp-content/uploads/2019/10/1-Month-Velocity_00000.png)

 

"PB Pattern" is how close to a straight line the instrument's price history curve is (during the specified period). That is, the consistency of its price gain, whether it experienced low dips and high peaks. 

 

[![](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Examples_00000.png)](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Examples_00000.png)

 

It is similar to the [R² metric](https://portfolioboss.com/documentation/metrics-panel-guide/#rsquared) found on the Metrics Panel, but applied on an instrument instead. The closer to a straight line, the higher the score.

 

---

 

**1.**  The first parameter defines whether you're looking at the lowest or highest of these scores.

 

[![](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-1st-Param.png)](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-1st-Param.png)

 

---

 

**2.**  The second parameter defines the period to look for these scores.

 

[![](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-2nd-Param.png)](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-2nd-Param.png)

 

---

 

**3.**  The third parameter defines what kind of score you want to look for: PB Velocity only, PB Pattern only, or *both* the PB Velocity and PB Pattern scores (which means the sum score is affected by both scores at once; for example, if just one score is low, the sum score will become lower). 

 

[![](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-3rd-Param.png)](https://portfolioboss.com/wp-content/uploads/2019/10/PB-Pattern-Score-Rule-3rd-Param.png)

 

Thus, if *both* the PB Velocity and PB Pattern score highly, the instrument not only gained much, but at a consistent pace as well (not experiencing much price dips).

 

---

 

#### Notes

 

Regarding the "Offset" and "Weight" parameters, please refer to the guide about [Ranking Panel](https://portfolioboss.com/documentation/ranking-panel-guide/#offsetweight).

 

 

 

 

[**Back to Top**](https://portfolioboss.com/documentation/pb-pattern-score-rule/#backtotop)

 
