Bitcoin Ninjas 'Ninja Signals' Buy & Sell Alert Trading Strategy

(for Cryptocurrencies, Forex, GunBot, ProfitTrailer, automatic trading software, and more)
Main Script:

-Allows users to easily set automated buy and sell alerts on TradingView for use with automatic and manual trading of cryptocurrencies, Forex securities, and more (alerts are compatible with automatic trading software such as GunBot, ProfitTrailer, and more).
-Synthesizes many powerful indicators [e.g. Relative Strength Index (RSI), stochastic RSI, Money Flow Index (MFI), Moving Average Convergence Divergence (MACD), etc.) into one super script to generate very precise buy and sell signals in almost any market condition.
-Buy arrows (blue) and sell arrows (red) can be changed or hidden for ease of viewing.
-No lag EMA trendline featuring trend-reversal color-coding (white uptrend, black downtrend).
-Adjustable ‘calibration’ setting allows users to customize the script to work for any currency or security available through TradingView, on any exchange, simply by adjusting a number.
-Complete with backtesting strategy version of script which allows users to test various buy and sell strategies based on the alerts the script generates (see info and screenshots below).
-Backtesting strategy incorporates a user-defined adjustable date range, so users can estimate the script’s performance over specific periods of time, such as the last day, week, or month.
-Backtesting strategy utilizes a minimum protective gain setting to help you never sell for a loss. Simply adjust your minimum profit (%) per trade, and the test results will update.
-Backtesting strategy allows for pyramid buying to test various average down / double up buying strategies. Simply adjust the number of pyramid buys and the quantity of each buy.
-Free 7-day trial available for TradingView users who join our free BitcoinNinjas community.
-Free 24/7 support via BitcoinNinjas Telegram GunBot support group with script purchase.
-Fully compatible with GunBot automatic trading software (TradingView plugin is required).
-Special discount available for traders who purchase GunBot automatic trading software and the GunBot TradingView plugin from BitcoinNinjas, allowing for fully automatic trading.
-Contact us via Email or Telegram for more information, to request additional / custom screenshots, or to start your free trial.
Screenshot (Script)
Screenshot (Backtesting Strategy)
Screenshot (Adjustable Calibration, Minimum Profit Per Trade, & Date Range)
Screenshot (Optional Pyramid / Average Down Buying)
Screenshot (Customizable Buy/Sell Arrows & Trend Reversal Line)
DISCLAIMER: By viewing and/or using this TradingView script, you agree to the BitcoinNinjas 'Terms of Use', as presented on our website (BitcoinNinjas.org) and as stated here. No sharing, copying, reselling, modifying, or any other forms of use, are authorized for this document. This document is strictly for individual use and informational purposes only. This is not financial or investment advice. Investments are always made at your own risk, and are based on yo
Fixed the repainting / over-alerting problem by upgrading the script's Pine Editor code to version 3 (previously was version 2), and by adding / adjusting a few of the new variables available in version 3. The 'Ninja Signals' script and backtesting strategy are even better now, including for manual traders and those using automatic trading software (e.g. Gunbot), since the buy and sell alerts are more precise now. Thanks to 'Brian S.' and 'MVPMC' for pointing this problem out to me so I could fix it. I will extend all current users' free 7-day trials by restarting the trials today, now that the problem has been fixed.
Additionally, we recommend NEVER selling for a loss due to the fact that backtesting is only a rough estimate of script performance based on previous dates, not an exact prediction or test of future data. We recommend using a "minimum profit per trade" setting of at least 0.2% when testing the script to guide your live trading, regardless of what trading system you are using (e.g. manual, automatic, etc.). We do not recommend selling for a loss ever because backtesting is only an estimate, not a precise prediction, so attempting to make profit by selling for a loss is far less predictable than only selling for profit every time, even if that means waiting for price to come back up after dropping. Never selling for a loss allows for peace of mind and allows the script to work very well, especially with automatic trading systems like Gunbot trading software, but also with manual trading as well. If you do not have automatic trading software, we recommend Gunbot and are official resellers of the software, and you receive a discount on the script if you purchase Gunbot together with the script. The script works great and has helped us make some very awesome trades so far. I will include some recent examples below.
4/8/2018 4:01 AM
New Binance order
Sell BTC-IOST
Quantity: 19940
Rate: 0.00000507 BTC
Bought on: 4/7/2018 11:01 PM
Profit: 1.198%
4/7/2018 5:39 AM
New Binance order
Sell BTC-ONT
Quantity: 250
Rate: 0.00057025 BTC
Bought on: 4/7/2018 2:16 AM
Profit: 1.753%
DISCLAIMER: By using this informational planning script, you agree to the BitcoinNinjas 'Terms of Use', as presented on our website (BitcoinNinjas.org) and as stated here. No sharing, copying, reselling, modifying, or any other forms of use, are authorized for this script, strategy, or the information published along with it. This planning script and trading guide is strictly for individual use and informational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your own judgement. BitcoinNinjas is not responsible for any losses you may incur. Please invest wisely.
'Ninja Signals' v2.0 (STRATEGY)

'Ninja Signals' v2.0 (SCRIPT)

-No repainting. Buy/sell arrows match with alerts, even after the script or chart has been refreshed.
-Now featuring a user-defined adjustable stop loss setting for additional trading strategy planning.
-Script versions 1.0 and 2.0 both included with free 7-day trial and optional license purchase.
Heikin-Ashi candle on/off switch (script & strategy)
'Only Buy if RSI < 70' on/off switch (script & strategy)
'No Buys if Downtrend' on/off switch (script & strategy)
'Only Sell for Profit' on/off switch (strategy only)
Adjustable 'Stop Loss' setting (strategy only)
Note: 'Ninja Signals' v2.0 Script and Strategy are now available, which are the non-repainting versions of 'Ninja Signals' v1.0. Please see the links below.
'Ninja Signals' v2.0 (SCRIPT)

'Ninja Signals' v2.0 (STRATEGY)

RSI Buy Filter is now adjustable, user-defined
Downtrend EMA Buy Filter is now adjustable, user-defined
Date Range Filter now features an on/off switch for ease of use
Default transaction fee of 0.05% per trade now factored into net profit of backtesting strategy
-Stop Loss is now an alertable condition, allowing traders to create alerts that fire whenever stop limit is hit (orange square on chart).
-Trailing Stop (stop loss from last sell arrow) can now be enabled instead of regular stop loss (from last buy arrow) by checking an on/off box.
-Trailing Stop option also added to backtesting strategy so traders can compare regular stop loss versus trailing stop loss during testing.
-EMA Downtrend Filter (corresponds to black and white EMA trend line seen on graph)
-Stochastic RSI Cutoff Filter
-Stochastic RSI Trend Filter
-MACD Trend Filter
-MFI Trend Filter
-Donchian Channel Filter
-Ichimoku Cloud Filter
-RSI Divergence Filter
-Squeeze Oscillator Filter
-Aroon Oscillator Filter
-Bollinger Band Filter
-Keltner Channel Filter
-New Label Descriptions
-MACD Cutoff Filter
-MFI Cutoff Filter
-Default values added to labels
-Added optional Trailing Take Profit feature to existing Take Profit
-Updated Bollinger Band and Keltner Filters to increase effectiveness
-Adjusted default backtesting properties to ensure compatibility with atypical trading pairs
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact Bitcoin_Ninjas directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
Disclaimer
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact Bitcoin_Ninjas directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.