Skip to content

Instantly share code, notes, and snippets.

//@version=3
study("3MA")
plot(ema(close, 13), color=red, title="13 SMA")
plot(sma(close, 30), color=yellow, title="30 SMA")
plot(sma(close, 200), color=orange, title="200 SMA")
// Created by @pequet (https://www.tradingview.com/u/pequet) April 11, 2018
// https://github.com/pequet/
// NOT FOR DISTRIBUTION
// @version=3
// References:
// http://stockcharts.com/school/doku.php?id=chart_school:chart_analysis:gaps_and_gap_analysis
// https://bioequity.org/statistics-do-stock-price-gaps-always-get-filled/
study(title="Pandas Target Practice v1.0.4", shorttitle="Pandas Target Practice", overlay=false, precision=8)
// Created by @pequet (https://www.tradingview.com/u/pequet) April 11 2017
// https://github.com/pequet/
// NOT FOR DISTRIBUTION
// @version=3
study(title="BITFINEX:LONGS:SHORTS v0.0.3", shorttitle="LONGS:SHORTS", overlay=false, precision=8)
Market(side) =>
market = ticker=="BTCEUR" or ticker=="XBTEUR" ? "BTCEUR"
: ticker=="BTCJPY" or ticker=="XBTJPY" ? "BTCJPY"
// Created by @pequet (https://www.tradingview.com/u/pequet) May 20, 2018
// https://github.com/pequet/
// NOT FOR DISTRIBUTION
// @version=3
// References:
// https://www.youtube.com/watch?v=cq3gkwin1y4
study(title="Intraday Intensity v0.1", shorttitle="II", overlay=false, precision=8)
// Created by @pequet (https://www.tradingview.com/u/pequet) May 28 2018
// https://github.com/pequet/
// NOT FOR DISTRIBUTION
// @version=3
// Thanks Greg A! https://www.tradingview.com/u/Gregg_s/
// Candles are often missing for shitcoins on tradingview and sometimes in not-so-small resolutions
// https://www.tradingview.com/script/Cp6sqEAN-Candle-Thief-v1-0-TradingView-Anomalies/
// Implications:
// Created by @pequet (https://www.tradingview.com/u/pequet) May 28 2018
// https://github.com/pequet/
// NOT FOR DISTRIBUTION
// @version=3
study(title="1' OBV v0.0.4", shorttitle="1' OBV", overlay=false)
// inputs
// ------
// Created by @pequet (https://www.tradingview.com/u/pequet)
// https://github.com/pequet/
// NOT FOR DISTRIBUTION
// @version=3
study(title="Institutional Bias", shorttitle="IB", overlay=true)
src = input(close, type=source, title="Source")
ibBullCond = resolution=='D' ? ema(src, 9) > ema(src, 18) : security(tickerid, 'D', ema(src, 9) > ema(src, 18))
// Created by @pequet (https://www.tradingview.com/u/pequet) July 4 2018
// https://github.com/pequet/
// @version=3
// Reference: https://www.tradingview.com/x/j7TADzBK/
study("Doji Gaps v0.0.1", shorttitle="Doji Gaps", precision=8, overlay=true, scale=scale.right)
rrInput = input(2.0, title="Risk/Reward")
// Created by @pequet (https://www.tradingview.com/u/pequet) July 4 2018
// https://github.com/pequet/
// @version=3
// Reference: https://www.tradingview.com/x/j7TADzBK/
study("Doji Gaps v0.0.2", shorttitle="Doji Gaps", precision=8, overlay=false, scale=scale.right)
dojiInput = input(20, title="Doji is defined by (High-Low) / Body greater than")
rrInput = input(2.0, step=0.5, title="Risk/Reward Ratio")
// Created by @pequet (https://www.tradingview.com/u/pequet) July 8 2018
// https://github.com/pequet/
// @version=3
// Reference: https://www.tradingview.com/x/j7TADzBK/
study("Doji Gaps v0.0.3", shorttitle="Doji Gaps", precision=8, overlay=false, scale=scale.right)
dojiInput = input(10, title="Doji is defined by (High-Low) / Body greater than")
rrInput = input(2.0, step=0.5, title="Risk/Reward Ratio")