腳本庫

腳本庫

GeneticAlgorithmMultiObjectiveLibrary "GeneticAlgorithmMultiObjective"
Fast multi-objective genetic algorithm (NSGA-II) for Pine Script. All objectives are MAXIMIZED. Real-coded genes with SBX crossover and polynomial mutation, true Pareto fronts, per-front crowding distance, and elitist environmental selection.
createConfig(populationSize, geneCount, objectiveCount, minValues, maxValues, mutationRate, crossoverRate, elitismRate, tournamentSize, maxGenerations, etaCrossover, etaMutation, useSBX)
Creates a GA_Config.
腳本庫

腳本庫

FinaspexThemeFinaspexTheme is the shared colour library of the indicators. It provides eight themes: Executive Slate, Warm Paper, Nordic Frost and Porcelain Minimal (light), and Institutional Dark, Espresso, Emerald Night and OLED Contrast (dark). Each theme is one Palette object with the table background and text, borders, header blocks, accent, status fills and status text colours, period-matrix colours, and the table font (Warm Paper uses a monospace font).
How to use it
import Finaspex/FinaspexTheme/1 腳本庫

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 腳本庫

CryptonianFibForecastLibrary "CryptonianFibForecast"
Fibonacci Forecast v1. Immutable-by-convention confirmed A-B-C geometry, projected D, and conservative confirmed-bar resolution. No drawings, inputs, market data requests or trade signals.
createABCD(a, b, c, abSwingId, bcSwingId, abEndBar, bcStartBar, scenarioId, publishedBar, publishedTime, minBC, maxBC, currentClose, currentHigh, currentLow)
Build an eligible A-B-C projection from consecutive CONFIRMED swings; caller must use a confirmed host bar. Rej 腳本庫

CryptonianFibConfluenceLibrary "CryptonianFibConfluence"
Fibonacci confluence geometry v1. Chart-free, deterministic, bounded comparison of confirmed swings.
No input, chart drawings, data requests, future-looking logic or trade signals.
find(la, lb, ma, mb, lFromBar, lToBar, mFromBar, mToBar, lId, mId, tolerance)
Find the closest matching retracements of two distinct confirmed swing degrees.
Parameters:
la (float) : Start price of local movement.
lb (float) : End price of local movement.
ma 腳本庫

CryptonianFibStructureLibrary "CryptonianFibStructure"
Fibonacci confirmed swing scanner. v1 / engine v0.2.0.
ALL candidate pivots must be provided by the host chart after right-side confirmation.
No requests, inputs, forward-looking calculations, plots, or signal generation.
advance(state, pivotHigh, pivotLow, pivotBar, pivotTime, confirmedBar, confirmedTime, minimumMove, minimumBars, minimumATR, pivotATR)
Advance ONE confirmed-bar structural degree. Caller must gate with barstate.isconfirmed.
Parameters 腳本庫

腳本庫

腳本庫

腳本庫

腳本庫

腳本庫

腳本庫

腳本庫

腳本庫

腳本庫

腳本庫

ChartKitLibrary "ChartKit"
Chart utilities: timeframe names and seconds, ticker checks, time and countdown texts, sending each alert line once, line styles from text, text boxes at the end of horizontal lines, merging the texts of line labels at the same price, label suffixes, outlined boxes and plain labels, boxes between two prices, keeping the newest labels, session checks for any timestamp, a per-bar drawing budget, and short settings codes (mixed radix, base 32, check character).
tfReadable(ti 腳本庫

腳本庫

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 腳本庫

TEProfile PeaksShelvesVisits SessionFoldLibrary "TEProfile_PeaksShelvesVisits_SessionFold"
Market-profile and fitting maths for Pine arrays: a volume profile's point of control and high-volume rows, time-at-price shelves, visits to a price band and how each ended, an ordinary least-squares fit with a band side and a fit-window picker, a Wilder ATR over arrays, a CME Globex session fold with the prior trading day's value area, a log(1 + k) table and small array helpers. No trading rules.
pushTagged(cP, cT, cL, price, ty, lb)
ap 腳本庫

腳本庫
