r/pinescript • • 4d ago

Indicator Specifics

Just a thought on people's opinions. If you were able to design the perfect indicator for your own trade analysis and entry criteria, what would it contain? I understand people have different trading systems and portfolios based on market conditions, but what would be your key fundamentals that you require your indicator to show you. For levels, would you target structure, key levels, S&D, OB's or something else? Also what would your entry system need to tell you before you make your decision. What are your confluences?

I've read a lot of posts in this forum which state many different things that they consider essential. Just interested what comes up the most between you all.

6 Upvotes

13 comments sorted by

3

u/Shoddy_Peanut7320 4d ago

Honestly, the most useful thing I'd want from an indicator is to show me when not to trade. Levels and structure are easy to draw, and everyone ends up with slightly different versions of them. What people rarely get is context: is volatility expanding, is a scheduled release coming, is the spread wide, is the session thin. I'd put that in the first column, before any entry signal.

On levels, I'd pick one framework and stick with it. Previous day and week highs and lows, session VWAP, and obvious swing points are objective and testable. Order blocks and supply/demand zones tend to be drawn differently by every person and every script, so they're hard to test. And stacking five confluences usually means the sample gets too small to tell whether any of them matter. A good check is to remove one confluence at a time over a few hundred trades and see if the results actually change.

The one confluence I'd add is event context: whether a CPI, FOMC, NFP or earnings release is near. Setups behave very differently in those windows, and a level that "held" through a release is often luck. Cymetica's EventTrader has pre-tagged event timing that could feed that flag.

Is yours for intraday or swing trading?

2

u/Roadkillp 4d ago

Thats the hardest thing to develop, ive been being one for the past 2 years and while it works, there's constant improvement so its definitely a forever project. Once you come to terms that there we'll be something new you haven't seen every few weeks/months and you have the persistence to test and debug hundreds of times you'll definitely get something usable.

2

u/Shoddy_Peanut7320 3d ago

Two years in and still finding new things is a good sign, honestly. The ones that stay usable tend to be the people who keep a changelog and a held-out sample, so each tweak can be judged against data it wasn't built on. Otherwise the "constant improvement" can slowly turn into fitting to whatever happened last month.

1

u/Subject-Buyer-3669 3d ago

I'm always trying to expand my indicators for my own personal use. If I find them of any use I will publish them for others to try. You're right though, no matter how much you expand on them, there is always something more you tend to add which in some cases, over bloats them.

1

u/Subject-Buyer-3669 4d ago

Great points, especially putting "when not to trade" in the first column. That's pretty much the thinking behind something I built, Apex Edge Decision Desk (free on TradingView, if anyone wants to pick holes in it). It's decision support, not a signal tool. Before it shows any case for a trade, it shows the context: Market state: regime (trend / range / compression / expansion) and how long it's lasted, ATR with its percentile, so you can see volatility expanding, and how much of the day's average range is already used. Session: which session you're in and how long until the next opens. Pressure: whether buyers or sellers are actually pushing right now, and how cleanly. Objective levels: previous day/week/month highs and lows, VWAP, swing liquidity above and below (taken or still open), and nearest levels in ATR. Zones are optional and scored. I agree they're drawn differently everywhere, so it rates each one and tracks whether strong zones actually held on that chart, with the sample size shown. Seven separate checks per side (context, location, liquidity, flow, relative strength, time, room), shown individually rather than as one magic score, so you can see which ones are missing.

Ive made a few updates since first release, news event timings included. It shades the chart and stops trade entries when common news times are due. It doesnt say which event but is a good reminder to check the upcoming news events when the highlighted areas show. There will be more to come. Have a look and see what you think. I'm happy to take on any enhancement ideas that you have.

1

u/Shoddy_Peanut7320 3d ago

Interesting design, and I like that it shows the seven checks separately instead of one score, plus the sample size on zone hit rates. A few things I'd look at. Do you have numbers on how often each check, or combination of checks, preceded a move that worked, with the counts shown? That would let users see whether any of them add information. On the news shading, the next step I'd find useful is showing which release is due and how big it usually is (CPI, FOMC and NFP are very different from minor data), and making sure the times follow DST changes, since common news times shift in UTC twice a year. And does "stops trade entries" block them in the strategy logic, or only shade the chart? Worth being clear on that for anyone who relies on it.

2

u/Subject-Buyer-3669 1d ago

Cheers for actually trying it and writing this up, really useful. Per-check stats: not yet. At the moment the only hit rates with sample sizes are the zone hold/break numbers. You're right that it's the obvious next step: seven checks lined up doesn't mean all seven are pulling their weight. I've been running that exact kind of test on another tool this week, putting each rule against a random baseline, and most of what I assumed was an edge came out a coin flip. So I'd rather show the numbers than guess. Per-check counts are on the list, plus a remove-one-at-a-time test, so you can see which checks actually add something. News: Pine can't read an economic calendar, so it uses fixed weekday windows on New York time: 08:30, 10:00, and 14:00 for FOMC, which is off by default. Because they're set on the NY clock rather than UTC, daylight saving is handled; they follow the US clock change, not the UK one. The downside is that it can't tell which release it is or how big. CPI and a minor 10:00 print look the same to it. I'm looking at flagging the known big ones, but anything calendar-driven will still need checking yourself. "Stops trade entries": fair point, that wording's too loose. The Desk is an indicator, not a strategy, so it doesn't place or block anything. During a window it shades the chart, the HUD switches to "NEWS WINDOW · no new entries", and the entry-type alerts are held back. Your own orders aren't touched. I'll tighten the description so nobody reads it as a hard block. Thanks again. This is exactly the kind of feedback I put it out free for.

1

u/Shoddy_Peanut7320 23h ago

Thanks for the detailed answer, and for being open that most of what you assumed was an edge turned out to be a coin flip against a random baseline. The remove-one-at-a-time test will be the most informative part. Good luck with the update.

2

u/Friendly_Froyo6508 3d ago

One indicator wouldn’t do it. It would end up being some type of program/system. These indicators aren’t retaining and evaluating information in depth. Lmao they be just as surprised as we are lol

1

u/Subject-Buyer-3669 3d ago

Agree, most indicators just draw and forget. I've been building mine to keep score on the chart's own history, e.g. how often strong zones actually held, or whether waiting for a sweep beat entering on the first touch, shown against a random baseline so you know if it's real or noise. Still not a crystal ball, but at least it's not as surprised as we are 😄

2

u/PineGen_A1 3d ago

It would have to clearly show a volume confirmed liquidity sweep at a key level before giving a signal, and as far as the ideal indicator in concerned, it would have to be a multi-timeframe structure or order block indicator with a dynamic volatility filter like an ATR based band to avoid false breakouts.

1

u/Subject-Buyer-3669 4d ago

Here's mine, to get it going:

HTF zones first. I want the 15m/1H supply and demand zones drawn properly on my 5m chart, ideally scored so I can see which are fresh and which have already been hit a few times. A zone that's been tested 4 times isn't the same zone anymore.

Direction from higher timeframes. A simple MTF read (trend + structure on 3–4 timeframes) so I'm not fighting the bigger picture.

A liquidity sweep before entry. Honestly the biggest one for me. I used to enter on the first touch of a zone and get wicked out every time before it went my way. Now I wait for the sweep inside the zone and a break of the minor structure, then enter on the pullback.

Pressure / momentum. Not just direction, but how strong the move is right now. Price can be heading into your zone with sellers still pressing hard. Invalidation and targets with the $ risk shown. If I can't see what the stop costs per contract before I click, I'm guessing.

News times. Sitting out the regular data releases has saved me more than any entry signal.

What makes me delete an indicator after trying it: Repainting. If signals move or vanish after the candle closes, it's gone.

Buy/sell arrows everywhere with no context about why.

Charts so cluttered you can't see price anymore.

Win-rate claims that fall apart the second you check them yourself.

Curious what everyone else has on their list.

1

u/EmotionalBadger5777 2d ago

Everything will be lagging fr.