Fibonacci+MA+RSI indicator v2

Sell Signal: Black traingle downward
Works best on 15min chart. Performance numbers are really good for indices.( Need to change timeframe and values to work for forex or CFDs).
This script generates the fibonacci bars on the fly based on the length of previous candles(user input available).
(1,0.618,0.5,0.382,0 levels are used).
Buy or sell signals are generated only when:
the price nears specific fibonacci levels
and
if RSI is favorable
and
if moving averages are favorable
Almost all the options are user customizable. Default settings are the ones with most profitable %.
Risk points : Number of points to use as stop loss
Contracts, Lots : Order Quantity.
RR Ratio : Risk to Reward Ratio for order limit and stop levels.
RSI High and Low: Used in conjunction with Fib levels and Moving averages ( sma used)(To prevent a buy when RSI is overbought and vice versa)
use MA : To usemoving averages for signal generation. Lengths for short,medium and long term MAs are customizable
Fib length : Number of hours to consider. Internally this is multiplied by 4 to generate signals for 15min charts.
ATR % : % of ATR to consider when price is in proximity (For example fibLevel+atr% and fibLevel-atr% are considered when looking for a crossover with price). Set to minimum to ignore this.
FollowReversal : Enabling will wait for 1 confirmation candle to generate the signal.
Tested on Nifty -0.19% , Dow , S&P 0.20% etc. indices.
Please let me know if you have further questions and suggestions. I am learning to script, any help would be really appreciated.
May make the script public once I am happy with the performance.
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với rjv17.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với rjv17.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.