Lab · English

Tools, scripts and things I build to understand them.

This is the technical corner of the site. It is separate from my bookkeeping business on purpose — different audience, different language, different rules.

CClaudeTVTradingView

Pine Script v6 — a development standard

TradingView · ongoing

01
The problem
A large share of publicly shared TradingView scripts repeat the same handful of mistakes: strategies with entries but no exits, security calls inside conditional blocks that cause repainting, no guards against na values on early bars, and booleans passed to plot() instead of plotshape().
The approach
Every script follows the same rules. Version declaration and author header first. All parameters exposed through input.*() so they can be changed from the settings panel. Then a three-part checklist before anything ships — compilation, logic, style. And scripts are always delivered complete, never as a diff or a snippet, because merging fragments by hand is where new bugs come from.
Why it matters beyond trading
It is the same idea as everything else I build: do not hunt for mistakes afterwards, design the process so they cannot happen.
Pine Script v6 TradingView Static checking

Rules as code — a content system

Automation · 2026

02
The problem
Running a regulated business means every public sentence has to stay inside a legal boundary. In my case German tax law (§ 6 Nr. 3 StBerG) forbids offering or implying tax advice. Checking that by hand, every time, does not scale.
The approach
Five building blocks — one each for long-form articles, professional network posts, newsletters and social posts, plus one for development work. Brand voice, audience, structure, storage location, a pre-save checklist and the legal boundary are wired into each of them as non-negotiable rules.
Result
Drafts arrive already compliant. The constraint is enforced by the system, not remembered by a person at eleven at night.
Workflow design Compliance by design Content operations

No investment advice. Everything in this Lab is technical and educational material. Nothing here is a recommendation to buy or sell any financial instrument, and nothing here is financial, investment or tax advice. Trading carries risk; scripts can contain errors. Test anything you use on your own.