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 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...
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 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...
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 is a fork of JustUncleL's Dual MA Ribbons R0.13 It is now a blank template for making new strategies / alerts for autoview The changes are as follows: Removed actual algo Establish functions for long Signal, long Close Signal and short Signal, short Close Signal to minimize the places code must be edited to update / replace algos Make allow Long and...
This is a fork of JustUncleL's Dual MA Ribbons R0.13 It is now a blank template for making new strategies / alerts for autoview The changes are as follows: Removed actual algo Establish functions for long Signal, long Close Signal and short Signal, short Close Signal to minimize the places code must be edited to update / replace algos Make allow Long and...
The code in this post contains a set of default strategy inputs I use in new projects / backtests in Tradingview. Full code commentary is available on the Backtest-Rookies website. To comply with house rules, I cannot post the direct link here. Features Trade Direction: So that you can limit the strategy for long only, short only or trade in both...