crossAlta = ta.cross(parBase, parCotacao)
crossBaixa = ta.cross(parCotacao, parBase)
alert('🚨 Compra 📈\n' + '💰 ' + str.tostring(close) + ' \n🕗 Timeframe: ' + str.tostring(timeframe.period) + '\n' + str.tostring(syminfo.tickerid), alert.freq_once_per_bar)
alert('🚨 Venda 📉\n' + '💰 ' + str.tostring(close) + ' \n🕗 Timeframe: ' + str.tostring(timeframe.period) + '\n' + str.tostring(syminfo.tickerid), alert.freq_once_per_bar)