activechart = syminfo.tickerid show_ = input(false, title='show label') // = input.string('BINANCE:XRPUSDT', tooltip='In the format of EXCHANGE:BASEQUOTE, i.e. BINANCE:BTCUSDT. Use \'Show Label\' checkbox to display the on a label. Make sure to uncheck it afterwards.') // on_chart = activechart == ticker //sym01m = input.string('BINANCE', title="market", group='alert_1', inline='alert_01 inline') //sym01u = input.string('USDT', title="pair", group='alert_1', inline='alert_01 inline') //sym01p = input.string('PERP', title="perp", group='alert_1', inline='alert_01 inline', tooltip='capital letter 1 market 2 pair 3 pair uncheck spot') // COIN_1 //ticker_01 = input.string('BTC', title="", group='alert_1', inline='alert_1 inline', tooltip='In the format of EXCHANGE:BASEQUOTE, i.e. BINANCE:BTCUSDT. Use \'Show Label\' checkbox to display the on a label. Make sure to uncheck it afterwards.') //ticker_1 = sym01m +':'+ticker_01+sym01u+sym01p ticker_1 = input.symbol(title=' 1', defval='BITMEX:XBTUSD', group='alert_1', inline='alert_1 inline') // plot(coin_1) choice_1 = input.string("over", "", options = ["over", "under", "either"], group='alert_1', inline='alert_1 inline', tooltip='Write in "over", "under", or "either"') target_1 = input(0.0, title="", group='alert_1', inline='alert_1 inline', tooltip="ticker__timeframe__over/under/either__target price") timeframe_1 = input.string('240', title="", group='alert_1', inline='alert_1 inline', tooltip="alarm repeat minute") coin_1 = request.security(ticker_1, timeframe_1, close) // cross over or either