Revision 6
Major update for future compatibility with Gunbot 10.
Updated variables and names to match Gunbot versions 9 and 10.
Added TRADING_FEES, BUY_LEVEL, GAIN, EMA1, and EMA2 for higher accuracy.
Now uses the same superior calculations and plotting as my "Gunbot Deluxe Tuners" script.
For Gunbot 9 you must set RSI_LENGTH equal to SMAPERIOD. In Gunbot 10 they can be different.
For Gunbot 9 you must set RSI_METHOD equal to "oscillator". In Gunbot 10 it can be either choice.
Remember to enter TRADING_FEES value also into Format -> Properties -> Commission, it is needed in both fields.
Added short title "BBRSIr6" to indicator that appears on screen for faster visual checking that you have the latest version.
To insure you are using latest version look at very bottom of Format -> Inputs settings. It should say "BB-RSI: Rev 6".
If you do not see "BB-RSI: Rev 6" then delete the indicator from all charts including any saved charts (save each saved chart after removing). Refresh browser and then reload the indicator.