Bibliothèque

Bibliothèque

CryptonianFibTradeLibrary "CryptonianFibTrade"
Fibonacci Trade Engine v1. Confirmed-bar entries, frozen geometry, unambiguous closed-bar lifecycle.
Signals are reference-price decisions, NOT broker fills. Never infer intrabar order.
createPosition(newId, sourceWatchId, dir, signalClose, thesisStop, sourceObjective, confirmedBar, confirmedTime, requiredRR, tp1RiskMultiple, tick)
Create only on the ACTUAL first completed confirmation candle of a still-active source watch. The host enforces this.
Paramet Bibliothèque

BULiquidityCore, v1Library "BULiquidityCore"
Phase 4.4.12.1 reusable historical liquidity and structural calculations.
This library deliberately holds NO setup-specific persistent arrays or input settings.
All caller-owned liquidity-bank arrays and configurable thresholds are parameters.
storeInBank(linePrice, originBar, lineSide, lineState, lineSource, lineStrength, outEventBar, isLocal, enabled, mergeTolerance, maxStored, bankPrice, bankBar, bankOutBar, bankSide, bankState, bankSource, bankStrength)
Para Bibliothèque

CryptonianEWAlertsLibrary "CryptonianEWAlerts"
Cryptonian Elliott Wave Alerts /1. Owns universal Elliott event aggregation, de-duplication and trader-facing alert messages while preserving Audit /1 production gating.
process(symbolTf, lastEvent, primaryKey, lastInvalidCountKey, forecastKey, tradeSetupId, tradeSetupType, tradeDirection, tradeEntry, tradeStop, tradeTp1, tradeTp2, primaryStartedNow, primaryRevisedNow, countInvalidatedNow, committedPivotNow, impulseCompletedNow, correctionCompletedNow, freshFvgC Bibliothèque

Bibliothèque

Bibliothèque

TEStructure PivotSwings Clusters RowProfile- `pivotSwingsInto(array h, array l, int left, int right, int lowT, int highT, int lowL, int highL, array cP, array cT, array cL, array ts, int dur, int pack = 32)` — writes every pivot low and pivot high of the arrays into three parallel output arrays. Bar i is a pivot low when no bar in has a lower low and at least one other bar there has a higher low (equal lows are allowed; a flat window is not a pivot); a pivot high is the mirror. The low is written before the high for the same bar.
- `st Bibliothèque

Indicateur

Bibliothèque

Bibliothèque

Bibliothèque

XZ_SD_AlertsLibrary "XZ_SD_Alerts"
XZ S&D Alerts v1. Notification-only support library for already-committed XZ Supply & Demand engine events. It owns alert filtering, Horizon admission, message formatting, aggregation and alert() dispatch. It never creates or reinterprets S&D lifecycle events.
route(base_message, event, enabled, source_scope, zone_scope, supply_events, demand_events, zone_confirmed, wick_test, partial_consumption, swing_promoted, zone_consumed, zone_horizon, horizon_timezone, referenc Bibliothèque

ReadableTimeframeAlertsFixes the "what timeframe is this?" problem.
Pine's timeframe.period gives you raw values like "60", "240", "1D", "3M" — accurate, but not something a normal user can read at a glance. If your alert says "Zone formed on 360," most people have no idea that 360 means the 6-hour timeframe.
This library converts that raw string into a proper readable label: "60" becomes "1 Hour", "240" becomes "4 Hours", "1D" becomes "Daily", "3M" becomes "3 Months", and so on — covering minutes, hours, days, week Bibliothèque

Bibliothèque

Bibliothèque

Bibliothèque

Bibliothèque

Bibliothèque

Bibliothèque

Bibliothèque

MaidongAlertLibraryLibrary "MaidongAlertLibrary"
Maidong Alert Library is a Pine Script library built to standardize alert formatting and dispatch across signals, order blocks, setups, and analysis modules.
Instead of building alert text separately inside each part of an indicator, this library centralizes message construction, time formatting, directional labeling, and frequency handling into one reusable component.
Core features:
- Supports `Signal`, `Setup`, `Analysis`, and `Order Block Signal`
- Support Bibliothèque

OrderTicketBuilderLibrary "OrderTicketBuilder"
Assembles broker order ticket payloads as JSON strings.
BuildTicket(licenseId, symbol, action, orderType, tradeType, size, price, tp, sl, risk, trailPrice, trailOffset)
BuildTicket assembles a JSON order ticket string for downstream execution.
Parameters:
licenseId (string) : License identifier
symbol (string) : Symbol to trade
action (string) : "MRKT" or "PENDING"
orderType (string) : "BUY" or "SELL"
tradeType (string) : "SPREAD" o Bibliothèque

SimTradeIndicatorsLibrary "SimTradeIndicators"
SimTrade indicator library — exact parity with Python pipeline (TA-Lib + pandas_ta).
Each function replicates the formula used in base.py / signals.py so that
TradingView charts match the GPU hunt / validator / live engine outputs.
Formula sources:
TA-Lib → RSI, ATR, EMA, MACD, CCI, Stoch, WILLR, MFI, ADX, PSAR, OBV, BBANDS, AROON, PPO, AD
pandas_ta → SuperTrend, Vortex, Ichimoku, Donchian, HMA, TSI, CMF, EFI, CHOP, Heikin-Ashi
Manual → Keltner (EMA+ATR Bibliothèque
