What Is This? This script code adds a Monthly Strategy Performance Table to your Pine Script strategy scripts so you can see a month-by-month and year-by-year breakdown of your P&L as a percentage of your account balance. The table is based on realized equity rather than open equity, so it only updates the metrics when a trade is closed. That's why some...
It's a simple example of how you can present your strategy's monthly performance in a chart. You maybe know that there is no support of these kind of charts in TradingView so this chart is actually a table object under the hood. Table visual appearance is customizable, you can change: Location Bar Width / High Colors Thanks to @MUQWISHI for hard work,...
This script was born out of my quest to be able to display strategy back test statistics on charts to allow for easier backtesting on devices that do not natively support backtest engine (such as mobile phones, when I am backtesting from away from my computer). There are already a few good ones on TradingView, but most / many are too complicated for my...
Some time ago I published Monthly returns table. Now It's time for weekly one. To get it work you need a pretty big screen, but I hope it will be useful for some of you. Features of this table includes: Display weekly returns of your strategy, benchmark, and alpha over this benchmark. Select benchmark to be another instrument Select the date from...
I keep working on trying to make TradingView strategies look fancier. A few months ago I published the first version of the Monthly Returns for Strategies in Pine Script. I received quite a lot of good feedback and quite a lot of requests to update it. This is a more advanced version of the Monthly Returns, in it, you can: Display monthly returns of your...
Backtesting indicators is easy , just add the following line of code to your script: plot(longEntry ? 1 : shortEntry ? -1 : longTP ? 0.5 : shortTP ? -0.5 : 0, color=na, editable=false, title='Backtest') These numbers are defined as constants in the backtester source-code. After adding this indicator to your chart: 1. Open Settings 2. Select supported...
These are the results calculated automatically by the tradingview system within a year. With an initial $ 5,000 investment and always reinvesting 100% of the capital. Taking in count that each open transaction has a cost of 0.2% on the total order placed on the market. Strategy NO REPAINT. Write me in private chat on Tradinview to my MaxZanotelli profile for a...