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 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...
█ 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...
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...
█ 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,...
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.
This is a study intended to port the work of /u/QuantNomad's "Kozlod - All-time high/low alerts" to pine version 4 without giving any alerts. It is intended to capture the most extreme points on any given price chart in real time, the absolute high and absolute low points. Ideally, the plotted lines would strictly diverge from one another in opposite directions...
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...
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...
I created this indicator/study script because i ran into the issue that the same Alerts would fire multiple times. For example it would trigger a Long signal when already being in a Long. I guess there would be no issue with a very basic strategy but with a larger script and many variables, it seemed to create complications. This is resolved by a TradingLine...
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...
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...
Trying to include few basic things which is needed for strategy which can be used as template. Few important components Strategy parameters Few important parameters include - initial_capital, default_qty_type, default_qty_value, commission_type, pyramiding and commission_value. All my strategies will have similar settings with initial captial set to 20000 to...
Experimental NAND Perceptron based upon Python template that aims to predict NAND Gate Outputs. A Perceptron is one of the foundational building blocks of nearly all advanced Neural Network layers and models for Algo trading and Machine Learning. The goal behind this script was threefold: To prove and demonstrate that an ACTUAL working neural net can be...
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...
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!...