// Downloaded From https://www.WiseStockTrader.com




//RSI RIBBON

// Drag-and-drop the code on to your price chart 
_SECTION_BEGIN("RSI Ribbon");
//Plot( 2, /* defines the height of the ribbon in percent of pane width */"",
//    IIf(RSI()>70,colorLime,IIf(RSI()<30,colorRed,colorYellow)),styleOwnScale|styleArea|styleNoLabel,-0.5,100 );

Plot( 2, /* defines the height of the ribbon in percent of pane width */"", IIf(RSI()>EMA(RSI(),7) OR RSI()>50,colorLime,
      IIf(RSI()<EMA(RSI(),7) OR RSI()<30,colorRed,colorYellow)),styleOwnScale|styleArea|styleNoLabel,-0.5,100 );
_SECTION_END();
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx