Strategy · Pine Script v4 · On the chart

SlimTrades 15m

by tseitz

A strategy on the price chart with defaults aimed at a 15 minute chart.

View on GitHub

GitHub stars1on the repository
Pine versionv4older, still runs
Lines of code348
Settings26inputs
LicenceNone stated
Last update4 years ago2 Dec 2021

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  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

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

SlimTrades 15m uses RSI zones and two rolling highest and lowest ranges to open longs and optionally shorts, and can add to a position on lows or highs when RSI reaches set levels. Exits use RSI close zones, minimum percentage moves, separate trailing stops and fixed take profit percentages for each side. A days-back window restricts testing, and position size is a fixed cash amount.

Details

Published by

tseitz on GitHub

Type

Strategy, Pine Script v4

Draws

On the price chart

Markets

Crypto

Timeframes

M15-H1

Risk Notes

  • The strategy can add several entries in the same direction

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Max Days Back to Testint120daysBackMax
Hi Low Slowint45hiLowSlow
Hi Low Super Slowint68hiLowSuperSlow
Buy Long Zone RSIint50buyLongZoneRsi
Close Long Zone RSIint64rsiCloseLongZone
Short Short Zone RSIint48shortShortZoneRsi
Close Short Zone RSIint33rsiCloseShortZone
Close Short Min (%)float0.4closeShortPerc
Close Long Min (%)float2.3closeLongPerc
Long Trail Stop (%)float7.8longTrailPerc
Short Trail Stop (%)float2.8shortTrailPerc
Allow ShortsbooltrueallowShorts
Show all 26 settings
SettingTypeDefaultVariable
Fast Open LongbooltruefastOpenLong
Fast Open ShortbooltruefastOpenShort
Fast Open Short RSIint70fastOpenLongRsi
Fast Open Short RSIint28fastOpenShortRsi
Add On LowsbooltrueaddOnLows
Add Low RSIint43addLowRsi
Add On HighsboolfalseaddOnHighs
Add High RSIint60addHighRsi
Show SlowbooltrueshowSlow
Long Short ClosesbooltruelongShortCloses
Long Short StopsbooltruelongShortStops
Buy Short Zone RSIint39buyShortZoneRsi
Long Take Profit (%)float17.7longProfitPerc
Short Take Profit (%)float9.3shortProfitPerc
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

106 stars

This strategy plots on the price chart and enters when three smoothed moving averages are aligned, RSI is on the matching side of 50, and a Williams fractal appears. An upward stack with RSI above 50 and a down fractal opens a long; the opposite setup opens a

Strategy v5 Moving averagesOscillators & momentum
Updated 2 years ago · GPL-3.0 GitHub repository of 3SmmaCrossUp + Fractal + RSI

This strategy plots the previous daily high and low on the price chart and calculates the Andean oscillator bull and bear components with an exponential moving average signal. It looks for a bull or bear cross of that signal, then confirms the setup against re

Strategy v5 Oscillators & momentumSupport & resistance Repaints
Updated 3 years ago · MIT GitHub repository of Daily High/Low and Andean Oscillator Strategy

This strategy trades 1-minute futures contracts on Binance. It plots pivot high and low resistance and support levels on the price chart, along with an EMA and a custom Cto indicator. Long and short entries trigger on EMA and Cto crossovers combined with price

Strategy v5 TrendMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of Binancash Futures Strategy 1M Candles

KC15

by benso87
24 stars

KC15 is a price-chart strategy that configures two moving averages, a Bollinger Band Width Percentile filter, and PMARP entry and exit thresholds for long and short trades. Users can switch each average between SMA and EMA, set lengths and colors, and toggle l

Strategy v5 Moving averagesVolatility & bands
Updated 4 years ago · MPL-2.0 GitHub repository of KC15

This strategy identifies reversal opportunities based on liquidity sweeps and multi-gate confluence scoring. It evaluates setups using mandatory conditions such as swing sweeps, body and ATR filters, and dual EMA higher-timeframe trend alignment, alongside opt

Strategy v6 SMC / ICT / price actionTrend
Updated 3 days ago · MIT GitHub repository of Reversal Engine Score [WavesUnchained] Strategy
7 stars

This strategy plots dynamic pivot-based support and resistance trendlines on the price chart and trades breakouts beyond those lines. By default it allows longs only when EMA 50 is above EMA 200 and an RSI-SMA momentum filter is met, with an ATR entry buffer.

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Easy Trendline - XAUUSD 30m

More Oscillators & momentum scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers