Get up to $5000 trading bonus & Trade Risk-Free.
Pine script is a simple, lightweight, and cloud-based programming language by tradingview which is used to create custom indicators, Alerts, and backtest trading strategies using historical data.
A Code basically consists of constants, variables, and functions. Conditions are applied to get the desired output. We apply specific conditions and whenever the program meets those conditions then it operates.
For example, you want the program to run whenever there is a pin bar candle in the EURUSD currency chart and in a specific timeframe.
You will code a script by applying conditions of a pin bar like candle must have 80% wick and 20% body. Code will run on every tick. Whenever conditions will fulfill it will give you an alert or show you graphically on a chart. It depends on your code. Simple is that
Prior knowledge of any programming language is not necessary. Tradingview has made it simple for traders by developing a pinescript. Because if you are using any other language then you need to source data but tradingview has most of the built-in stuff. This feature makes it simple and less complicated than any other programming language.
I will recommend you to learn advanced pinescript instead of old-fashioned mql4.
We will learn
If you have knowledge of the python programming language then it is a plus point for you and you will learn pinescript easily.
If you are a trader you must learn this language to create custom indicators to save a lot of screen time.
I will explain everything about pine script and will teach you from basics to advance. Basically, I’m an engineer, a full-time forex trader, and have in-depth knowledge of the python programming language. Pine script is very easy as compared to python.
At the end of this pine script tutorial series, you will be able to code a good indicator or a trading strategy.
Note: All the viewpoints here are for educational purposes only. we are not responsible for any type of loss in forex trading.
when you spend hours on technical analysis but don't find any profitable trades.
If you are serious about trading you need more than just signals, and we can help.