<jupyter_start><jupyter_text>Relative Strength Index (RSI)The relative strength index tells the historical **strength** or **weakness** of the historial price.<jupyter_code>import cufflinks as cf
import pandas as pd

cf.set_config_file(world_readable=True,offline=False)

cf.datagen.lines(1,200).ta_plot(study='rsi',periods=14,title='Relative Strength Index')
from IPython.display import display, HTML

display(HTML('<link href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Inconsolata|Ubuntu+Mono:400,700" rel="stylesheet" type="text/css" />'))
display(HTML('<link rel="stylesheet" type="text/css" href="http://help.plot.ly/documentation/all_static/css/ipython-notebook-custom.css">'))

! pip install publisher --upgrade
import publisher
publisher.publish(
    'relative_strength.ipynb', 'pandas/relative-strength-index/', 'Relative Strength Index',
    'Moving average convergence divergence in Pandas and Cufflinks.',
    title = 'Relative Strength Index in Pandas | plotly',
    thumbnail='/images/rel_strength.png', language='pandas',
    page_type='example_index', has_thumbnail='true', display_as='financial_analysis', order=3)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13994910941475827, 'fraction_numerical': 0.021204410517387615, 'mean_word_length': 7.489208633093525, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '206314', 'license': 'CC-BY-3.0', 'n_tokens_mistral': 404, 'n_tokens_neox': 371, 'n_words': 74, 'path': '_posts/pandas/financial_analysis/relative_strength.ipynb', 'repo_name': 'bmb804/documentation', 'size': '1179'}