How To Use Tradingview Pine Script – Introduction

Share it with your friends Like

Thanks! Share it with your friends!

Close

How to use the Pine Script or Pine Editor in Tradingview to create your own indicators. This video is a basic introduction into the pine scripting language.

Comments

Logiq Pierre says:

But if I would want to calculate average volatility based of last 10 bars (high, low), how can I do it?

I know I can't use : plot(hl2[10]/10) I understand that hl2 means (high+ low / 2), can I just use hl10?

Or can I just use: plot(high + low/10[10])

Thanks!

Hakan Acar says:

StRSI=100*(RSI(n)-LLV(RSI(n),n))/(HHV(RSI(n),n)-LLV(RSI(n),n)); please convert this code for tradeview

Kenneth Reid says:

how do I contact you? I want to get a pine script written. Thx!

Marcial Wills says:

Can Pine be used to create a tool in trading view? For example, I would like to create my own version of the Pitchfork tool

Carlos Josue Cruz Gomez says:

Hello, bro.
Thank you for this video.
I am wondering if i can use this pine editor to make a program that detect the armonics patterns.
Is this possible?
Im looking for the function of fibonacci but i cant find it.
can you help me?

Derek Frazier says:

hilariously, your hl2 displaced forward is a future line of demarcation! best of luck with FLD

Muggis says:

Thanks for solid intro! How do you deal with repainting? I'm trying to build a bot from alerts from a study I have made. The problem is that signals are based off five candles (Current one + 2 previous and next 2). So it generates a lot of fake signals by repainting. Any clever way to fix this? How would I use [2] in a study (Not a strategy)?

Abdul Azim says:

CAN U MAKE ME A AUTO STRATEGY ON TRADING VIEW I DON'T KNOW HOW TO DO IT I WILL EXPLAIN YOU YOU GIVE ME STRATEGY MY MAIL ID IS ABDULAZIM2526@GMAIL.COM AND MY WHATS APP NUMBER IS =91-9998524554 PLEASE REVERT AS EARLY AS POSSIBLE

TimeFliesBuy says:

Say you wanted to just change the color of a few candles based on …your rsi being oversold, I feel like the documentation sucks, the examples are horrible and a lot of the new scripts are blocked by the authors.

Blame The Crypto BTC says:

very good stuff bro been watching you for a while…can you do a updated beginners tutorial? i want to learn but it seems to technical

Write a comment