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) $ 82,629.00
  • ethereumEthereum (ETH) $ 1,881.70
  • tetherTether (USDT) $ 0.999967
  • xrpXRP (XRP) $ 2.31
  • bnbBNB (BNB) $ 599.25
  • solanaSolana (LEFT) $ 129.94
  • usd-coinUSDC (USDC) $ 0.999899
  • cardanoCardano (ADA) $ 0.707396
  • dogecoinDogecoin (DOGE) $ 0.168154
  • tronTRON (TRX) $ 0.214651
  • staked-etherLido Staked Ether (STETH) $ 1,880.75
  • wrapped-bitcoinWrapped Bitcoin (WBTC) $ 82,505.00
  • pi-networkPi Network (PI) $ 1.46
  • leo-tokenLEO Token (LEO) $ 9.75
  • chainlinkChainlink (LINK) $ 13.56
  • the-open-networkToncoin (TON) $ 3.38
  • usdsUSDS (USDS) $ 0.999800
  • stellarStellar (XLM) $ 0.264662
  • wrapped-stethWrapped stETH (WSTETH) $ 2,252.34
  • hedera-hashgraphHedera (HBAR) $ 0.186786
  • avalanche-2Avalanche (AVAX) $ 18.56
  • shiba-inuShiba Inu (SHIB) $ 0.000013
  • suiSui (SUI) $ 2.24
  • litecoinLitecoin (LTC) $ 89.05
  • bitcoin-cashBitcoin Cash (BCH) $ 325.83
  • mantra-daoMANTRA (OM) $ 6.56
  • polkadotPolkadot (DOT) $ 4.23
  • ethena-usdeEthena USDe (USDE) $ 1.00
  • wethWETH (WETH) $ 1,881.58
  • bitget-tokenBitget Token (BGB) $ 4.38
  • binance-bridged-usdt-bnb-smart-chainBinance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 1.00
  • hyperliquidHyperliquid (HYPE) $ 13.45
  • whitebitWhiteBIT Coin (WBT) $ 28.62
  • wrapped-eethWrapped eETH (WEETH) $ 2,000.18
  • moneroMonero (XMR) $ 209.28
  • uniswapUniswap (UNI) $ 6.03
  • susdssUSDS (SUSDS) $ 1.04
  • daiDai (DAI) $ 0.999842
  • aptosAptos (APT) $ 5.20
  • nearNEAR Protocol (NEAR) $ 2.54
  • pepePepe (PEPE) $ 0.000007
  • ocdOKB (OCD) $ 45.67
  • internet-computerInternet Computer (ICP) $ 5.61
  • mantleMantle (MNT) $ 0.803655
  • ondo-financeOndo (ONDO) $ 0.825496
  • ethereum-classicEthereum Classic (ETC) $ 17.34
  • gatechain-tokenGate (GT) $ 20.99
  • coinbase-wrapped-btcCoinbase Wrapped BTC (CBBTC) $ 82,646.00
  • aaveAave (AAVE) $ 165.27
  • tokenize-xchangeTokenize Xchange (TKX) $ 29.93
  • official-trumpOfficial Trump (TRUMP) $ 11.43
  • crypto-com-chainCronos (CRO) $ 0.081431
  • bittensorBittensor (TAO) $ 246.56
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.998736
  • vechainVeChain (VET) $ 0.024133
  • cosmosCosmos Hub (ATOM) $ 4.57
  • kaspaKaspa (KAS) $ 0.076207
  • celestiaCelestia (TIA) $ 3.51
  • ethenaEthena (ENA) $ 0.353330
  • filecoinFilecoin (FIL) $ 2.85
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.211942
  • fasttokenFasttoken (FTN) $ 3.98
  • render-tokenRender (RENDER) $ 3.13
  • lombard-staked-btcLombard Staked BTC (LBTC) $ 82,474.00
  • algorandAlgorand (ALGO) $ 0.189447
  • sonic-3Sonic (prev. FTM) (S) $ 0.504198
  • arbitrumArbitrum (ARB) $ 0.349849
  • arbitrum-bridged-usdt-arbitrumArbitrum Bridged USDT (Arbitrum) (USDT) $ 0.999243
  • story-2Story (IP) $ 5.57
  • jupiter-exchange-solanaJupiter (JUP) $ 0.505965
  • optimismOptimism (OP) $ 0.837748
  • kucoin-sharesKuCoin (KCS) $ 11.04
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.509371
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • solv-btcSolv Protocol SolvBTC (SOLVBTC) $ 82,438.00
  • binance-peg-wethBinance-Peg WETH (WETH) $ 1,880.86
  • quant-networkQuant (QNT) $ 77.86
  • movementMovement (MOVE) $ 0.450363
  • xdce-crowd-saleXDC Network (XDC) $ 0.067776
  • kelp-dao-restaked-ethKelp DAO Restaked ETH (RSETH) $ 1,954.14
  • nexoNEXO (NEXO) $ 1.06
  • worldcoin-wldWorldcoin (WLD) $ 0.853138
  • dexeDeXe (DEXE) $ 17.39
  • makerMaker (MKR) $ 1,172.36
  • usual-usdUsual USD (USD0) $ 0.997841
  • sei-networkSei (SEI) $ 0.199419
  • immutable-xImmutable (IMX) $ 0.546736
  • blockstackStacks (STX) $ 0.624926
  • injective-protocolInjective (INJ) $ 9.64
  • binance-staked-solBinance Staked SOL (BNSOL) $ 135.18
  • rocket-pool-ethRocket Pool ETH (RETH) $ 2,113.77
  • flare-networksFlare (FLR) $ 0.015022
  • the-graphThe Graph (GRT) $ 0.091797
  • theta-tokenTheta Network (THETA) $ 0.862912
  • polygon-bridged-usdt-polygonPolygon Bridged USDT (Polygon) (USDT) $ 0.999523
  • bonkBonk (BONK) $ 0.000011
  • solv-protocol-solvbtc-bbnSolv Protocol SolvBTC.BBN (SOLVBTC.BB) $ 82,032.00
  • lido-daoLido DAO (LDO) $ 0.910868
  • paypal-usdPayPal USD (PYUSD) $ 1.00
  • mantle-staked-etherMantle Staked Ether (METH) $ 1,996.05
  • tether-goldTether Gold (XAUT) $ 2,985.06
  • eosEOS (EOS) $ 0.476858
  • galaGALA (GALA) $ 0.016558
  • tezosTezos (XTZ) $ 0.687083
  • wbnbWrapped BNB (WBNB) $ 599.70
  • binance-bridged-usdc-bnb-smart-chainBinance Bridged USDC (BNB Smart Chain) (USDC) $ 0.999493
  • stargate-bridged-usdc-berachainStargate Bridged USDC (Berachain) (USDC.E) $ 0.998605
  • berachain-beraBerachain (BERA) $ 6.29
  • bittorrentBitTorrent (BTT) $ 0.00000069
  • the-sandboxThe Sandbox (SAND) $ 0.278434
  • arbitrum-bridged-wbtc-arbitrum-oneArbitrum Bridged WBTC (Arbitrum One) (WBTC) $ 82,499.00
  • bitcoin-svBitcoin SV (BSV) $ 33.55
  • jasmycoinJasmyCoin (JASMY) $ 0.013614
  • jito-governance-tokenJito (JTO) $ 2.14
  • iotaIOTA (IOTA) $ 0.177502
  • pax-goldPAX Gold (PAXG) $ 2,998.72
  • flowFlow (FLOW) $ 0.402998
  • kaiaKaia (KAIA) $ 0.107234
  • msolMarinade Staked SOL (MSOL) $ 166.24
  • usdx-money-usdxStables Labs USDX (USDX) $ 1.00
  • renzo-restaked-ethRenzo Restaked ETH (EZETH) $ 1,957.19
  • flokiFLOKI (FLOKI) $ 0.000060
  • heliumHelium (HNT) $ 3.13
  • neoNEO (NEO) $ 7.87
  • resolv-usrResolv USR (USR) $ 0.999135
  • ethereum-name-serviceEthereum Name Service (ENS) $ 16.30
  • curve-dao-tokenCurve DAO (CRV) $ 0.416208
  • jupiter-staked-leftJupiter Staked SOL (JUPSOL) $ 141.94
  • pyth-networkPyth Network (PYTH) $ 0.146694
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.83
  • zcashZcash (ZEC) $ 32.93
  • honey-3Honey (HONEY) $ 0.999417
  • kavaKava (KAVA) $ 0.478071
  • beldexBeldex (BDX) $ 0.075406
  • axie-infinityAxie Infinity (AXS) $ 3.21
  • decentralandDecentraland (MANA) $ 0.266636
  • true-usdTrueUSD (TUSD) $ 0.999178
  • telcoinTelcoin (TEL) $ 0.005445
  • elrond-erd-2MultiversX (EGLD) $ 17.77
  • starknetStarknet (STRK) $ 0.180580
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.756138
  • roninRonin (RON) $ 0.778882
  • dogwifcoindogwifhat (WIF) $ 0.475418
  • raydiumRaydium (RAY) $ 1.61
  • dydx-chaindYdX (DYDX) $ 0.614996
  • pumpbtcpumpBTC (PUMPBTC) $ 80,768.00
  • bridged-usdc-polygon-pos-bridgeBridged USDC (Polygon PoS Bridge) (USDC.E) $ 0.999646
  • l2-standard-bridged-weth-baseL2 Standard Bridged WETH (Base) (WETH) $ 1,881.55
  • mantle-restaked-ethMantle Restaked ETH (CMETH) $ 1,995.06
  • binance-peg-dogecoinBinance-Peg Dogecoin (DOGE) $ 0.168201
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.006707
  • chilizChiliz (CHZ) $ 0.044963
  • bitcoin-avalanche-bridged-btc-bAvalanche Bridged BTC (Avalanche) (BTC.B) $ 82,614.00
  • chain-2Onyxcoin (XCN) $ 0.012667
  • arweaveArweave (AR) $ 6.40
  • clbtcclBTC (CLBTC) $ 83,594.00
  • apenftAPENFT (NFT) $ 0.00000042
  • aerodrome-financeAerodrome Finance (AERO) $ 0.520424
  • ecasheCash (XEC) $ 0.000021
  • thorchainTHORChain (RUNE) $ 1.17
  • conflux-tokenConflux (CFX) $ 0.082335
  • ousgOUSG (OUSG) $ 110.33
  • apecoinApeCoin (APE) $ 0.511936
  • usdbUSDB (USDB) $ 0.997606
  • arbitrum-bridged-weth-arbitrum-oneArbitrum Bridged WETH (Arbitrum One) (WETH) $ 1,882.45
  • coredaoorgCore (CORE) $ 0.407688
  • hashnote-usycHashnote USYC (USYC) $ 1.07
  • infrared-beraInfrared Bera (IBERA) $ 5.68
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.09
  • lorenzo-stbtcLorenzo stBTC (STBTC) $ 81,996.00
  • grassGrass (GRASS) $ 1.39
  • spx6900SPX6900 (SPX) $ 0.399772
  • matic-networkPolygon (MATIC) $ 0.211716
  • axelarAxelar (AXL) $ 0.396494
  • compound-governance-tokenCompound (COMP) $ 41.25
  • ether-fi-staked-ethether.fi Staked ETH (EETH) $ 1,882.78
  • olympusOlympus (OHM) $ 21.74
  • trust-wallet-tokenTrust Wallet (TWT) $ 0.847187
  • fraxFrax (FRAX) $ 0.998154
  • amp-tokenAmp (AMP) $ 0.004150
  • tbtctBTC (TBTC) $ 82,538.00
  • aioz-networkAIOZ Network (AIOZ) $ 0.288735
  • pendlePendle (PENDLE) $ 2.12
  • cgeth-hashkey-cloudcgETH Hashkey Cloud (CGETH.HASH) $ 1,913.13
  • terra-lunaTerra Luna Classic (LUNC) $ 0.000063
  • kaitoKAITO (KAITO) $ 1.42
  • stakewise-v3-osethStakeWise Staked ETH (OSETH) $ 1,959.99
  • mantle-bridged-usdt-mantleMantle Bridged USDT (Mantle) (USDT) $ 1.00
  • fartcoinFartcoin (FARTCOIN) $ 0.328412
  • beam-2Beam (BEAM) $ 0.006164
  • binance-peg-busdBinance-Peg BUSD (BUSD) $ 1.00
  • akash-networkAkash Network (AKT) $ 1.30
  • based-brettBrett (BRETT) $ 0.032240
  • gnosisGnosis (GNO) $ 123.02
  • mina-protocolMina Protocol (MINA) $ 0.257847
  • reserve-rights-tokenReserve Rights (RSR) $ 0.005527
  • verus-coinVerus (VRSC) $ 3.89
  • stakestone-berachain-vault-tokenStakeStone Berachain Vault Token (BERASTONE) $ 1,860.60
  • morphoMorpho (MORPHO) $ 1.26
  • plumePlume (PLUME) $ 0.146506