PR QUANT BUY MODEL | Piyush Ratnu | XAUUSD Spot Gold | Golden Falcon Algorithm

PR QUANT BUY MODEL™

A Unified Quantitative XAU/USD Risk, Entry and Position-Scaling Framework

By Piyush Ratnu | Quant Gold Strategist

Strategy. Precision. Performance.

Most Accurate XAUUSD Gold Analysts Algorithms | Piyush Ratnu Quant Algorithm | Analysis

My XAU/USD methodology is designed around one central idea:

Price defines the opportunity. Confirmation defines the exposure. Risk defines survival.

The PR Quant Buy Model™ combines my PR Cluster Theory™, daily PRSRSDBS reference zones, M1 price-displacement conditions, cross-market confirmation, liquidity structure and a mathematically controlled risk-pyramiding process.

Piyush Ratnu Quant Model Methodology Most Accurate XAUUSD Gold TraderThe model is explicitly designed as a:

[
\boxed{BUY\ OR\ FLAT}
]

framework.

No SELL positions are opened.

[
\boxed{SHORT_t=0\quad\forall t}
]

Therefore:

[
\boxed{Position_t\in{LONG,\ FLAT}}
]

If the BUY thesis fails, the model reduces exposure, exits or remains flat. It does not automatically reverse into a SELL position.


1. PR Cluster Theory™

PR Cluster Theory is based on identifying XAU/USD price areas where multiple independent variables converge around strategically significant levels.

The objective is not to treat one indicator as sufficient.

Instead, I look for concentration across:

Price structure • support/resistance • liquidity • moving averages • momentum • Fibonacci • volatility • timing • correlations • macro conditions

A generalized PR Cluster function can be expressed as:

[
\boxed{
PRC_t=f(P,L,M,F,V,C,T)
}
]

Where:

P = Price structure
L = Liquidity structure
M = Moving-average and momentum structure
F = Fibonacci relationships
V = Volatility
C = Cross-market correlations
T = Timing and event conditions

The PR Cluster does not automatically produce a trade.

It identifies:

[
\boxed{\text{WHERE I SHOULD BECOME INTERESTED}}
]


2. Daily PRSRSDBS Zones™

The next layer is the PRSRSDBS Zone framework.

PRSRSDBS reference zones are projected on a daily basis and act as predefined XAU/USD BUY-reference locations.

Let the daily zones be:

[
Z_t={Z_{1,t},Z_{2,t},…,Z_{n,t}}
]

with each zone:

[
Z_{i,t}=[L_{i,t},U_{i,t}]
]

and midpoint:

[
M_{i,t}=\frac{L_{i,t}+U_{i,t}}{2}
]

The operating sequence is:

[
\boxed{
Daily\ Projection
\rightarrow
Price\ Approaches\ Zone
\rightarrow
Evaluate
\rightarrow
Confirm
\rightarrow
BUY
}
]

The zone is therefore a reference area, not an automatic order trigger.


3. PR Zone Proximity Score™

For current Gold price (P_t), define distance from the nearest PRSRSDBS midpoint:

[
D_t=
\min_i
\left|
\frac{P_t-M_{i,t}}
{M_{i,t}}
\right|
]

Then define:

[
\boxed{
ZPS_t=e^{-kD_t}
}
]

where:

[
0\le ZPS_t\le1
]

As Gold approaches a PR Cluster / PRSRSDBS zone:

[
ZPS_t\rightarrow1
]

As Gold moves away:

[
ZPS_t\rightarrow0
]


4. M1 SMA200 Deep-Discount Filter™

The M1 SMA200 is used to measure whether XAU/USD has become materially displaced below its longer intraday reference structure.

Let:

[
SMA200_t=M1\ SMA200
]

and:

[
P_t=Current\ XAU/USD\ Price
]

Define:

[
\boxed{
G_{200,t}=SMA200_t-P_t
}
]

The mandatory condition is:

[
\boxed{
G_{200,t}>$20
}
]

or equivalently:

[
\boxed{
P_t<SMA200_t-$20
}
]

Example:

[
SMA200=4500
]

[
Price=4475
]

Then:

[
G_{200}=4500-4475
=\boxed{$25}
]

Since:

[
25>20
]

the deep-discount condition is satisfied.


5. M1 EMA10 Timing Filter™

The M1 EMA10 provides a shorter-term price-displacement condition.

Let:

[
EMA10_t=M1\ EMA10
]

Define:

[
\boxed{
G_{10,t}=EMA10_t-P_t
}
]

The mandatory condition is:

[
\boxed{
G_{10,t}>$5
}
]

or:

[
\boxed{
P_t<EMA10_t-$5
}
]

Example:

[
EMA10=4483
]

[
Price=4475
]

Then:

[
G_{10}=4483-4475
=\boxed{$8}
]

Since:

[
8>5
]

the M1 EMA10 timing condition is satisfied.


6. PR Dual-MA Displacement Filter™

Both M1 conditions must be satisfied.

Define:

[
\boxed{
MDF_t=
I(G_{200,t}>20)
\times
I(G_{10,t}>5)
}
]

where (I) is an indicator function.

Therefore:

[
MDF_t=
\begin{cases}
1,&G_{200}>20\land G_{10}>5\
0,&otherwise
\end{cases}
]

The system requires:

[
\boxed{
M1SMA200-Price>$20
}
]

AND

[
\boxed{
M1EMA10-Price>$5
}
]

These are treated as hard filters, not merely weighted preferences.

If either fails:

[
\boxed{NO\ NEW\ BUY}
]


7. PR Cluster Confluence Score™

I quantify PR Cluster quality as:

[
\boxed{
PCS_t=
w_PP_t+
w_LL_t+
w_MM_t+
w_FF_t+
w_VV_t+
w_CC_t+
w_TT_t
}
]

with:

[
\sum w_i=1
]

A possible research specification is:

[
\boxed{
PCS=
0.20P+
0.15L+
0.15M+
0.10F+
0.10V+
0.20C+
0.10T
}
]

where every variable is normalized:

[
X_i\in[0,1]
]

and therefore:

[
0\le PCS\le1
]


8. PR Macro Correlation Score™

Gold is also evaluated against correlated markets.

Define:

[
\boxed{
MCS_t=
w_1Y_t+
w_2RY_t+
w_3D_t+
w_4J_t
}
]

Where:

Y = US Treasury-yield signal
RY = Real-yield signal
D = DXY signal
J = USD/JPY signal

Signals are normalized:

[
1=Supportive\ for\ Gold
]

[
0=Neutral
]

[
-1=Adverse
]

An example:

[
\boxed{
MCS=
0.30Y+
0.25RY+
0.25D+
0.20J
}
]

Therefore:

[
-1\le MCS\le1
]

Normalize it to:

[
\boxed{
MCS^*=\frac{MCS+1}{2}
}
]

so:

[
0\le MCS^*\le1
]


9. PR Quant Confirmation Score™

Now combine location, cluster quality, correlations and liquidity/volatility.

Define:

[
\boxed{
Q_t=
0.30PCS_t+
0.20ZPS_t+
0.20EDS_t+
0.15MCS_t^*+
0.15LVS_t
}
]

Where:

PCS = PR Cluster Score
ZPS = PRSRSDBS / PR Zone Proximity Score
EDS = Extreme Displacement Score
MCS = Macro Correlation Score
LVS = Liquidity / Volatility Structure Score

and:

[
0\le Q_t\le1
]

Set a minimum threshold:

[
\boxed{
Q^*=0.70
}
]

Therefore:

[
Q_t<0.70
\Rightarrow
\boxed{FLAT}
]

and:

[
Q_t\ge0.70
\Rightarrow
\boxed{BUY\ MAY\ BE\ PERMITTED}
]

subject to all mandatory hard filters.


10. PR Extreme Displacement Score™

The magnitude of the M1 displacement can also be quantified.

For SMA200:

[
EDS_{200}=
\min
\left(
1,
\frac{G_{200}-20}{40}
\right)
]

for:

[
G_{200}>20
]

For EMA10:

[
EDS_{10}=
\min
\left(
1,
\frac{G_{10}-5}{15}
\right)
]

for:

[
G_{10}>5
]

Then:

[
\boxed{
EDS=
0.60EDS_{200}
+
0.40EDS_{10}
}
]

This gives greater importance to the M1 SMA200 displacement.

Example:

[
G_{200}=40
]

[
G_{10}=10
]

Then:

[
EDS_{200}

\frac{40-20}{40}

0.50
]

[
EDS_{10}

\frac{10-5}{15}

0.333
]

Thus:

[
EDS=
0.60(0.50)+0.40(0.333)
]

[
=\boxed{0.433}
]

or approximately:

[
\boxed{43.3/100}
]


11. PR Master BUY Gate™

The full entry permission equation becomes:

[
\boxed{
PRBUY_t=
Z_t
\times
I(G_{200}>20)
\times
I(G_{10}>5)
\times
I(Q_t\ge0.70)
\times
I(NR_t\le R_{MAX})
}
]

Where:

[
Z_t=
\begin{cases}
1,&Price\ inside/near\ qualified\ PR\ Zone\
0,&otherwise
\end{cases}
]

Therefore:

[
PRBUY_t=1
]

means:

[
\boxed{BUY\ PERMITTED}
]

and:

[
PRBUY_t=0
]

means:

[
\boxed{WAIT/FLAT}
]

Never:

[
\boxed{SELL}
]


12. PR 1–3–5 Rule™

The risk architecture is built around three numbers.

1 — Maximum Thesis Risk

Let:

[
E_t=Account\ Equity
]

and:

[
r_{max}=Maximum\ Risk%
]

Then:

[
\boxed{
R_{MAX}=E_t\times r_{max}
}
]

For a $10,000 account and 1% thesis risk:

[
R_{MAX}=10,000\times0.01
]

[
=\boxed{$100}
]

The entire position sequence is treated as one thesis.

Five entries do not mean five separate 1% risks.


3 — Confirmation Requirement

Before aggressive exposure is permitted, the model requires meaningful convergence across at least three independent areas, such as:

PR Cluster / price structure

M1 displacement

Liquidity response

DXY / yields / USDJPY

Momentum / volatility


5 — Maximum Deployment Layers

The risk pyramid is divided into:

[
\boxed{
Scout
\rightarrow
Confirm
\rightarrow
Confluence
\rightarrow
Momentum
\rightarrow
Expansion
}
]

Therefore:

[
\boxed{
PR_{135}

1%\ Risk
+
3\ Confirmations
+
5\ Deployment\ Layers
}
]


13. PR Risk Pyramid™

An illustrative thesis-risk allocation is:

Stage Risk Allocation $100 Risk Budget
PR-1 Scout 10% $10
PR-2 Confirm 10% $10
PR-3 Confluence 20% $20
PR-4 Momentum 20% $20
PR-5 Expansion 40% $40
Total 100% $100

The governing principle is:

[
\boxed{
Uncertainty\uparrow
\Rightarrow
Exposure\downarrow
}
]

and:

[
\boxed{
Confirmation\uparrow
\Rightarrow
Permitted\ Exposure\uparrow
}
]


14. Dynamic Risk Deployment™

Rather than immediately using all available risk:

[
\boxed{
R_t=R_{MAX}\times g(Q_t)
}
]

where:

[
g(Q)=
\begin{cases}
0,&Q<0.70\
0.10,&0.70\le Q<0.75\
0.20,&0.75\le Q<0.80\
0.40,&0.80\le Q<0.85\
0.60,&0.85\le Q<0.90\
1.00,&Q\ge0.90
\end{cases}
]

For a $100 maximum thesis-risk budget:

Quant Score Permitted Risk
<0.70 $0
0.70–0.75 $10
0.75–0.80 $20
0.80–0.85 $40
0.85–0.90 $60
≥0.90 $100

15. Quantitative Lot-Size Formula

For XAU/USD, let:

(R_i) = permitted dollar risk
(S_i) = invalidation distance in dollars
(C) = dollar P/L for a $1 Gold move per standard lot

For a standard 100-ounce Gold contract:

[
C\approx100
]

Then:

[
\boxed{
Lot_i=
\frac{R_i}{S_iC}
}
]

Example:

[
R_i=$20
]

[
S_i=$10
]

Then:

[
Lot_i=
\frac{20}{10\times100}
]

[
=\boxed{0.02}
]

Therefore position sizing becomes:

[
\boxed{
LotSize=
f(Equity,\ QuantScore,\ RiskLimit,\ InvalidationDistance)
}
]

rather than an arbitrary lot decision.


16. Illustrative Five-Layer Position Structure

If:

[
R_{MAX}=$100
]

with:

[
{R_i}

{10,10,20,20,40}
]

and each layer has a hypothetical $10 invalidation distance:

[
Lot_i=\frac{R_i}{10\times100}
]

giving:

[
\boxed{
0.01
\rightarrow
0.01
\rightarrow
0.02
\rightarrow
0.02
\rightarrow
0.04
}
]

Maximum gross exposure:

[
0.01+0.01+0.02+0.02+0.04
]

[
=\boxed{0.10\ lots}
]


17. PR Risk Lock™

Gross exposure alone does not define actual risk.

Let:

[
AR_t=Active\ Risk
]

[
LP_t=Locked\ Profit
]

Then:

[
\boxed{
NR_t=\max(0,AR_t-LP_t)
}
]

Where:

[
NR_t=Net\ Capital\ Risk
]

The primary constraint is:

[
\boxed{
NR_t\le R_{MAX}
}
]

at all times.

Example:

[
AR=$70
]

[
LP=$45
]

Then:

[
NR=70-45
]

[
=\boxed{$25}
]

On $10,000 equity:

[
NetRisk%=
\frac{25}{10,000}\times100
]

[
=\boxed{0.25%}
]

Thus total lots may rise while original capital risk remains controlled.


18. PR Risk Efficiency Ratio™

Define:

[
\boxed{
PRER_t=
\frac{LP_t+UP_t}{NR_t}
}
]

Where:

LP = Locked Profit

UP = Unrealized Profit

NR = Remaining Net Risk

Suppose:

[
LP+UP=$180
]

and:

[
NR=$30
]

Then:

[
PRER=
\frac{180}{30}
]

[
=\boxed{6.0}
]

or:

[
\boxed{6:1}
]

The objective is to create increasing favorable exposure relative to decreasing remaining capital risk.


19. Complete XAU/USD Example

Assume the daily analysis produces:

PRSRSDBS BUY Reference Zone

[
$4434-$4444
]

Current conditions:

[
Price=4440
]

[
M1EMA10=4448
]

[
M1SMA200=4465
]

Calculate:

SMA200 Gap

[
4465-4440

\boxed{$25}
]

Since:

[
25>20
]

the M1 SMA200 condition qualifies.

EMA10 Gap

[
4448-4440

\boxed{$8}
]

Since:

[
8>5
]

the M1 EMA10 condition qualifies.

Assume:

[
Q_t=0.82
]

Then:

[
Q_t\ge0.70
]

Therefore all major entry gates qualify.

The system may permit:

[
\boxed{Scout\ BUY}
]

If price then strengthens and confirmation increases:

[
4440
\rightarrow4450
\rightarrow4460
\rightarrow4470
\rightarrow4480
]

the risk pyramid can potentially progress:

[
0.01
\rightarrow0.01
\rightarrow0.02
\rightarrow0.02
\rightarrow0.04
]

subject always to:

[
\boxed{NR_t\le R_{MAX}}
]


20. PR Mathematical Architecture™

The full methodology can be summarized as:

[
\boxed{
PR\ Cluster
+
Daily\ PRSRSDBS
+
M1SMA200\ Gap
+
M1EMA10\ Gap
+
Liquidity
+
Macro\ Correlation
+
Quant\ Confirmation
+
Risk\ Control
}
]

The mandatory M1 conditions are:

[
\boxed{
M1SMA200-Price>$20
}
]

and:

[
\boxed{
M1EMA10-Price>$5
}
]

The master decision equation is:

[
\boxed{
PRBUY_t=
Z_t
\times
I(SMA200_t-P_t>20)
\times
I(EMA10_t-P_t>5)
\times
I(Q_t\ge0.70)
\times
I(NR_t\le R_{MAX})
}
]

with:

[
\boxed{
SHORT_t=0
}
]

and:

[
\boxed{
R_{MAX}=Equity\times MaximumRisk%
}
]


21. Operational Sequence

The complete PR execution sequence is:

[
\boxed{
PROJECT
\rightarrow
WAIT
\rightarrow
DISPLACEMENT
\rightarrow
CONFIRM
\rightarrow
BUY
\rightarrow
PYRAMID
\rightarrow
RISK\ LOCK
\rightarrow
HARVEST
}
]

If conditions deteriorate:

[
\boxed{
REDUCE
\rightarrow
EXIT
\rightarrow
FLAT
\rightarrow
WAIT
}
]

Not:

[
\boxed{REVERSE\ TO\ SELL}
]


Core PR Principle

I do not buy XAU/USD simply because Gold has fallen.

I look for Gold to:

reach a predefined PR Cluster or daily PRSRSDBS reference zone,

then become:

[
\boxed{>$20\ below\ M1\ SMA200}
]

and:

[
\boxed{>$5\ below\ M1\ EMA10}
]

while sufficient quantitative confirmation is present.

Only then is capital permitted to enter the market.

The philosophy can be reduced to:

[
\boxed{
LOCATION
\rightarrow
DISPLACEMENT
\rightarrow
CONFIRMATION
\rightarrow
CONTROLLED\ EXPOSURE
}
]

PR Cluster Theory tells me where.

PRSRSDBS tells me which daily zones matter.

M1 SMA200 identifies deep intraday displacement.

M1 EMA10 provides short-term timing displacement.

The PR Quant Score determines whether enough confirmation exists.

The PR Risk Pyramid determines how much exposure is permitted.

PR Risk Lock determines how much original capital remains at risk.

And the directional rule remains:

[
\boxed{\textbf{BUY THE QUALIFIED ZONE — OR REMAIN FLAT.}}
]

Piyush Ratnu

Quant Gold Strategist

◆ PR Proprietary Framework™

PR Cluster Theory™ • PRSRSDBS Zones™ • PR Quant Buy Model™ • M1 Dual-MA Displacement™ • PR 1–3–5 Rule™ • PR Risk Pyramid™ • PR Risk Lock™ • PR Risk Efficiency Ratio™

◆ PRSRSDBS™ — Proprietary Algorithm by Piyush Ratnu

This framework presents a proposed quantitative trading methodology. Thresholds, weights, scoring rules and risk allocations should be independently back tested across multiple XAU/USD volatility regimes before being described as statistically validated. Contract size, margin, spread, swaps, slippage and execution conditions vary across brokers. Exclusive Copyrights – Piyush Ratnu.

Piyush Ratnu XAUUSD Gold Algorithms Analysis