PineUnit by Guardian667 A comprehensive testing framework for Pine Script on TradingView. Built with well-known testing paradigms like Assertions, Units and Suites. It offers the ability to log test results in TradingView's built-in Pine Protocol view, as well as displaying them in a compact table directly on your chart, ensuring your scripts are both robust and...
This script allows to compare which code is more efficient by running it inside a loop for a certain time or a certain number of iterations. Just paste your pieces of code as Option 1 and Option 2 inside the loop (see comments in the script).
This is scalper strategy designed around parabolic sar indicator, where as an input candle value it uses the heikinashi from a higher timeframe. This example has been adapted to SPY/SPX chart In this case ,we are using a 5 min chart, but the calculations are made on a 15 min heikin ashi chart for the PSAR and then on 5 min chart we plot the results. At the same...
Library "matrixautotable" Automatic Table from Matrixes with pseudo correction for na values and default color override for missing values. uses overloads in cases of cheap float only, with additional addon for strings next, then cell colors, then text colors, and tooltips last.. basic size and location are auto, include the template to speed this up... TODO...
DEBUGGER is a library to help print debug messages to a console. This library provides an easy-to-use interface to print your debugging messages to a console in the chart. Special attention has been given to printing series and arrays easily. A debugger is a valuable tool when working on scripts and getting into trouble. Unfortunately, TradingView does not...
TL;DR This script doesn't provide any buy/sell signals. This script won't make you profitable implicitly. This script is intended for utility function testing, library testing, custom assertions. It is free and open-source. Introduction About the idea: is not exclusive, programmers tend to use this method a lot and for a long time. The point is to...
This script is based on Bollinger Bands/Bandwidth data and displays support and resistance levels (thick horizontal lines), the direction/volatility of the levels (thin dynamic lines), and the testing of the levels (cross markers).
Testing a concept to get a TP and SL based on the ATR at the time of the position entry.
I created this indicator to primarily manually test other indicators in replay mode. To use this indicator generally you will: Select trade type: long or short Enter your ATR (enter the actual ATR). The indicator will then calculate and plot your SL and targets based on your values Default Stop Loss is ATR * 1.5 Default Target 1 is ATR * 1.5 Default...
Делал данный скрипт для FORTS.Идеально подойдет тем,кто использует трейлинг стопы.В основе стратегии лежит RSI.Как по мне,хорошая вещь для проверки стратегии и ее оптимизиации.На скрине 50 контрактов,так что не сильно радуйтесь,а просто делите на 50 и получите показатели на 1 контракт. Script make for futures on MICEX.U can change paramets of RSI,traling stop...
C320up Strategy Tester Start Time This is a little snippet you can paste into your Strategy to set the testing start date and time. It is not a Strategy per se, though is an example with the timestamp script included. Instructions are fairly straight forward, and are listed in the script. If for some reason you also wanted an end date, that too is possible....
This is a script for testing binary options trading strategies. To test a strategy, modify the 'go_down' or 'go_up' booleans. These SHOULD NOT access any current values (for example, 'ohlc4' or 'close '), or the backtesting will not be an accurate representation of the forward values. Modify the fraction_return input to be the return rate of the option on...