HARSI  + Divergences// All credit to © //@author=JayRogers & VuManChu Cipher B for their original Scripts (Open Source)
/ ====== ABOUT THIS INDICATOR                                                
//     I've combined some part of the code of the following indicators to get some alerts based on the Idea and Use section below :                                                                       
//  - RSI based Heikin Ashi candle oscillator                                
//  - Divergence based on the VuManChu Cipher B                              
//                                                                            
// ====== ARTICLES and FURTHER READING                                       
//                                                                            
//  - www.investopedia.com                     
//                                                                            
//    "Heikin-Ashi is a candlestick pattern technique that aims to reduce    
//    some of the market noise, creating a chart that highlights trend        
//    direction better than typical candlestick charts"                       
//                                                                            
// ====== IDEA AND USE                                                        
//     - The use of the HA RSI indicator when in the OverSold and OverBought  
//       area combined to a Divergence & a OB/OS buy/sell                     
//       on the Cipher B by VuManChu.                                        
//       Can be useful as a confluence at S/R levels.                       
//  *** Tip = 1 minute timeframe seems to work the best on FOREX                  
//                                                                            
//     *** Alerts :                                                              
//      - The Divergence alert needs 2 bar to calculate,                      
//       so alerts and dots as well, it will be placed on the right spot on   
//       the chart as per the offset added.                                   
//       - Use "Once Per Bar" for the alert, not per bar close, or you would 
//       have 1 extra bar delay                                              
//                                                                            
//  ** Contributions :  Remodel some part of the original script in order to get :                                                       
//  -->  Total conditions for an alert and a dot to display, resumed :       
//   - Buy/Sell in OB/OS                                                     
//   - Divergence Buy/Sell                                                    
//   - RSI Overlay is in OB/OS on current bar (or was the bar before)        
//     when both Buy/Sell dots from VMC appears.                              
//                                                                           
// ====== DISCLAIMER                                                          
//    For Tradingview & Pinescript moderators =                               
//    This follow a strategy where RSI Overlay from @JayRogers script shall be 
//    in OB/OS zone, while combining it with the VuManChu Cipher B Divergences 
//    Buy&Sell + Buy/sell alerts In OB/OS areas.                                                              
//    Any trade decisions you make are entirely your own responsibility.     
//                                                                             
//  Thanks to dynausmaux for the code
//  Thanks to falconCoin for  inspired me to start this.
//  Thanks to LazyBear for WaveTrend Oscillator 
//  Thanks to RicardoSantos for  
