Pine Script vs Python

 The PineScript and Python, both are used for trade programming, however, python has a larger domain and is also used for many other purposes. Overall python is a vast programming language than pinescript which only focuses on technical indicator development and back-testing. 

What to learn? Python or PineScript?

Answer is very simple, if you don't have prior programming experience, I would suggest learning PineScript as it has limited instructions and commands compared to python. Further, if the focus is only to make trading strategies, back-testing and indicator development, I would like to suggest pinescript.

Complicated code and live trading are not possible through pinescript. Backtrader, a python module, can allow you both backtesting and live trading.

If you are new at programming, it is suggested that you try books on pinescript and backtrading module from "Teach Yourself" series from amazon.

Is Python and PineScript similar?

Yes, to some extent both are similar in terms of uses of syntax, formatting of instructions, however, even if you have a slight experience on any other programming language like "C", "Java" , "BASICS", "PASCAL", etc you can learn pinescript very quickly.

In pinescript, arrays were not introduced till late 2020s, the array introduced in pinescript have syntax very similar to python. This has been done so that programmers working in python could learn these concepts quickly in pinescript.

Is PineScript based on python?

No, pinescript is not based on python. The syntax are similar to higher level programming language, therefore some people feel that it is based on python.

Resources

Highest Rated Udemy Course on PineScript - Grab your Seat Now 

Udemy Discount Coupon Code : UDEMY-JAN23 (Valid upto 30th Nov 2023)

Learn more about coding on tradingview in PineScript through Books on pinescript available on amazon and kindle.


200+ pages book100 pages book200+ pages book


Point and Figure Charts : A Time-Tested Tool for Technical Analysis

In the dynamic world of financial markets, investors and traders constantly seek tools that can provide valuable insights into market trends...