BigBitsIO

Scripting Tutorial 1 - Simple Moving Average

This script is for a simple moving average indicator. It is meant as an educational script with well formatted styling, and references for specific functions.
הערות שחרור: This script is for a simple moving average indicator. It is meant as an educational script with well formatted styling, and references for specific functions.
הערות שחרור: Snapshot changed.
הערות שחרור: Renamed the study, and forced version 4
הערות שחרור: Snapshot update.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?
Like and follow!

💻 Website: https://www.bigbits.io
📺 YouTube: https://www.youtube.com/bigbits
🎮 Discord: https://discord.gg/rapMn4z
🐦 Twitter: https://twitter.com/BigBitsIO
💸 Save $30 on TradingView Paid Plan: https://bit.ly/2CaRfjs

תגובות

study(shorttitle = "SMA - ST1", title="Simple Moving Average", overlay=true)
MAPeriod = input(21, title="MA Period")
MA = sma(close, MAPeriod)
plot(MA, color=color.purple, linewidth=4)
+1 השב
Thanks for the tutorials man. Your the best.
השב
thx for those tutorial playlists. much appreciated.
השב
I need help coding a 8 sma and 15 sma crossing, I want it to print a colours circle/dot. I want the indicator to draw the sma data and display the dot on the 4hr chart
how can i do this??

warm regards
Dread.
השב
Thanks for doing this with us. I've wanted to learn since I entered the space. Very hopeful that I can write my own scripts & back testing of strategies. Will you go that far?
השב
BigBitsIO Squeaker
@Squeaker, I plan on doing strategies yes. I'm doing YouTube video series for these scripts so if you don't understand anything in the scripts, check those out.

https://www.youtube.com/watch?v=wBx0ebKJcG0&%3Blist=PLM0BBafRCnRNhvMxyiqScZWV_h41raut6
+1 השב