Strategy · Pine Script v4 · Own pane

Kenny's Strategy

by jerryinyang

Kenny's Strategy combines multiple exponential moving averages to identify trend changes and generate entry signals.

View on GitHub

GitHub stars5on the repository
Pine versionv4older, still runs
Lines of code227
Settings23inputs
LicenceNone stated
Last update2 years ago12 May 2024

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

Kenny's Strategy calculates short, medium, and long EMAs from a user-selected source and checks for alignment within specific zones. A long-term EMA filter refines these signals by comparing to the zone boundaries. WaveTrend oscillator provides overbought and oversold levels for additional confirmation, alongside MFI calculations. The strategy plots entry lines and stop loss on the price chart when conditions align across the moving averages and Vumanchu indicators. Settings control MA lengths, multipliers, filter period, WaveTrend parameters, MFI levels, and display options. It supports pyramiding for multiple positions per direction.

Details

Published by

jerryinyang on GitHub

Type

Strategy, Pine Script v4

Draws

Separate pane below the chart

Category

Trend, Moving averages, Volatility & bands, Support & resistance

Markets

Any symbol

Timeframes

Any timeframe

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
Display Entry and SL LinesbooltruedispZn
MA SourcesourceclosemaSrc
MA 1 Lengthint50ma1Len
MA 2 Lengthint100ma2Len
Multiplierfloat1.004ma2Mult
MA 3 Lengthint100ma3Len
Multiplierfloat0.996ma3Mult
Use Long-Term EMA Filter?booltrueusefiltEma
Long-Period EMA Filter Lengthint200filtEmaLen
Filter EMA TimeframetimeframefiltEmaRes
Use Higher TimeframeboolfalsevmcUseHTF
Vumanchu Timeframetimeframe240vmcRes
Show all 23 settings
SettingTypeDefaultVariable
Use VMC Ob/Os? boolfalseuseVMCObOS
WT Channel Lengthint9wtChannelLen
WT Average Lengthint12wtAverageLen
WT MA Sourcesourcehlc3wtMASource
WT MA Lengthint3wtMALen
WT Overbought Levelint53obLevel
WT Oversold Levelint-53osLevel
MFI Periodint60rsiMFIperiod
MFI Area multiplierfloat150rsiMFIMultiplier
MFI Area Y Posfloat2.5rsiMFIPosY
Stop Loss Levelfloat4.0slLevel
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

9 stars

Smooth Trend Radar Strategy calculates a double-smoothed Supertrend baseline using WMA and EMA to identify trend direction and sideway regimes. It plots baseline rejection signals on flips, trend slope filters, and statistical overextension highlights with can

Strategy v6 TrendMoving averages
Updated yesterday · MIT GitHub repository of Smooth Trend Radar Strategy
8 stars

This strategy combines moving averages, ATR volatility bands and ADX trend strength on the price chart. It calculates ADX from price data and adjusts the ATR multiplier dynamically based on whether ADX is rising or falling. Long and short entries are controlle

Strategy v4 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of MA+ATR+ADX+PP Strategy

The AI SuperTrend x Pivot Percentile strategy combines SuperTrend trend following with KNN-based AI predictions, Pivot Percentile levels, and ADX/DMI filtering. SuperTrend indicators run on multiple higher timeframes with configurable lengths and factors, whil

Strategy v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of AI SuperTrend x Pivot Percentile - Strategy

ALGOX

by thino-dev
2 stars

ALGOX is a Pine Script v5 strategy that overlays SuperTrend, ATR bands, Heikin Ashi candles, EMA ribbons and an RSI table on the price chart. It generates long and short entries based on signal sensitivity settings with optional lower-timeframe or higher-timef

Strategy v5 TrendVolatility & bands Repaints
Updated 7 months ago · None stated GitHub repository of ALGOX
1 stars

This strategy calculates the Supertrend using ATR period and factor inputs, then plots green lines for up direction and red lines for down direction on the price chart. It signals long entries when Supertrend changes to positive and short entries when changing

Strategy v5 TrendMoving averages
Updated 2 years ago · MPL-2.0 GitHub repository of Hello World, Supertrend

PineForge — Terrace Pyramid

by pineforge-4pass
1 stars

This strategy plots the Trend EMA and Deep Terrace levels on the price chart to identify rising trends. It signals long pyramid entries in staged terraces when price crosses above the first, second, or third ATR-based levels during an upward trend, with up to

Strategy v6 TrendMoving averages
Updated 5 days ago · Apache-2.0 GitHub repository of PineForge — Terrace Pyramid

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