Convert RSI1 & SMA3 Indicator Script

Job ID: 40441309

Budget: $10 – $30 USD

I already trade on IQ Cent using the built-in RSI 1 and SMA 3 indicators and now want the exact same tools on X Charts, written in Oke Script. The priority is accuracy: the values, colours and update behaviour must mirror the IQ Cent originals, and the code must be strictly non-repainting.

What I need you to do
• Extract or faithfully replicate the calculation method used by IQ Cent for both RSI 1 (period = 1) and SMA 3 (period = 3).
• Translate that logic into clean, well-commented Oke Script that runs on X Charts.
• Recreate the same visual representation—line style, default colours, overbought/oversold levels for RSI, and the simple moving-average line for SMA—so the charts look familiar at a glance.
• Guarantee non-repainting behaviour; the plots must stay fixed once a candle closes.

Acceptance criteria
1. When the scripts are loaded on X Charts, their numerical outputs match live IQ Cent values candle-for-candle.
2. Visual styling is identical (or so close it is indistinguishable).
3. Source code is clearly commented, highlighting calculation sections and any Oke-Script-specific functions used.
4. Delivery includes individual scripts for RSI 1 and SMA 3 plus, if feasible, a combined version.

If you have experience with both the IQ Cent environment and Oke Script on X Charts, this should be straightforward. Let me know your estimated turnaround time and any clarification you need.