Skip to content

MyNameisMoney Moving Average Combo Indicator

Hello my friends, I promised you to share the first of the indicators I use for free when I passed 4000 followers. That day is today. In fact, sharing this code here with explanations so that you can easily modify it yourself becomes a library that everyone can benefit from for the future.

We can also share the content of this article on our forum page and interactively develop the code together according to your experiences. Open source is our most important wish.

First of all, this indicator is not different from the standard tradingview indicators, but the most important benefit is that the free service offered by the tradingview site gives us the right to put 3 indicators. With the codes, we made 5 or more indicators to occupy one place.

Moving Average Combo Indicator

You can also disable the moving averages you are not using in the settings window. The choice is completely yours.

  1. Login to your Tradingview account.
  2. Switch to the chart view of any stock.
  3. Click the Pine Editor tab at the bottom of the page
  4. Delete all auto-written incoming content in the incoming editor there
  5. Copy and paste the codes I have given below into that window.
  6. Press Save if the interface is in English or Save if the interface is in Turkish.
  7. Bon Appetit
//@version=3
// author mynameismoney @mynameismoney4 on Twitter
//At the bottom are the moving averages in order. Here you can add a new moving average length by typing lenght5 to duplicate the bottom 2 lines
//For example, the following two lines for a 10-day average. where it says color, you can specify the color; where it says linewidth, you can specify the thickness of the line
//length5 = input(200, "5th MOV Length")
//plot(sma(src, length5), color=blue, linewidth=2, title="10 MOV5")

study("Moving Avarage COMBO", overlay=true, shorttitle="MyNameisMoney MA Combo")
src = input(title="Source", type=source, defval=close)

length1 = input(21, "1st MOV Length")
plot(sma(src, length1), color=yellow, linewidth=1, title="21 MOV1")

length2 = input(50, "2nd MOV Length")
plot(sma(src, length2), color=red, linewidth=2, title="50 MOV2")

length3 = input(100, "3rd MOV Length")
plot(sma(src, length3), color=orange, linewidth=3, title="100 MOV3")

length4 = input(200, "4th MOV Length")
plot(sma(src, length4), color=white, linewidth=2, title="200 MOV4")

length5 = input(200, "5th MOV Length")
plot(ema(src, length5), color=white, linewidth=2, title="200 MOV5")
////MC Ginley Dynamic

McGinley = input(14, minval=1)
src2 = close
mg = 0.0
mg := na(mg[1]) ? ema(src2, McGinley) : mg[1] + (src2 - mg[1]) / (McGinley * pow(src2/mg[1], 4))
plot(mg, title="McGinley Dynamic", style=cross, linewidth=1)

If you look at the codes, the code written as sma corresponds to "simple moving average", which is the code for simple moving average; the code written as ema corresponds to "exponential moving average", which is the code for exponential moving average; and if you write it as wma, it corresponds to "Weighted Moving Average", which is the code for "Weighted Moving Average".

You can modify the codes as I mentioned above according to your needs.

If you want to share the code, I would appreciate it if you cite the source, out of respect for the work.

I look forward to discussing your comments and the results of your work in the forum.

Love

My Name is Money

6 thoughts on “MyNameisMoney Moving Average Combo Indicator”

  1. I could not run this indicator. it gives an error. I cannot do what you say, teacher. can you copy the indicator here so that I can copy it directly? thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *

  • bitcoinBitcoin (BTC) $ 62,639.00
  • ethereumEthereum (ETH) $ 1,651.59
  • tetherTether (USDT) $ 0.998741
  • bnbBNB (BNB) $ 596.77
  • usd-coinUSDC (USDC) $ 0.999704
  • xrpXRP (XRP) $ 1.11
  • solanaSolana (LEFT) $ 64.89
  • tronTRON (TRX) $ 0.321807
  • staked-etherLido Staked Ether (STETH) $ 2,265.05
  • figure-helocFigure Heloc (FIGR_HELOC) $ 1.02
  • dogecoinDogecoin (DOGE) $ 0.084696
  • hyperliquidHyperliquid (HYPE) $ 55.57
  • usdsUSDS (USDS) $ 0.999656
  • leo-tokenLEO Token (LEO) $ 9.52
  • rainRain (RAIN) $ 0.013297
  • wrapped-stethWrapped stETH (WSTETH) $ 2,779.67
  • zcashZcash (ZEC) $ 422.31
  • canton-networkCanton (CC) $ 0.167857
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 76,243.00
  • moneroMonero (XMR) $ 342.95
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 0.998762
  • stellarStellar (XLM) $ 0.190332
  • wrapped-beacon-ethWrapped Beacon ETH (WBETH) $ 2,466.93
  • cardanoCardano (ADA) $ 0.166252
  • whitebitWhiteBIT Coin (WBT) $ 51.38
  • chainlinkChainlink (LINK) $ 7.76
  • wrapped-eethWrapped eETH (WEETH) $ 2,465.31
  • ethena-usdeEthena USDe (USDE) $ 0.998746
  • usd1-wlfiUSD1 (USD1) $ 0.998442
  • susdssUSDS (SUSDS) $ 1.08
  • the-open-networkToncoin (TON) $ 1.64
  • daiDai (DAI) $ 0.999651
  • bitcoin-cashBitcoin Cash (BCH) $ 201.73
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 76,366.00
  • memecoreMemeCore (M) $ 2.93
  • hedera-hashgraphHedera (HBAR) $ 0.078700
  • litecoinLitecoin (LTC) $ 42.47
  • wethWETH (WETH) $ 2,268.37
  • suiSui (SUI) $ 0.746983
  • hashnote-usycCircle USYC (USYC) $ 1.13
  • paypal-usdPayPal USD (PYUSD) $ 0.999421
  • usdt0USDT0 (USDT0) $ 0.998824
  • avalanche-2Avalanche (AVAX) $ 6.57
  • shiba-inuShiba Inu (SHIB) $ 0.000005
  • crypto-com-chainCronos (CRO) $ 0.059855
  • nearNEAR Protocol (NEAR) $ 2.05
  • global-dollarGlobal Dollar (USDG) $ 0.999808
  • tether-goldTether Gold (XAUT) $ 4,094.87
  • audieraAudiera (BEAT) $ 8.50
  • ethena-staked-usdeEthena Staked USDe (SUSDE) $ 1.22
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • labLAB (LAB) $ 7.35
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.13
  • bittensorBittensor (TAO) $ 208.34
  • pax-goldPAX Gold (PAXG) $ 4,102.41
  • world-liberty-financialWorld Liberty Financial (WLFI) $ 0.058360
  • mantleMantle (MNT) $ 0.535435
  • worldcoin-wldWorldcoin (WLD) $ 0.502217
  • aster-2Aster (ASTER) $ 0.630045
  • ondo-financeOndo (ONDO) $ 0.345798
  • little-pepe-5Little Pepe (LILPEPE) $ 2.16
  • ripple-usdRipple USD (RLUSD) $ 1.00
  • polkadotPolkadot (DOT) $ 0.945912
  • syrupusdcsyrupUSDC (SYRUPUSDC) $ 1.15
  • uniswapUniswap (UNI) $ 2.50
  • htx-daoHTX DAO (HTX) $ 0.000002
  • ocdOKB (OCD) $ 71.36
  • falcon-financeFalcon USD (USDF) $ 0.994441
  • pi-networkPi Network (PI) $ 0.125693
  • usddUSDD (USDD) $ 0.997968
  • skySky (SKY) $ 0.056744
  • bfusdBFUSD (BFUSD) $ 0.998426
  • morphoMorpho (MORPHO) $ 2.03
  • internet-computerInternet Computer (ICP) $ 2.27
  • bitget-tokenBitget Token (BGB) $ 1.77
  • pepePepe (PEPE) $ 0.000003
  • ethereum-classicEthereum Classic (ETC) $ 7.08
  • united-stablesUnited Stables (U) $ 0.999506
  • jupiter-perpetuals-liquidity-provider-tokenJupiter Perpetuals Liquidity Provider Token (JLP) $ 4.00
  • usdtbUSDtb (USDTB) $ 0.999201
  • eutblSpiko EU T-Bills Money Market Fund (EUTBL) $ 1.22
  • blockchain-capitalBlockchain Capital (BCAP) $ 106.96
  • aaveAave (AAVE) $ 63.28
  • cosmosCosmos Hub (ATOM) $ 1.86
  • jito-staked-leftJito Staked SOL (JITOSOL) $ 124.46
  • quant-networkQuant (QNT) $ 64.25
  • superstate-short-duration-us-government-securities-fund-ustbInvesco Short Duration US Government Securities Fund (USTB) $ 11.11
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 2,404.69
  • dexeDeXe (DEXE) $ 19.52
  • kucoin-sharesKuCoin (KCS) $ 6.65
  • binance-peg-wethBinance-Peg WETH (WETH) $ 2,262.26
  • janus-henderson-anemoy-treasury-fundJanus Henderson Anemoy Treasury Fund (JTRSY) $ 1.11
  • rocket-pool-ethRocket Pool ETH (RETH) $ 2,631.35
  • kaspaKaspa (KAS) $ 0.030879
  • render-tokenRender (RENDER) $ 1.57
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999945
  • stable-2Stable (STABLE) $ 0.034164
  • nexoNEXO (NEXO) $ 0.795241
  • wbnbWrapped BNB (WBNB) $ 759.61
  • algorandAlgorand (ALGO) $ 0.088726
  • ignition-fbtcFunction FBTC (FBTC) $ 76,389.00
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.073174
  • bianrensheng币安人生 (BinanceLife) (币安人生) $ 0.719798
  • ethenaEthena (ENA) $ 0.074680
  • janus-henderson-anemoy-aaa-clo-fundJanus Henderson Anemoy AAA CLO Fund (JAAA) $ 1.04
  • gatechain-tokenGate (GT) $ 6.43
  • syrupusdtsyrupUSDT (SYRUPUSDT) $ 1.11
  • justJUST (JST) $ 0.078473
  • venice-tokenVenice Token (VVV) $ 13.33
  • xdce-crowd-saleXDC Network (XDC) $ 0.030919
  • binance-staked-solBinance Staked SOL (BNSOL) $ 108.24
  • beldexBeldex (BDX) $ 0.078649
  • ghoGHO (GHO) $ 0.998718
  • filecoinFilecoin (FIL) $ 0.753102
  • flare-networksFlare (FLR) $ 0.006956
  • hash-2Provenance Blockchain (HASH) $ 0.010570
  • usual-usdUsual USD (USD0) $ 0.998760
  • new-x-ceo-is-backNEW X CEO IS BACK (XFLOKI) $ 0.506041
  • bridged-usdc-polygon-pos-bridgePolygon Bridged USDC (Polygon PoS) (USDC.E) $ 0.999720
  • midnight-3Midnight (NIGHT) $ 0.033105
  • solv-btcSolv Protocol BTC (SOLVBTC) $ 76,461.00
  • yldsYLDS (YLDS) $ 0.999929
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 76,491.00
  • injective-protocolInjective (INJ) $ 5.26
  • aptosAptos (APT) $ 0.634342
  • jupiter-exchange-solanaJupiter (JUP) $ 0.153184
  • clbtcclBTC (CLBTC) $ 76,920.00
  • usxUSX (USX) $ 0.999460
  • spiko-amundi-overnight-swap-fund-eurSpiko Amundi Overnight Swap Fund (EUR) (EURSAFO) $ 1.16
  • a7a5A7A5 (A7A5) $ 0.012879
  • arbitrumArbitrum (ARB) $ 0.080137
  • ousgOndo Short-Term U.S. Government Bond Fund (OUSG) $ 115.53
  • true-usdTrueUSD (TUSD) $ 0.998651
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 2,419.84
  • pump-funPump.fun (PUMP) $ 0.001405
  • dashDash (DASH) $ 34.45
  • kinetic-staked-hypeKinetiq Staked HYPE (KHYPE) $ 33.97
  • tbtctBTC (TBTC) $ 70,942.00
  • euro-coinEURC (EURC) $ 1.15
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.191105
  • wrappedm-by-m0WrappedM by M0 (WM) $ 1.00
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.006757
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.31
  • siren-2Siren (SIREN) $ 0.584201
  • kite-2Kite (KITE) $ 0.176969
  • vechainVeChain (VET) $ 0.004783
  • official-trumpOfficial Trump (TRUMP) $ 1.71
  • c8ntinuumc8ntinuum (CTM) $ 0.087592
  • hastra-primePRIME (PRIME) $ 1.04
  • mantle-staked-etherMantle Staked Ether (METH) $ 2,455.82
  • apxusdapxUSD (APXUSD) $ 0.950800
  • adi-tokenADI (ADI) $ 3.72
  • polygon-pos-bridged-dai-polygon-posPolygon PoS Bridged DAI (Polygon POS) (DAI) $ 0.999983
  • velvetVelvet (VELVET) $ 0.904684
  • resolv-wstusrResolv wstUSR (WSTUSR) $ 1.13
  • terra-lunaTerra Luna Classic (LUNC) $ 0.000070
  • cocaCOCA (COCA) $ 1.30
  • bonkBonk (BONK) $ 0.000004
  • curve-dao-tokenCurve DAO (CRV) $ 0.245027
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.568407
  • doge-strategyDoge Strategy (DOGESTR) $ 0.288297
  • liquid-staked-ethereumLiquid Staked ETH (LSETH) $ 2,406.26
  • the9bitThe9bit (9BIT) $ 0.045095
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 76,200.00
  • ethgas-2ETHGas (GWEI) $ 0.173458
  • lighterLighter (LIT) $ 1.44
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.997009
  • blockstackStacks (STX) $ 0.181797
  • wrapped-flareWrapped Flare (WFLR) $ 0.009961
  • sun-tokenSun Token (SUN) $ 0.017111
  • sei-networkSei (SEI) $ 0.048189
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 2,266.86
  • aerodrome-financeAerodrome Finance (AERO) $ 0.339211
  • steakhouse-usdc-morpho-vaultSteakhouse USDC Morpho Vault (STEAKUSDC) $ 1.12
  • unibaseUnibase (UB) $ 0.124380
  • kinesis-goldKinesis Gold (KAU) $ 131.05
  • celestiaCelestia (TIA) $ 0.325407
  • spx6900SPX6900 (SPX) $ 0.316743
  • humanityHumanity (H) $ 0.156320
  • binance-peg-xrpBinance-Peg XRP (XRP) $ 1.59
  • jito-governance-tokenJito (JTO) $ 0.582989
  • ether-fi-liquid-ethEther.Fi Liquid ETH (LIQUIDETH) $ 2,443.47
  • usdgoUSDGO (USDGO) $ 0.999782
  • pyth-networkPyth Network (PYTH) $ 0.034963
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 2,421.84
  • chilizChiliz (CHZ) $ 0.026434
  • ether-fiEther.fi (ETHFI) $ 0.300884
  • noonNoon (NOON) $ 0.751949
  • sbtc-2sBTC (SBTC) $ 77,039.00
  • apenftAINFT (NFT) $ 0.00000027
  • bittorrentBitTorrent (BTT) $ 0.00000027
  • monadMonad (MON) $ 0.021669
  • jupiter-staked-leftJupiter Staked SOL (JUPSOL) $ 115.56
  • tezosTezos (XTZ) $ 0.235101
  • savings-usddSavings USDD (SUSDD) $ 1.03
  • zebec-networkZebec Network (ZBCN) $ 0.002593
  • gnosisGnosis (GNO) $ 95.71
  • royal-dollarRoyal Dollar (RUSD) $ 1.00
  • msolMarinade Staked SOL (MSOL) $ 133.18
  • olympusOlympus (OHM) $ 16.63