Pine Script

Sorting an array in Pine Script

Author name: QuantNomad

Pine Script Strategy trading at specific days of the week.

In this article, I’m showing how to work with days of the week in Pine Script and an example of a simple strategy built with only days of the week signals. To know the current day of the week, I’m using “dayofweek()” function. It outputs numbers from 1 to 7 depending on the day of the week. Be careful with the values, 1 is Sunday, and 7 is Saturday here.

Pine Script Strategy trading at specific days of the week. Read More »

Add a parameter to allow Pine Script Strategy to be long or short.

Trading strategies can vary greatly when applied to long and short positions. So traders might want to use different parameters for both sides. Furthermore, traders may develop different strategies for managing risk when taking a long or short position. By understanding the differences in strategies for long and short sides, traders can make informed decisions

Add a parameter to allow Pine Script Strategy to be long or short. Read More »

Download all US stocks from EODHD API for only 20$/month.

I’m happy that market data APIs are becoming increasingly accessible to everyone. This democratizes the market and gives everyone a better chance to make informed investments and trading decisions. With services like EODHD, you can now access US stocks for as little as $20 a month. Eodhistoricaldata.com does not sponsor this post, it’s just an

Download all US stocks from EODHD API for only 20$/month. Read More »

TradingView Alerts – Get Notified Of Important Price Movements

Introduction Tradingview alerts are an excellent way to ensure you don’t miss out on any important price movements. The best feature of TradingView alerts is that they allow you to set them for multiple symbols at once. This means you can easily track your stocks’ performance across various exchanges without manually checking each time. You

TradingView Alerts – Get Notified Of Important Price Movements Read More »

Exporting Paper Trading Data in TradingView with a Free Account

TradingView just recently added a feature to download your paper trading data. Unfortunately, it works only with pro accounts. But in this article, I’ll show you a hack that will allow you to export this data with any account. So you already did a bunch of trades in your Paper Account and you have some

Exporting Paper Trading Data in TradingView with a Free Account Read More »