TradingView backtester has bad reputation. For a good reason - it was producing wrong results, and it was clear at first sight how bad they were. But this has changed. Along with many other improvements in its PineScript coding capabilities, TradingView fixed important bug, which was the main reason for miscalculations. TradingView didn't really speak out about...
Short Summary This indicator takes the differences in the previous 4 period OHLC inputs, and compares them to the previously closed candle input. The difference is then placed into an oscillator that when all four inputs are scrolled back on, shows an EKG appearing oscillator / volatility measure for traders to use on indexes, tickers and markets that do not...
Hello traders This is a Pine adaptation of this FXCM LUA indicator Seems to be made mostly for tick data (< 1 min timeframe) and advanced scalpers Always interesting to see that Pinescript is much easier than most of other trading programming languages out there :) PS You might like checking the data window panel from TradingView and mouseover your cursor...
This script was built using a logical approach to trading systems. All the details can be found in a step by step guide below. I hope you enjoy it. I am really glad to be part of this community. Thank you all. I hope you not only succeed on your trading career but also enjoy it. docs.google.com
FIRST OF ALL, THIS NOT AN INDICATOR! This is in XML format as a "utilitarian developer tool add-on" for Notepad++ editor for viewing Pine Script on 4K screens, but 4K isn't REQUIRED to use this. For all Notepad++ enthusiasts out there utilizing Pine Script, I present a UDL(User Defined Language)... for Notepad++... for Pine Script v4.0... on 4K LCDs. This is...
A Basic 3 EMA Study / Indicator built in version 4 of Pinescript. Individual color changing lines based on the position of the price (close) relative to each specific EMA Alerts can be set for either - All Signals Bullish - All Signals Bearish I try to keep my code clean and readable with comments and always enjoy seeing what others do with it. Please give...
Basic logic switch to select back ground color based on chart resolution.
QuantCat Intraday Strategy This strategy is designed to be used on the 15 minute time frame, on liquid x/btc pairs and BTC/USD. It works by having 2 moving averages, automatic stop loss calculation, and taking positions on MA crosses and MA zone bounces for confirmation. Stoploss is so crucial to minimise any damage from huge unexpected candles, the...
For all Pine Script enthusiasts out there, I present my "Polychromatic Pine Magic" employing PSv4.0. This is NOT an indicator, and I would describe it as an articator that absolutely doesn't indicate anything at all. It's just a display of the " Power of Pine " to inspire other developers and maybe a few members or possibly non-members debating switching...
Introduction FIR filters (finite impulse response) are widely used in technical analysis, there is the simple or arithmetic moving average, the triangular, the weighted, the least squares...etc. A FIR filter is characterized by the fact that its impulse response (the output of a filter using an impulse as input) is finite, this mean that the impulse response...
Pinescript v3 Compatibility Framework (v4 Migration Tool) This code makes most v3 scripts work in v4 with only a few minor changes below. Place the framework code before the first input statement. You can totally delete all comments. Pros: - to port to v4 you only need to make a few simple changes, not affecting the core v3 code functionality Cons: - without...
Dragon-Script is a framework to make it as easy as possible to test your own strategies and set alerts for external execution bots. This is the alerts version of the script. The script has many features build in, like: 1) A ping/pong mechanism between longs and shorts 2) A stop-loss 3) Trailing Stops with several ways to calculate them. 4) 2 different ways...
Dragon Script is a framework to make it as easy as possible to test your own strategies and set alerts for external execution bots. The script has many features build in, like: 1) A ping/pong mechanism between longs and shorts 2) A stop-loss 3) Trailing Stops with several ways to calculate them. 4) 2 different ways to flip from long to short. The script is...
by fresca SCRIPT LANGUAGE Copy script below and adjust based on your preferences. -function (change function from "sma" to "ema", "wma" and more) -length (25 Day, 150 Day or add more averages to the three in this script.) -color, (red, yellow, etc. or use color hex codes i.e. #FEDA15, #FFAD8F, etc.) -transparency (set to desired level 1-100) Or add...
After a long gap, I have written the 5th tutorial for the pine script. You can find the others below, if you read through all of these you should be good to do your own writing. This script mimics the Trading View Indicator . For example this one below. www.tradingview.com It shows the net result of the 28 indicator, either as buy or sell. I...
I had been trying to code a predictive algorithm working with sine waves, but I got distracted and made some snow and Christmas trees lol. I'm uploading this with the source code because I'm sure someone will be able to learn from it to create something useful. Please follow me for some actual useful pine scripts and merry Christmas! :)
5 Scripts in 1 > Saving Time and Efficiency in My Daily Life Tired of doing those repetivie tasks with Trading View? - Spending Hours finding Support or Resistance?, Looking for Entry or Exit Signals? Looking for Pivot High/Low? - Only to do it all again, when changing timeframes or asset! - Fear Not > My All in One script should help. Please find an overview...