Hi I'm trying to create a scan that will compare the coins in my watchlist all btc pairs with price increase above #btc.usdt using compare symbol, but I get an error everytime.
Ive got the individual charts with this set up, it shows % difference of each coin from 0 UTC against btc.usdt using compare but I am having to manually check each chart
The error is object reference not set to an instant of an object
Heres the code
if (Close > CompareSymbol_Line(#BTC.USDT)[1]) { SetColor(Color.White); TriggerAlert("BTC LOW", @"BTC LOW"); SetScanResult(@"BTC LOW"); return; }
Also I would prefer if it could show me only if any btc pair in my watchlist increases for instance 1% above btc.usdt price
The idea being transferring trade from btc.usdt to other btc pair when this scan shows positive result