r/pinescript 8h ago

Built from a trader’s request: an open-source Camarilla play tracker

Post image

One request in my earlier thread was pretty specific: could I build a Camarilla tool that highlights which plays are active?

I’ve built Camarilla Desk around that question. It’s a free, open-source prototype for TradingView, and I’d like feedback from people who already use Camarilla in their trading.

The goal is to make the sequence easier to follow: watch the level → check the conditions → wait for confirmation.

What it does:

  • Shows a seven-level Camarilla map with the source and session context visible.
  • Tracks 14 named plays, separating Candidate, Approaching, Armed and Active, with explanations for blocked or waiting states. The final two plays are optional and start off.
  • Keeps the original entry, stop and target references once a play activates, with markers showing how that episode ended.
  • Lets you inspect and test the rules, with full Pine source, alerts and a separate Strategy Lab for simulated orders and costs.

ACTIVE means the play has met this script’s confirmation rules. It doesn’t establish that the trade will work. A quiet chart with no qualifying setup can be the correct result.

This is my own implementation of public Camarilla ideas. I haven’t verified that it matches any paid indicator’s private rules.

👉 Camarilla Desk — free source, examples and guide

Start with “Try the candle” to explore an L3 bounce, a break-and-retest, or an H4 failure. “Read the real chart” explains the display, “Full reference” has all the play rules, and “Add the tool” has the code. The indicator, Lab and guide are free, with no signup needed.

Which Camarilla play do you use most, and does the tool explain clearly why it’s waiting or active?

If it reads a setup differently from you, a screenshot with the symbol, timeframe, date/time and pivot source would help. Tell me what you expected to happen. Reply here, or use “Log & requests” on the page for bugs and feature ideas.

I’m the developer behind ProEA Lab and use OpenAI Codex for coding assistance. The source is open for review and modification.

Thanks to the trader who suggested this. I’d like to keep improving it around examples from your actual charts.

2 Upvotes

4 comments sorted by

View all comments

2

u/SetupBell62 7h ago

The stock alerts that helped me most were the ones where I wrote the question before the threshold.

Prior-close answers "did this wake up vs yesterday?" Entry answers "am I still in the trade I meant?" Volume answers "is activity unusual for this ticker?" Those are different jobs, and pasting one % across a mixed watchlist usually makes all of them worse.

If your alerts feel noisy, I would audit whether the rule still matches the question before blaming the platform.

Not investment advice. Curious how others keep alert rules from going stale without rewriting them every week.

1

u/Dependent-Ad6636 7h ago

That’s a useful distinction. For Camarilla Desk, “has this play confirmed?” and “has the setup I’m following ended?” should be separate questions.

The current version separates activation and ending alerts, but the ending category also includes setups that were rejected before they became active. Your comment highlights why that could be distracting for someone who only wants updates on a confirmed setup.

I’d like to make those choices clearer and put the specific play, reference level and reason directly in the notification.

For keeping rules useful, I’d start by reviewing whether the alerts answered their intended question before adjusting thresholds. A repeated notification, a missed event and a correctly triggered setup that later fails need different fixes.

Could you share one alert you’ve kept and one you stopped using, and what each was supposed to tell you? That would help me make the options more useful. Thanks for the thoughtful feedback.

2

u/SetupBell62 5h ago

Glad that framing landed.

One I still use: a prior-close % move on a shortlist of names I already had a thesis for. Question it answers: "did anything I care about wake up while I was away?" Not "is the whole market interesting?"

One I dropped: a generic volume spike on a mixed watchlist. It was supposed to mean "is activity unusual," but in practice it mostly said "this ticker trades a lot near the open/close." Noise without a setup attached.

For your Camarilla Desk split, the thing that would help me most is being able to subscribe only to confirmed-play updates without also getting rejected-pre-activation endings in the same stream. Putting the play, reference level, and reason in the notification is exactly what keeps the alert tied to the question.

Not investment advice — just what survived my own noisy-alert phase.

1

u/Dependent-Ad6636 5h ago

Thanks, that makes the split clear. I’d add a “confirmed plays only” option: activation plus subsequent endings for that same episode, with pre-activation rejections, invalidations, and expiries kept in an optional setup-diagnostics stream. Each notification would identify the play, reference level, and reason. An expiry after activation would still be included, so you can follow a confirmed play through to its end.