TradingView
BigBitsIO
20 Th09 2019 17:23

Scripting Tutorial 1 - Simple Moving Average 

Basic Attention Token / BitcoinBinance

Mô tả

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.

Phát hành các Ghi chú

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.

Phát hành các Ghi chú

Snapshot changed.

Phát hành các Ghi chú

Renamed the study, and forced version 4

Phát hành các Ghi chú

Snapshot update.
Bình luận
RozaniGhani-RG
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)
Confucius-The-Great
Thanks for the tutorials man. Your the best.
JoshuaMcGowan
thx for those tutorial playlists. much appreciated.
Dread_Pirate_Roberts
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.
Squeaker
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, 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.

youtube.com/watch?v=wBx0ebKJcG0&list=PLM0BBafRCnRNhvMxyiqScZWV_h41raut6
Thêm nữa