Dovee reference
Every Dovee word and indicator — signature, parameters, return value, and a copy-paste example. English names, not Pine ta.*.
Language basics (comments, operators, colors), then every indicator. Pick a name, read parameters, paste the example into Dovee on the chart. Tour: Dovee page.
Start with these 10
ema— Follow the trend; fast vs slow EMA crossovers.sma— A slower trend line — support and resistance.rsi— Spot overbought / oversold turns.macdline— Momentum and trend change.supertrend— Stay with the trend; trail with ATR.atr— Measure volatility; size stops as stop 2 atr.bbupper— Upper Bollinger — stretch and mean reversion.bblower— Lower Bollinger — stretch and mean reversion.vwap— Intraday fair value vs the session average.adx— Trend strength (not direction). High ADX = a real trend.
216 of 216 entries.
Language basics
Comments, operators, variables, colors, true/false, and how a script is evaluated.
commentsLine comments. The compiler ignores them.operatorsArithmetic, comparison, and grouping. English forms (is above, and) are preferred in rules.variablesStore a series or number and reuse it in plots and rules.colorsNamed colors for plot, fill, level, and paint.trueBoolean literals. true is 1, false is 0.blocksThree ways to write a when body: indent, then, or curly braces.bar-closeScripts run once per closed bar — not tick-by-tick.pointsPrice-distance unit for stop, target, and trail.percentPercent-of-entry unit for stop and target.
Language
Rules, orders, chart marks, inputs, and risk — the words you write, not functions.
strategyNames the script in the editor and on deploy. name is the same word.whenA rule: if the condition is true on the closed bar, run the body. if is the same word.thenOne-line form of a when rule.elseOpposite side of the previous when.buyOpen or add a long (or cover a short if the script is short only).sellOpen a short, or close a long when the script is long only or one-trade-at-a-time (default).exitFlatten the position. close is the same word.long onlyIgnore shorts. sell becomes an exit.short onlyIgnore longs. buy is not used as an entry.onceOne trade at a time (this is already the default).re-entryAllow another entry while already in a trade.sessionOnly signal inside this clock window (chart timezone).functionLightweight reusable condition or expression (not a full programming language).timezoneIANA timezone for session, hour, weekday, and period levels.onRead a series from another timeframe (multi-timeframe).previous-day-highPrior completed calendar day's high (also low / open / close).session-highDeveloping high of the script session window.flatSimulated strategy state (not a broker position).stop-atDynamic analytical stop / target from an expression.initial-capitalBacktest / analysis configuration (statistics only).plotDraw a line on the chart. show is the same word.fillShade the band between two plotted series.levelHorizontal line — typical for oscillator panes.arrowTriangle marker on the bar. Use inside when.labelText tag on the bar. Use inside when. Optional up / down.paintTint the background of that bar. Use inside when, or paint … when … on one line.alertNotify without placing an extra order.noteWrite a timestamped debug line without changing orders.oscillatorPut plots in a separate pane (RSI, MACD, and similar).inputA number the trader can change in the script inputs UI.stopStop loss from entry, in points, percent, or ATR.targetTake-profit from entry — one level, or up to three.targetsMultiple take-profits with quantity percents.trailTrailing stop distance from price.qtyScript-side quantity hint stored on the risk plan.crosses aboveTrue when a crosses from below b to above b on this bar.crosses belowTrue when a crosses from above b to below b on this bar.is aboveTrue while a > b. Not a cross — it can stay true for many bars.is belowTrue while a < b.risingThis bar is higher than the previous bar (or N bars back as a function).fallingThis bar is lower than the previous bar.andBoth sides must be true.orEither side may be true.notInverts a condition.bullishClose is above open on this bar.bearishClose is below open on this bar.dojiOpen and close are nearly equal (body ≤ 10% of the range).hammerLong lower wick, small body — typical reversal shape.engulfingThis bar’s body fully covers the previous bar’s body.shootingstarLong upper wick, small body, short lower wick — typical rejection high.insidebarThis bar’s high and low stay inside the previous bar’s range.pinbarSmall body with a long wick on either side.mondayTrue on that weekday of the bar (chart timezone).historyPrevious bars: close 1 bars ago is the prior close.
Price series
OHLCV and typical-price helpers available on every bar.
closeClose of the current bar. Default source for ema(9) and similar.openOpen of the current bar.highHigh of the current bar.lowLow of the current bar.volumeBar volume.timeBar time (unix seconds).hourHour of the bar (0–23), chart timezone.minuteMinute of the bar (0–59), chart timezone.hl2Median price (high + low) / 2hlc3Typical price (high + low + close) / 3ohlc4Average of open, high, low, close
Math & comparisons
Abs, round, min/max, highest/lowest, powers, and crossover helpers.
absAbsolute value of each bar.maxLarger of two series, bar by bar.minSmaller of two series, bar by bar.roundNearest integer, bar by bar.floorRound down to the integer.ceilRound up to the integer.sqrtSquare root.logNatural logarithm.signSign of the value: -1, 0, or 1.powRaise base to exponent, bar by bar.changeDifference vs length bars ago (source − source[length]).naNot available — no number on this bar.replaceMissingReplace na with a number (default 0).barssinceBars since the condition was last true.highestHighest value of series over the last length bars.lowestLowest value of series over the last length bars.crossoverFunction form of a crosses above b.crossunderFunction form of a crosses below b.
Moving averages
Smoothing of a series. Short form uses close: ema(9) is ema(close, 9).
emaExponential moving averagesmaSimple moving averagewmaWeighted moving averagermaWilder moving average (RMA / SMMA)demaDouble exponential moving averagetemaTriple exponential moving averagehmaHull moving averagealmaArnaud Legoux moving average.zlemaZero-lag EMAkamaKaufman adaptive moving average.trimaTriangular moving averagemcginleyMcGinley dynamicvidyaVariable Index Dynamic Averaget3Tillson T3 moving average.lsmaLeast-squares moving average (linear regression)linregslopeSlope of the linear regressionvwmaVolume-weighted moving average
Bands & channels
Upper / mid / lower as separate English names — not Pine tuple indexes.
bbupperBollinger upper bandbbmidBollinger middle band (SMA)bblowerBollinger lower bandbbpercent%B (percent b)bbwidthBollinger bandwidthkeltnerupperKeltner upper (EMA + ATR)keltnermidKeltner middle (EMA)keltnerlowerKeltner lower (EMA − ATR)donchianupperDonchian upper (highest high)donchianmidDonchian midlinedonchianlowerDonchian lower (lowest low)envupperMoving-average envelope, upperenvmidEnvelope middle (SMA)envlowerMoving-average envelope, lowervwapupperVWAP upper bandvwapmidVWAP (mid of VWAP bands)vwaplowerVWAP lower bandstarcupperSTARC upper (SMA + ATR)starcmidSTARC middle (SMA)starclowerSTARC lower
Trend
Direction tools: Supertrend, DMI, Ichimoku, Alligator, SAR, SSL.
supertrendSupertrend line (ATR stop that flips with price).sarParabolic SAR.adxAverage Directional Indexplusdi+DI (positive directional index)minusdi−DI (negative directional index)tenkanIchimoku conversion line (Tenkan-sen).kijunIchimoku base line (Kijun-sen).senkouaIchimoku Senkou Span A (cloud edge).senkoubIchimoku Senkou Span B (cloud edge).jawAlligator jaw (SMMA 13 of median)teethAlligator teeth (SMMA 8)lipsAlligator lips (SMMA 5)gatorupperGator oscillator, uppergatorlowerGator oscillator, lowerchandelierlongChandelier exit (long)chandeliershortChandelier exit (short)sslupSSL up linessldownSSL down linearoonupAroon uparoondownAroon downaroonoscAroon oscillatorviplusVortex +VIviminusVortex −VIelderbullElder Ray bull powerelderbearElder Ray bear power
Oscillators
RSI, MACD, Stochastic, TSI, and other bounded or zero-line oscillators.
rsiRelative Strength IndexmacdlineMACD line (fast EMA − slow EMA)macdsignalMACD signal linemacdhistMACD histogram (line − signal)stochStochastic %KwilliamsrWilliams %RstochrsiStochastic RSI %KstochrsidStochastic RSI %DcciCommodity Channel IndexmfiMoney Flow IndexrocRate of change (%)momMomentumcmoChande Momentum OscillatortrixTRIXdpoDetrended price oscillatorppolinePercentage Price Oscillator linepposignalPPO signal lineppohistPPO histogramfisherFisher TransformfishertriggerFisher triggercoppockCoppock curvesmiStochastic Momentum IndexsmisignalSMI signaltsiTrue Strength IndextsisignalTSI signal linerviRelative Vigor IndexrvisignalRVI signalkstKnow Sure ThingkstsignalKST signalmassMass IndexaoAwesome OscillatoracAccelerator OscillatorbopBalance of PowerchopChoppiness IndexuoUltimate OscillatorqstickQstickstcSchaff Trend CyclestddevStandard deviationhistvolHistorical volatility
Volume
Flow and volume-weighted measures.
obvOn-Balance VolumevwapVolume-weighted average pricevwapsdVWAP volume-weighted deviationadlAccumulation / Distribution (ADL)chaikinChaikin oscillatorcmfChaikin Money FlowforceForce IndexpvtPrice-volume trendnviNegative Volume IndexpviPositive Volume IndexklingerKlinger volume oscillatorklingersignalKlinger signalvolumeoscVolume oscillator (%)vzoVolume Zone OscillatorpvoPercentage Volume OscillatorpvosignalPVO signal linepvohistPVO histogramwilliamsadWilliams Accumulation/DistributioneomEase of Movement
Volatility
Range and deviation: ATR, NATR, Ulcer, historical volatility.