Hi everyone, Just sharing a script that I made when I began to be interested in Mark Minervini, Wiliam O'Neil, Nicolas Darvas,.. trading style. This script displays : - 10 EMA (orange) - 20 EMA (blue light) - 50 SMA (blue) -150 SMA (green) -200 SMA (red) - Shows when the stock is "extended" from EMA10 to high of the candle (Works in Daily, you can adjust the %...
A few people have been asking me to share my backtesting template. Currently I use this as my starting point for validating existing strategies and developing new ones. Features: Trading Date Range Trade Direction 4 progressive take profits with target percents and percentage of position to take profit on (Thanks adolgo) Variable percentage Stop...
Hello Traders I've build a strategy template building for you the AUTOVIEW commands I made this template based on this documentation: use.autoview.with.pink You can select whether you want to use an SL or not, a TP or not, using the borrow/repay feature (only for Binance), ... and it will build dynamically the Autoview commands and will send them when...
This script is meant to be used as a generic template for new strategies. Take Profit, Stop Loss logic is provided out of the box with (or without) their trailing variations while the trailing for entry and exit orders can also be enabled and be configured! Custom quantity risk management is provided along with the ability to set custom signal messages that can be...
Hello Traders As most of you know, I'm a member of the PineCoders community and I sometimes take freelance pine coding jobs for TradingView users. Off the top of my head, users often want to: - convert an indicator into a strategy, so as to get the backtesting statistics from TradingView - add alerts to their indicator/strategy - develop a generic strategy...
This script demonstrates how to do trailing buy. With this approach, given an entry signal, instead of buying directly, you just follow the price downwards (for long positions) and you buy when the price increases by a small percentage. The order will be executed when the next bar is closed. This approach may increase the profits (slightly) in some strategies!...
Hello Traders With the Ultimate Strategy Template , I shared a template to connect any indicator to this template and get backtesting results in less than a few minutes Now sharing another template ... many traders ask me to develop for them a screener/scanner based on a custom indicator on TradingView. The current TradingView screeners are great but don't...
Sample Strategy: MACD Crossover with trend filter options MA Filter : Price Close Above MA, Search for Buy, Price Close Below MA, Search for Sell ADX Filter : Take trade only when ADX is above certain treshold MACD Signal : MACD Cross above signal line while under 0 line indicate Buy Signal MACD Cross below signal line while...
This is the fastest way to create a Trading View strategy. The template I have created includes stoploss and take profit enabling and plotting, date range, and strategy buy and sell conditions. I believe this will benefit the people in the Trading View community by creating a strategy faster and more efficiently than just repeating pine script code. All that needs...
A strategy template with following user inputs: 1. backtest start date 2. tp% and stop loss% 3. trail stop price and trail stop offset The long and short condition is ma crossover and corssunder by default. You can change the logic with your own.
█ OVERVIEW This Framework allows Pine Coders to quickly code Study() based signal/strategy and validate its viability before proceed to code with more advance/complex customized rules for entry, exit, trailstop, risk management etc.. This is somewhat an upgraded version of my earlier personal template with different strategy used, cleaner code and additional...
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...
A template example on how to apply the famous Martingale gambling strategy. When your strategy gets an exit signal for your long position that leaves you without profit, you re-enter on the next entry long condition with double the capital of the previous amount entered with. You keep doubling the amount of capital entered with until you finally exit with a...
This script is a template designed to provide developers with UI color customization for v4 lines and labels. The color pallete used within this script is a full spectrum "web safe" format with 216 colors to choose from. Colors are easily modified via the RGB inputs. The designated color selector function takes in the RGB values and returns the corresponding hex...
Hello All, This script is a framework to analyze and see the results by combine selected indicators for (long, short, longexit, shortexit) conditions. I was designed this for beginners and users to facilitate to see effects of the technical indicators combinations on the chart WITH NO CODE You can improve your strategies according the results of this system by...
█ OVERVIEW Here I present to the community at large a collection of code comment blocks that I think will be useful, especially for larger script projects bordering on 2,000 lines or above of code. █ PLANNED FUTURE UPDATES Work with the community to expand this template to be even more useful with the inclusion of useful global colour sets,...
Introduction Today i propose an hybrid filter that use a classical FIR architecture while using recursion. The proposed method aim to reduce the lag generated by fir filters. This particular filter is a sine weighted moving average, but you can change it since the indicator is built with the custom filter template (1). Even if it use recursion it still is a FIR...
This is a template not actually meant for trading. I picked two random oscillators. This is a template meant to turn into a live trading strategy, however. It's literally just a specialized take profit/stop loss system. It is to ensure your bot doesn't make any bad moves that you wouldn't have manually. The code should be pretty well annotated. Putting this into...