Please help...i want to add the code of moving average(9) line of rsi into rsi(14)..

 
Please help...i want to add the code of moving average(9) line of rsi into rsi(14)..
how to do that ...
if have the code of RSI's KD..is better..thankyou....
Reason: