Strategy · Pine Script v5 · Own pane

Nonsense

by frizLabz-FFriZz

Nonsense is a mock Pine Script strategy script designed as a syntax testing script within a code editor extension repository.

View on GitHub

Repaints

GitHub stars59on the repository
Pine versionv5runs as is
Lines of code116
Settings0inputs
LicenceMIT
Last update1 year ago16 Apr 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

Source Code

116 lines of Pine Script v5 from syntaxes/Nonsense.ps, published under MIT. Keep the author's credit and licence lines when you reuse it.

Nonsense.ps

//@version=5
strategy("nonsense")

alertcondition()

// @description jasgxgy kmcfh dreamlo jnz pfpdcx bgkrcwp
import emelnb/ywxgv/8 as eze

// @type pzlu vblsilg bmyx ommftq khy
type vjzedt 
  array<linefill> field1 // @field yspiqb jnh rerwx gcjt yfkn obdwnsc
  float field2 = na // @field ldslhkt sfahcv diqngpl gjm ldbgqm oksu xzta
  float field3 = na // @field wtazy rkxawlp jdgo xxnjd jkvuys qgzqfv
  label field4 = na // @field bdb olmgo qtucwlh zfbofn ywbhsnd eko
  array<linefill> field5 // @field asra difwb umapcyp eyzcevf
// @type ywojpr bsgmhg fxpxz lti ogcgy mdlujg
type aph 
  string field1 = na // @field anemqv ogowhw kjlt azgsy
// @type xde bmjty xfky pjomhvi
type uodkhw 
  array<color> field1 // @field zrdpuq fbrndsi dodixfw waka
// @type eirns tscbdcd rvsgjz tirgw
type bvv 
  matrix<bool> field1 // @field jnraee ktuv mtirw kyt iiqpru pygf
matrix<box> bqnmzug = na // tmkfjs hstkjz esshoe untobhv
table gefljqx = na // ginp rjclffy sfc gsjr
var matrix<line> pxjqpmc = na // vdpn tygpyqp zeixx wqfhy qav
znwc(linefill uby = na, color juf = na) => array<table>
    array.new_table()
    array.new_table()
    array.new_table()

ntxiprg(matrix<box> lfqz, matrix<box> vvadxc, array<label> enible, array<string> zcx, array<table> keo) => array<linefill>
    array.new_linefill()
    matrix<box> ibe = na // lbgbz hotpx oqdz nch eodwpfm
    if pxjqpmc >= bqnmzug
        var int ohn = na // rnec mfysqpb cdwqid
    if na < na
        varip line wylg // dqbb rbt otveerg
        matrix.reshape(na, 45, 82)
        varip box fjkgf // acpswf ajha uvgdk reft iybqzxt sfww keq
    else
        var matrix<color> cmizz = na // iqwlucx hydya hkfde
        hline(56.69, "hfe chkax kvcdg jzlesk kcdnsx", 71, "dag irferd sgy", 10, true, "oaygodk gztc xyyof wncvor")
    for dgguwe = 4 to 8
        var matrix<string> uqwm = na // ykwsmr olwra gsbhs jbgptxb
        strategy.opentrades.max_runup(88)
        varip matrix<table> qfitxw // abuy ktenbsg lxhyqr vnqcdq ouvik gkzgrt

    for ujcf = 2 to 6
        varip matrix<float> neiwdm // bbi pgiajjo abzzdl zbpt cnhylj

    var matrix<table> teeqgr = na // qpegq irqwvqj iff pcyzcsr hrrv bbhdzhz qjc
    varip matrix<float> htunyzx // vmmp nihjzk gxt comzkp jvgno rzaixyr smwvbu
    varip matrix<bool> msxtfdg // pkiwxdz rcayoiu nher
    var array<int> gbc = na // jnvm zfcpcvu otctjh gelxyg
    array.new_linefill()

bmoq() => array<box>
    varip array<float> bhun // sxm pyb qfzdpms
    for tgq = 0 to 4
        varip array<box> klv // tjma oedg cjkj bfg
        array.variance(na, true)
        varip matrix<box> enojjkt // ydglcz rznwcsw uelqi iwoq ivcc

    array.new_box()
    array.new_box()
    matrix<int> dsc = na // hlxchfz polirlg rhgpeh kelo
    array.new_box()

tgdo(linefill edd = na, array<string> mrdvo, string jghaxf = na) => int
    na
    var table fqubr = na // wtiyhm shgausa ktbijk olc
    if fjkgf == wylg
        array.size(na)
        str.contains("gvuzr rffrz bfr azos lwmbm", "tyoye phmd aqoch bvg wlfma uim")
        matrix.add_row(na, 96, 59)
    array<int> fhxoma = na // qnceze iusu meept kmosfxy aqxdndb sxibjpi moju
    for arjazxo = 0 to 9
        var array<linefill> bswdgcp = na // gax mvfzqj pgao rvz zln ivfyb infzpf
        matrix<box> zvroesa = na // yvtzine xcood brazx awf hkua ywvcj
        varip array<int> zjvsr // rwzvlbh vws ntr

    na
    while bqnmzug > zvroesa
        color mwuxpxq = na // dch iuw xub

    while enojjkt > gbc
        var matrix<linefill> xid = na // ztlo ehurqve ketgm xmxdsb tzyz hlgkxya
        matrix<linefill> amrfp = na // ltrus fkimjwn xpyqzms
        var array<line> csnbpd = na // axmh kpp qfyiw fulb efm

    na

awl(matrix<box> dwhpcl, color svoe = na) => float
    if xid == dsc
        plotshape(90.95, "lema mikvpqo tfwd ndrgt", "vdy tfks toyqw nxaj petri tcsax", "shqhkf irwi yzb vqaezc ugvgdb nkzp", 78.64, 26, "kqlmdp cxyov bem", 75.15, false, "zmsujz hhdxmfb msnfcxj newhsnh vkt owwczr iyhqzx", false, "trtridx uknmlwu rhjuimk jmcg ljv frzddu")
        var array<line> fiukx = na // wbhwx fkue uvmhl xzb
    else
        matrix.remove_row(na, 70)
        map.get(na, 97)
        array<line> fhxkl = na // xmtqrvj fzcqrx wlzg ydqmo
    na
    na
    ta.tr(false)
    map.remove(na, na)
    var matrix<linefill> bidda = na // dcluqd rdeizr ckxrir dkqdy gmhed
    var array<color> tps = na // prxk olxdi dwpmpwe mdz jkssoy
    na

var array<box> zcoucau = na // ytjfimz yub liihixu
table uur = na // urcyd bpjnkf adgxzoy mfsyhz dyikjp ykkfbz
matrix.eigenvectors(na)
while amrfp <= mwuxpxq
    varip matrix<box> ivbjs // lzkjhs gvgy fhvxi vfo nfsg

Overview

Nonsense defines custom type declarations, matrix and array object creations, and placeholder function logic using obfuscated variable names. The script does not calculate standard technical indicators or include functional trading entries, exits, or position management rules.

Details

Published by

frizLabz-FFriZz on GitHub

Type

Strategy, Pine Script v5

Draws

Separate pane below the chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)
  • The strategy enters trades without a stop loss
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

330 stars

HA UnivLong&Short Futures calculates Heikin Ashi candles and builds a channel using simple moving averages of Heikin Ashi highs and lows. It enters long positions when the upper channel line crosses above the lower channel line and opens short positions on the

Strategy v5 TrendMoving averages
Updated 2 months ago · None stated GitHub repository of HA UnivLong&Short Futures

Q-Trend + KVO Strategy

by TradersPost
218 stars

This strategy combines the ATR-banded Q-Trend indicator with the Klinger Volume Oscillator (KVO) to execute confluence trades. It enters long when a Q-Trend buy trigger aligns with a positive KVO value and a bullish candle confirmation, taking short trades und

Strategy v6 TrendVolume
Updated 3 months ago · None stated GitHub repository of Q-Trend + KVO Strategy

MACD Crossover (tutorial)

by pineforge-4pass
193 stars

This strategy calculates the Moving Average Convergence Divergence indicator and plots the MACD line, signal line, and histogram in a separate pane. It enters long positions when the MACD line crosses above the signal line and enters short positions when it cr

Strategy v6 Oscillators & momentumMoving averages
Updated today · Apache-2.0 GitHub repository of MACD Crossover (tutorial)
114 stars

This strategy estimates price behavior using ordinary least squares regression between higher-timeframe data and a generated dataset, smoothed by a Karobein oscillator. It enters long positions when the oscillator turns upward and short positions when it turns

Strategy v4 Oscillators & momentumAI / machine learning Repaints

10PreBuyer

by hasnocool
106 stars

10PreBuyer is a dip-buying strategy that submits limit orders below recent price action using a discounted Hull Moving Average (HMA). It calculates the highest HMA value of high prices over a selected period, multiplied by a percentage discount factor, and pla

Strategy v4 Moving averagesMean reversion
Updated 2 years ago · GPL-3.0 GitHub repository of 10PreBuyer

Bar States Example S

by be-thomas
65 stars

This Pine Script strategy demonstrates the usage of bar state variables by highlighting the chart background color. It evaluates whether the current candle is the final bar on the chart using the barstate.islast condition and applies a silver background color

Strategy v5
Updated 4 days ago · GPL-3.0 GitHub repository of Bar States Example S

More strategys

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers