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) $ 74,388.00
  • ethereumEthereum (ETH) $ 2,078.27
  • tetherTether (USDT) $ 0.999272
  • binancecoinBNB (BNB) $ 686.09
  • usd-coinUSDC (USDC) $ 0.999581
  • rippleXRP (XRP) $ 1.06
  • solanaSolana (LEFT) $ 84.91
  • tronTRON (TRX) $ 0.316836
  • figure-helocFigure Heloc (FIGR_HELOC) $ 1.04
  • hyperliquidHyperliquid (HYPE) $ 73.22
  • zcashZcash (ZEC) $ 1,003.02
  • moneroMonero (XMR) $ 589.30
  • dogecoinDogecoin (DOGE) $ 0.068573
  • usdsUSDS (USDS) $ 0.999977
  • whitebitWhiteBIT Coin (WBT) $ 71.80
  • leo-tokenLEO Token (LEO) $ 9.20
  • chainlinkChainlink (LINK) $ 10.47
  • cardanoCardano (ADA) $ 0.177541
  • stellarStellar (XLM) $ 0.149391
  • ethena-usdeEthena USDe (USDE) $ 0.999453
  • nearNEAR Protocol (NEAR) $ 3.72
  • bitcoin-cashBitcoin Cash (BCH) $ 232.86
  • daiDai (DAI) $ 0.999973
  • uniswapUniswap (UNI) $ 6.57
  • litecoinLitecoin (LTC) $ 51.05
  • avalanche-2Avalanche (AVAX) $ 8.60
  • canton-networkCanton (CC) $ 0.092652
  • suiSui (SUI) $ 0.837013
  • the-open-networkGram (prev. Toncoin) (GRAM) $ 1.20
  • usd1-wlfiUSD1 (USD1) $ 0.998410
  • tether-goldTether Gold (XAUT) $ 3,975.46
  • hedera-hashgraphHedera (HBAR) $ 0.066459
  • rainRain (RAIN) $ 0.003800
  • paypal-usdPayPal USD (PYUSD) $ 0.999854
  • global-dollarGlobal Dollar (USDG) $ 0.999961
  • ripple-usdRipple USD (RLUSD) $ 1.00
  • shiba-inuShiba Inu (SHIB) $ 0.000004
  • quant-networkQuant (QNT) $ 179.20
  • bittensorBittensor (TAO) $ 221.36
  • crypto-com-chainCronos (CRO) $ 0.048074
  • ondo-us-dollar-yieldOndo US Dollar Yield (USDY) $ 1.15
  • hashnote-usycCircle USYC (USYC) $ 1.14
  • ocdOKB (OCD) $ 98.51
  • ethenaEthena (ENA) $ 0.150998
  • pepePepe (PEPE) $ 0.000005
  • spiko-amundi-overnight-swap-fund-eurSpiko Amundi Overnight Swap Fund (EUR) (EURSAFO) $ 1.13
  • aaveAave (AAVE) $ 123.54
  • memecoreMemeCore (M) $ 0.795211
  • falcon-financeFalcon USD (USDF) $ 0.994388
  • ondo-financeOndo (ONDO) $ 0.367185
  • pax-goldPAX Gold (PAXG) $ 3,976.89
  • aster-2Aster (ASTER) $ 0.660166
  • blackrock-usd-institutional-digital-liquidity-fundBlackRock USD Institutional Digital Liquidity Fund (BUIDL) $ 1.00
  • pump-funPump.fun (PUMP) $ 0.003549
  • united-stablesUnited Stables (U) $ 0.999782
  • bitwayBitway (BTW) $ 1.01
  • world-liberty-financialWorld Liberty Financial (WLFI) $ 0.046979
  • usddUSDD (USDD) $ 0.998920
  • polkadotPolkadot (DOT) $ 0.855749
  • internet-computerInternet Computer (ICP) $ 2.60
  • morphoMorpho (MORPHO) $ 2.03
  • mantleMantle (MNT) $ 0.428359
  • skySky (SKY) $ 0.059215
  • htx-daoHTX DAO (HTX) $ 0.000002
  • bfusdBFUSD (BFUSD) $ 0.998978
  • bitget-tokenBitget Token (BGB) $ 1.71
  • worldcoin-wldWorldcoin (WLD) $ 0.315636
  • justJUST (JST) $ 0.144344
  • arbitrumArbitrum (ARB) $ 0.159073
  • usdgoUSDGO (USDGO) $ 1.00
  • ethereum-classicEthereum Classic (ETC) $ 6.70
  • gatechain-tokenGate (GT) $ 9.77
  • venice-tokenVenice Token (VVV) $ 20.21
  • open-usdOpen USD (OUSD) $ 0.999262
  • kucoin-sharesKuCoin (KCS) $ 6.84
  • polygon-ecosystem-tokenPOL (ex-MATIC) (POL) $ 0.088918
  • render-tokenRender (RENDER) $ 1.58
  • jupiter-exchange-solanaJupiter (JUP) $ 0.262295
  • lighterLighter (LIT) $ 3.33
  • algorandAlgorand (ALGO) $ 0.091139
  • kaspaKaspa (KAS) $ 0.029400
  • pi-networkPi Network (PI) $ 0.070585
  • injective-protocolInjective (INJ) $ 7.93
  • midnight-3Midnight (NIGHT) $ 0.046896
  • cosmosCosmos Hub (ATOM) $ 1.41
  • nexoNEXO (NEXO) $ 0.729915
  • ghoGHO (GHO) $ 0.998458
  • superstate-short-duration-us-government-securities-fund-ustbInvesco Short Duration US Government Securities Fund (USTB) $ 11.27
  • ether-fiEther.fi (ETHFI) $ 0.653857
  • filecoinFilecoin (FIL) $ 0.767890
  • layerzeroLayerZero (ZRO) $ 1.61
  • blockstackStacks (STX) $ 0.319978
  • pancakeswap-tokenPancakeSwap (CAKE) $ 1.84
  • xdce-crowd-saleXDC Network (XDC) $ 0.029194
  • janus-henderson-anemoy-aaa-clo-fundJanus Henderson Anemoy AAA CLO Fund (JAAA) $ 1.06
  • dashDash (DASH) $ 43.36
  • pearl-2Pearl (PEARL) $ 1.48
  • beldexBeldex (BDX) $ 0.070661
  • usual-usdUsual USD (USD0) $ 0.997746
  • pyth-networkPyth Network (PYTH) $ 0.067017
  • euro-coinEURC (EURC) $ 1.11
  • aptosAptos (APT) $ 0.577689
  • bianrensheng币安人生 (BinanceLife) (币安人生) $ 0.502241
  • true-usdTrueUSD (TUSD) $ 0.999816
  • stable-2Stable (STABLE) $ 0.027156
  • flare-networksFlare (FLR) $ 0.005414
  • eutblSpiko EU T-Bills Money Market Fund (EUTBL) $ 1.18
  • yldsYLDS (YLDS) $ 0.999256
  • a7a5A7A5 (A7A5) $ 0.011882
  • vechainVeChain (VET) $ 0.005311
  • raydiumRaydium (RAY) $ 1.66
  • pieversePieverse (PIEVERSE) $ 1.61
  • celestiaCelestia (TIA) $ 0.426371
  • hash-2Provenance Blockchain (HASH) $ 0.006947
  • quantixaiQuantix Finance (QFI) $ 999.15
  • pudgy-penguinsPudgy Penguins (PENGU) $ 0.006391
  • aeroAero (AERO) $ 0.555620
  • curve-dao-tokenCurve DAO (CRV) $ 0.244867
  • re-protocol-reusdRe Protocol reUSD (REUSD) $ 1.11
  • virtual-protocolVirtuals Protocol (VIRTUAL) $ 0.538468
  • kinesis-goldKinesis Gold (KAU) $ 128.10
  • fetch-aiArtificial Superintelligence Alliance (FET) $ 0.151447
  • spx6900SPX6900 (SPX) $ 0.372084
  • bittorrentBitTorrent (BTT) $ 0.00000035
  • deriveDerive (DRV) $ 0.314747
  • grassGrass (GRASS) $ 0.461187
  • official-trumpOfficial Trump (TRUMP) $ 1.14
  • bitcoin-cash-svBitcoin SV (BSV) $ 15.97
  • sofiusdSoFiUSD (SOFID) $ 0.999322
  • ousgOndo Short-Term U.S. Government Bond Fund (OUSG) $ 117.22
  • falcon-finance-ffFalcon Finance (FF) $ 0.085760
  • sei-networkSei (SEI) $ 0.044597
  • apxusdapxUSD (APXUSD) $ 0.997247
  • kite-2Kite (KITE) $ 0.123309
  • sun-tokenSun Token (SUN) $ 0.015255
  • starknetStarknet (STRK) $ 0.038002
  • gnosisGnosis (GNO) $ 107.88
  • first-digital-usdFirst Digital USD (FDUSD) $ 0.996466
  • unibaseUnibase (UB) $ 0.108731
  • pendlePendle (PENDLE) $ 1.56
  • lido-daoLido DAO (LDO) $ 0.322987
  • tezosTezos (XTZ) $ 0.241127
  • ape-and-pepeApe and Pepe (APEPE) $ 0.000001
  • plasmaPlasma (XPL) $ 0.052971
  • safoSpiko Amundi Overnight Swap Fund (SAFO) $ 1.03
  • bonkBonk (BONK) $ 0.000003
  • olympusOlympus (OHM) $ 15.54
  • optimismOptimism (OP) $ 0.100554
  • tradable-na-rent-financing-platform-sstnTradable NA Rent Financing Platform SSTN (PC0000031) $ 1.00
  • spacex-bstocks-tokenized-stockSpaceX (bStocks Tokenized Stock) (SPCXB) $ 141.16
  • beam-2Beam (BEAM) $ 0.004410
  • fraxLegacy Frax Dollar (FRAX) $ 0.990536
  • conflux-tokenConflux (CFX) $ 0.041246
  • backpackBackpack (BP) $ 0.862192
  • terra-lunaTerra Luna Classic (LUNC) $ 0.000039
  • arweaveArweave (AR) $ 3.24
  • ozone-chainOzone Chain (OZO) $ 0.219307
  • kaiaKaia (KAIA) $ 0.032531
  • decredDecred (DCR) $ 11.52
  • flokiFLOKI (FLOKI) $ 0.000021
  • compound-governance-tokenCompound (COMP) $ 20.16
  • usxUSX (USX) $ 0.999264
  • apenftAINFT (NFT) $ 0.00000020
  • thorchainTHORChain (RUNE) $ 0.602501
  • monadMonad (MON) $ 0.016750
  • bnb48-club-tokenKOGE (KOGE) $ 58.34
  • the-graphThe Graph (GRT) $ 0.017800
  • anvilAnvil (ANVL) $ 0.002170
  • kaminoKamino (KMNO) $ 0.031980
  • societe-generale-forge-eurcvEUR CoinVertible (EURCV) $ 1.11
  • kinesis-silverKinesis Silver (KAG) $ 51.82
  • midas-fasanara-global-openMidas Fasanara Global Open (MGLO) $ 1.01
  • shuffle-2Shuffle (SHFL) $ 0.372869
  • ethereum-name-serviceEthereum Name Service (ENS) $ 4.43
  • akash-networkAkash Network (AKT) $ 0.615680
  • basic-attention-tokenBasic Attention (BAT) $ 0.122104
  • btse-tokenBTSE Token (BTSE) $ 1.12
  • collector-cryptCollector Crypt (CARDS) $ 0.202843
  • jito-governance-tokenJito (JTO) $ 0.331592
  • zebec-networkZebec Network (ZBCN) $ 0.001792
  • usaUSAT (USAT) $ 0.998406
  • jasmycoinJasmyCoin (JASMY) $ 0.003608
  • spiko-us-t-bills-money-market-fundSpiko US T-Bills Money Market Fund (USTBL) $ 1.10
  • geodnetGeodnet (GEOD) $ 0.229685
  • instadappFluid (FLUID) $ 2.01
  • meteoraMeteora (MET) $ 0.296860
  • zamaZama (ZAMA) $ 0.065352
  • eigenlayerEigenCloud (prev. EigenLayer) (EIGEN) $ 0.161926
  • trust-wallet-tokenTrust Wallet (TWT) $ 0.390581
  • tradable-apac-diversified-finance-provider-sstnTradable APAC Diversified Finance Provider SSTN (PC0000033) $ 1.00
  • iotaIOTA (IOTA) $ 0.034192
  • convex-financeConvex Finance (CVX) $ 1.73
  • aerodrome-financeAerodrome Finance (AERO) $ 0.556751
  • cap-4Cap (CAP) $ 0.101675
  • dogwifcoindogwifhat (WIF) $ 0.158340
  • agora-dollarAUSD (AUSD) $ 0.998949
  • usdaiUSDai (USDAI) $ 0.999066
  • syrupMaple Finance (SYRUP) $ 0.134709
  • gmt-tokenGoMining Token (GOMINING) $ 0.373777
  • circle-internet-group-bstockCircle Internet Group (bStocks Tokenized Stock) (CRCLB) $ 67.75