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) $ 63,466.00
  • ethereumEthereum (ETH) $ 1,882.74
  • tetherTether (USDT) $ 0.999126
  • binancecoinBNB (BNB) $ 566.10
  • usd-coinUSDC (USDC) $ 0.999630
  • rippleXRP (XRP) $ 1.06
  • solanaSolana (LEFT) $ 73.38
  • tronTRON (TRX) $ 0.325768
  • figure-helocFigure Heloc (FIGR_HELOC) $ 1.03
  • hyperliquidHyperliquid (HYPE) $ 55.21
  • dogecoinDogecoin (DOGE) $ 0.070107
  • usdsUSDS (USDS) $ 1.00
  • rainRain (RAIN) $ 0.013628
  • leo-tokenLEO Token (LEO) $ 9.76
  • zcashZcash (ZEC) $ 469.68
  • whitebitWhiteBIT Coin (WBT) $ 55.46
  • moneroMonero (XMR) $ 342.69
  • chainlinkChainlink (LINK) $ 8.31
  • stellarStellar (XLM) $ 0.171848
  • cardanoCardano (ADA) $ 0.157471
  • canton-networkCanton (CC) $ 0.119481
  • daiDai (DAI) $ 1.00
  • bitcoin-cashBitcoin Cash (BCH) $ 213.38
  • usd1-wlfiUSD1 (USD1) $ 0.998870
  • the-open-networkGram (prev. Toncoin) (GRAM) $ 1.45
  • ethena-usdeEthena USDe (USDE) $ 0.999449
  • litecoinLitecoin (LTC) $ 46.40
  • global-dollarGlobal Dollar (USDG) $ 0.999827
  • hashnote-usycCircle USYC (USYC) $ 1.13
  • hedera-hashgraphHedera (HBAR) $ 0.067904
  • avalanche-2Avalanche (AVAX) $ 6.43
  • suiSui (SUI) $ 0.682523
  • shiba-inuShiba Inu (SHIB) $ 0.000005
  • paypal-usdPayPal USD (PYUSD) $ 0.999791
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • crypto-com-chainCronos (CRO) $ 0.055171
  • tether-goldTether Gold (XAUT) $ 4,028.06
  • uniswapUniswap (UNI) $ 3.73
  • nearNEAR Protocol (NEAR) $ 1.68
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.14
  • ondo-financeOndo (ONDO) $ 0.389304
  • ocdOKB (OCD) $ 85.98
  • bittensorBittensor (TAO) $ 187.56
  • pax-goldPAX Gold (PAXG) $ 4,030.81
  • world-liberty-financialWorld Liberty Financial (WLFI) $ 0.054697
  • aster-2Aster (ASTER) $ 0.623035
  • htx-daoHTX DAO (HTX) $ 0.000002
  • ripple-usdRipple USD (RLUSD) $ 1.00
  • usddUSDD (USDD) $ 0.999103
  • memecoreMemeCore (M) $ 1.16
  • aaveAave (AAVE) $ 96.98
  • falcon-financeFalcon USD (USDF) $ 0.994686
  • mantleMantle (MNT) $ 0.401176
  • bfusdBFUSD (BFUSD) $ 0.998488
  • skySky (SKY) $ 0.055660
  • polkadotPolkadot (DOT) $ 0.762821
  • morphoMorpho (MORPHO) $ 1.96
  • worldcoin-wldWorldcoin (WLD) $ 0.318885
  • pepePepe (PEPE) $ 0.000003
  • bitget-tokenBitget Token (BGB) $ 1.66
  • internet-computerInternet Computer (ICP) $ 2.09
  • usdgoUSDGO (USDGO) $ 1.00
  • united-stablesUnited Stables (U) $ 0.999806
  • ethereum-classicEthereum Classic (ETC) $ 6.72
  • blockchain-capitalBlockchain Capital (BCAP) $ 106.22
  • eutblSpiko EU T-Bills Money Market Fund (EUTBL) $ 1.23
  • stable-2Stable (STABLE) $ 0.036784
  • kucoin-sharesKuCoin (KCS) $ 6.63
  • quant-networkQuant (QNT) $ 61.72
  • janus-henderson-anemoy-treasury-fundJanus Henderson Anemoy Treasury Fund (JTRSY) $ 1.11
  • audieraAudiera (BEAT) $ 2.75
  • justJUST (JST) $ 0.103121
  • superstate-short-duration-us-government-securities-fund-ustbInvesco Short Duration US Government Securities Fund (USTB) $ 11.16
  • pi-networkPi Network (PI) $ 0.075263
  • pump-funPump.fun (PUMP) $ 0.002051
  • ethenaEthena (ENA) $ 0.083557
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.073290
  • kaspaKaspa (KAS) $ 0.027937
  • render-tokenRender (RENDER) $ 1.41
  • algorandAlgorand (ALGO) $ 0.079948
  • nexoNEXO (NEXO) $ 0.711780
  • gatechain-tokenGate (GT) $ 6.53
  • janus-henderson-anemoy-aaa-clo-fundJanus Henderson Anemoy AAA CLO Fund (JAAA) $ 1.04
  • cosmosCosmos Hub (ATOM) $ 1.30
  • ghoGHO (GHO) $ 0.998198
  • bianrensheng币安人生 (BinanceLife) (币安人生) $ 0.646026
  • beldexBeldex (BDX) $ 0.081709
  • yldsYLDS (YLDS) $ 0.999129
  • jupiter-exchange-solanaJupiter (JUP) $ 0.183547
  • venice-tokenVenice Token (VVV) $ 12.59
  • filecoinFilecoin (FIL) $ 0.694457
  • usual-usdUsual USD (USD0) $ 0.999342
  • lighterLighter (LIT) $ 2.20
  • xdce-crowd-saleXDC Network (XDC) $ 0.027276
  • flare-networksFlare (FLR) $ 0.006243
  • usxUSX (USX) $ 0.999380
  • hash-2Provenance Blockchain (HASH) $ 0.009302
  • arbitrumArbitrum (ARB) $ 0.077476
  • aptosAptos (APT) $ 0.584762
  • true-usdTrueUSD (TUSD) $ 0.995790
  • a7a5A7A5 (A7A5) $ 0.012152
  • injective-protocolInjective (INJ) $ 4.63
  • euro-coinEURC (EURC) $ 1.14
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.37
  • aerodrome-financeAerodrome Finance (AERO) $ 0.448217
  • ether-fiEther.fi (ETHFI) $ 0.410887
  • dashDash (DASH) $ 31.12
  • vechainVeChain (VET) $ 0.004518
  • ousgOndo Short-Term U.S. Government Bond Fund (OUSG) $ 116.03
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.005956
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.566096
  • official-trumpOfficial Trump (TRUMP) $ 1.48
  • usdtbUSDtb (USDTB) $ 0.999465
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.997388
  • sun-tokenSun Token (SUN) $ 0.017786
  • pyth-networkPyth Network (PYTH) $ 0.042543
  • lido-daoLido DAO (LDO) $ 0.386456
  • curve-dao-tokenCurve DAO (CRV) $ 0.209944
  • midnight-3Midnight (NIGHT) $ 0.019116
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.141115
  • celestiaCelestia (TIA) $ 0.331278
  • kinesis-goldKinesis Gold (KAU) $ 130.02
  • layerzeroLayerZero (ZRO) $ 0.874033
  • spx6900SPX6900 (SPX) $ 0.325312
  • unibaseUnibase (UB) $ 0.119635
  • apxusdapxUSD (APXUSD) $ 0.867422
  • sei-networkSei (SEI) $ 0.043230
  • kaitoKAITO (KAITO) $ 1.18
  • jito-governance-tokenJito (JTO) $ 0.561759
  • gnosisGnosis (GNO) $ 106.24
  • terra-lunaTerra Luna Classic (LUNC) $ 0.000050
  • olympusOlympus (OHM) $ 18.59
  • antfunAntFun (ANTFUN) $ 0.042473
  • apenftAINFT (NFT) $ 0.00000027
  • bitcoin-cash-svBitcoin SV (BSV) $ 13.08
  • bittorrentBitTorrent (BTT) $ 0.00000026
  • bonkBonk (BONK) $ 0.000003
  • pendlePendle (PENDLE) $ 1.47
  • monadMonad (MON) $ 0.021097
  • blockstackStacks (STX) $ 0.134436
  • reallinkRealLink (REAL) $ 0.073765
  • onycOnRe Tokenized Reinsurance (ONYC) $ 1.13
  • kite-2Kite (KITE) $ 0.098013
  • agora-dollarAUSD (AUSD) $ 0.999076
  • peanut-2-2Peanut (PEANUT) $ 0.000595
  • tezosTezos (XTZ) $ 0.205622
  • conflux-tokenConflux (CFX) $ 0.042495
  • fraxLegacy Frax Dollar (FRAX) $ 0.992395
  • fgrs-figure-tokenized-stockFGRS (Figure Tokenized Stock) (FGRS) $ 31.51
  • kinesis-silverKinesis Silver (KAG) $ 57.51
  • plasmaPlasma (XPL) $ 0.080807
  • bc-tokenBCGame Coin (BC) $ 0.021560
  • bnb48-club-tokenKOGE (KOGE) $ 63.40
  • crvusdcrvUSD (CRVUSD) $ 1.00
  • jasmycoinJasmyCoin (JASMY) $ 0.004275
  • grassGrass (GRASS) $ 0.326990
  • tradable-na-rent-financing-platform-sstnTradable NA Rent Financing Platform SSTN (PC0000031) $ 1.00
  • doublezeroDoubleZero (2Z) $ 0.058205
  • ape-and-pepeApe and Pepe (APEPE) $ 0.00000096
  • flokiFLOKI (FLOKI) $ 0.000021
  • optimismOptimism (OP) $ 0.087349
  • syrupMaple Finance (SYRUP) $ 0.170681
  • decredDecred (DCR) $ 11.17
  • starknetStarknet (STRK) $ 0.028766
  • vaneck-treasury-fundVanEck Treasury Fund (VBILL) $ 1.00
  • coco-2coco (COCO) $ 0.189195
  • falcon-finance-ffFalcon Finance (FF) $ 0.062813
  • usaUSAT (USAT) $ 0.998828
  • ultimaUltima (ULTIMA) $ 2,162.79
  • zebec-networkZebec Network (ZBCN) $ 0.001822
  • pieversePieverse (PIEVERSE) $ 0.644119
  • ethereum-name-serviceEthereum Name Service (ENS) $ 4.28
  • velvetVelvet (VELVET) $ 0.412506
  • build-onBUILDDon (B) $ 0.172261
  • wefiWeFi (WFI) $ 1.98
  • re-protocol-reusdRe Protocol reUSD (REUSD) $ 1.09
  • bitwayBitway (BTW) $ 0.075471
  • raydiumRaydium (RAY) $ 0.604253
  • the-graphThe Graph (GRT) $ 0.015053
  • tradable-apac-diversified-finance-provider-sstnTradable APAC Diversified Finance Provider SSTN (PC0000033) $ 1.00
  • telcoinTelcoin (TEL) $ 0.001694
  • spiko-us-t-bills-money-market-fundSpiko US T-Bills Money Market Fund (USTBL) $ 1.09
  • compound-governance-tokenCompound (COMP) $ 16.54
  • usdaiUSDai (USDAI) $ 0.999257
  • safoSpiko Amundi Overnight Swap Fund (SAFO) $ 1.02
  • apyusdapyUSD (APYUSD) $ 1.21
  • apecoinApeCoin (APE) $ 0.154651
  • mx-tokenMX (MX) $ 1.64
  • kaiaKaia (KAIA) $ 0.025701
  • gusdGUSD (GUSD) $ 0.997916
  • thorchainTHORChain (RUNE) $ 0.441694
  • dogwifcoindogwifhat (WIF) $ 0.148673
  • vision-3Vision (VSN) $ 0.039721
  • dexeDeXe (DEXE) $ 3.18
  • eigenlayerEigenCloud (prev. EigenLayer) (EIGEN) $ 0.198401
  • societe-generale-forge-eurcvEUR CoinVertible (EURCV) $ 1.14
  • axie-infinityAxie Infinity (AXS) $ 0.841684
  • trust-wallet-tokenTrust Wallet (TWT) $ 0.351618
  • iotaIOTA (IOTA) $ 0.031735
  • lido-earn-ethLido Earn ETH (EARNETH) $ 1,904.09