This is the strategy script indicator of Crypto Trend Following Strategy which can be used for back testing. With study script indicator, strategy can be easily automated.
Script is using several moving averages to keep you on the right side of the trend. Signals are also filtered based on other indicators to prevent buying already overbought or selling already oversold coins and avoid ranging markets.
MAIN GOAL Main goal of the strategy is long-term stable profit. No strategy has 100% accuracy therefore there always will be some false signals. But patience pays, with Trend Following Strategy, you will get couple of small loses while waiting to get big wins when coin is trending strongly. As you never know the right time you must sustain and be in all trades to make sure that you will not miss the big move.
BACKTEST This script is for free to play with so you can back test and see for yourself how the strategy performs on any of your favourite coins. Strategy is optimized and back tested for USDT and BTC pairs on 6h timeframe but it can be used on any pair and any timeframe.
RISK & REWARD Strategy does not use safety orders as DCAs usually leads to bag holding sooner or later. It does not use take profit either as strategy will tell you when to buy and when to sell based on the actual market condition. You should always use stop loss to protect your account from drawdown or even being liquidated. You can change stop loss or take profit as you like or even back test the strategy with your preferred settings to find what suits you best.
STRATEGY SETTINGS You can use the strategy script for fine tuning and find best settings for yourself. If you need any help with settings do not hesitate to ask. I would also appreciate any feedback and ideas how to improve the script. ==== Indicators settings ==== RSI Long < and StochRSI Long < • used to filter out buy signals of already overbought coins - ( stoch ) RSI must be under set value to fire a BUY signal RSI Short > and StochRSI Short > • used to filter out sell signals of already oversold coins - ( stoch ) RSI must be over set value to fire a SELL signal ADX > • used to filter out buy or sell signals in ranging markets - ADX must be over set value to fire a BUY or SELL signal MA Fast and Slow Length • Two moving averages to indicate an actual short-term trend Baseline Length & Type • Baseline is a moving average which confirms the longer-term trend. You can set length and type of the moving average ==== Test period settings ==== • You can set the back tested window ==== Strategy settings ===== • Target Take profit and Stop loss in % • Only LONG trades – tick if you do not want to calculate SHORT trades in the back test • Plot key levels on chart – if you use stop loss and/or take profit, you can turn on levels of price to reach (yellow – bought price, red – stop loss – green - take profit) Back test calculates with commission and fixed order size. You can change these settings on Properties Tab
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.