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...
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...
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 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...