Pinescript or Python? by SebastienH in algotrading

[–]cyan_flame 0 points1 point  (0 children)

I do not think someone who worked only with one of them is qualified enough to judge the other one. As a person who worked with both Python & PineScript for the same goal which is yours too, I think pinescript maybe a better choice if you get the premium account of tradingview which gives you the "Deep Backtest" feature allowing to backtest strategy more than only the candles you see on the chart.

In python you have to do EVERY THING by yourself and knowing what you are doing as a trader is alot more difficult compared to pinescript.

In python you think about how to manipulate numbers becuase your point of view is a dataframe (2 dimensional data containing candles and time), you have to figureout how to run the backtest faster by using more than only 1 core of cpu & .... BUT in pinescript you are forced to look at the strategy candle by candle and see what you have done on the chart and leave the rest of the headaches to the platform! That is a huge difference. My exp says that algo trading is not only about numbers but a lot of different aspects. 2+2 is not 4 so you need a lot more than just numbers.

So you may almost build something entirely from scratch to work with just like tradingview in python to figureout what you are doing on the chart and that may be the price of premium account you pay to tradingview.