Changelog

Older ProfitView releases.

Release notes for ProfitView 1.3.94 and earlier, newest first.

1.3.94
13/09/2025
  • FixFixed Telegram "Unauthorized" error due to Telegram blocking Bot API for browsers
  • FixFixed unwanted one second delay between commands for parallel alerts/accounts (MV3 only) when "--disable-background-timer-throttling" browser command line flag is not used
  • FixFixed automatic log export in delta mode only exporting empty log files
  • FixFixed log export stalling or not working when a lot of debug information was collected
  • FixBinance Futures · Fixed incorrect calculation of leftover order quantity
  • NewBybit / OKX · Added additional API call after order cancelation when "save" syntax option is used to get correct leftover quantity
1.3.93
31/08/2025
  • ImprovedState Cache is now cleared on "Test API key" if enabled (otherwise only on app restart)
  • ImprovedImproved pause/stop button behaviour in log viewer and added number of running alerts
  • ImprovedImproved number formatting of balances in the popup window
  • ImprovedGemini · Updated market data
  • FixOKX · Fixed "ccy" field error when placing closing orders & stops in Multi-Currency margin mode
  • FixOKX · Fixed detection of correct leverage for margin type crossed in Multi-Currency margin mode
  • FixOKX · Fixed use of wrong currency when using cached balance in Multi-Currency margin mode
1.3.92
23/08/2025
  • NewAdded syntax option yp (yieldpos/addpos/usepos) to easily add the size of an open position to new order size
  • ImprovedAdded syntax shorthand for quantity · q=50%l => q=50% qr=lastqty lc=1 (same as q=lastqty@*0.5)
  • NewAdded lastrelsize / lastrelsizesum to save syntax option containing relative position size (% of equity) for c/ch=pos
  • FixFixed global variables sometimes not being found due to UI allowing renaming with upper/mixed case (make sure to delete all existing global variables manually that have upper or mixed case names!)
  • ImprovedTV Indicator Settings Manager · Styling fixes (TV update)
  • ImprovedInternal refactoring for improved MV3 compliance and MV2 backward compatibility
  • ImprovedBybit · Improved caching of market state (hedge, margin type & leverage) to reduce API calls and speed up order placement (use only for accounts where no other manual or automated account state changes are taking place!)
  • NewBybit · Added syntax option to specify maximum allowed market order slippage (msle=/maxslipex=)
  • ImprovedGemini · Updated market data
  • NewKraken · Added warning and automatic limiting of leverage to allowed min/max of instrument (margin trades)
1.3.89
22/07/2025
  • ImprovedImproved price ticker caching to prevent deadlocks under certain conditions (disabled by default, see General Options / Caching)
  • FixTV Indicator Settings Manager · Fixed context menu not working due to recent TV update
  • FixFix for "runtime.sendMessage" error in TV addon leading to alerts not being picked up (caused by Chrome update; fixes @ 1.3.89)
  • ImprovedGemini · Updated market data
  • FixPhemex · Fixed "Currency not supported" error when checking positions caused by new USDC API changes
1.3.87
20/05/2025
  • FixFixed "msg is not defined" error when disabling/enabling PV (introduced in 1.3.86)
  • FixFixed PV alert disabled/locked state not updating live in UI when changed via syntax
  • ImprovedGemini · Updated market data
  • ImprovedSimpleFX · Updated ticker source from SignalR (deprecated) to Websockets
1.3.86
28/04/2025
  • NewAdded minplr/maxplr plot reference for minpl/maxpl filter (allowing eg. minpl=_myvar%)
  • FixFixed quantity variable shorthand for percentage calculation eg. q=lastqty*7% (was equal to q=lastqty*7)
  • ImprovedInternal changes for better MV3 compliance
  • FixSimpleFX · Fixed error on asset value conversion introduced in 1.3.81 update
1.3.85
18/04/2025
  • FixFixed syntax error being shown for direct use of global vars (eg. q=$buyin)
  • FixOANDA · Fixed error on asset value conversion introduced in 1.3.81 update
1.3.84
01/04/2025
  • NewAdded option to close the background process tab (MV3 only) when PV is disabled (see General Options)
  • NewAdded support for quotes when specifying e= / s= / a= syntax options (eg. s="btcusdt")
  • FixOANDA · Fixed some alternative market names containing spaces and other unsupported characters
1.3.83
25/03/2025
  • ImprovedUpdated to Manifest V3
1.3.82
03/03/2025
  • NewAdded support for Coinbase Advanced (beta!)
  • ImprovedMade all placeholder variables available to if/set/notify commands, eg. if=(res=5 and _myplot>100)
  • NewAdded barpos/bartime/slip placeholders and local variables with bar time/position and slippage info
  • NewAdded logvars command to list all currently available local variables to the log
  • FixFixed bug in alert editor sometimes duplicating '=' while typing parameters
  • ImprovedGemini · Updated market data
1.3.81
20/02/2025
  • NewAdded user interface for inspecting, changing and deleting global variables (see "Setup: Global Vars")
  • NewImplemented support for global variables (automatically saved) that can be set, checked and used in the same way as local variables (prefixed with '$', eg. q=$risk*3%) Note: When not prefixing '$' explicitly, if a local variable of the given name is not found the global one will be used as fallback!
  • NewImplemented if= syntax command to check custom/saved variables "live" via expression before running rest of a syntax command (eg. if=(_myplot > 3) abort) and corresponding else= conditional to skip commands or jump to a label when the if= expression evaluated to false or zero
  • NewImplemented set/setvar/unset syntax commands to set custom variables "live" via expression while running (eg. set=_myplot:(close / 3)) with syntax shorthands inc= (increment) / dec= (decrement) / mul= (multiply) / div= (divide) (eg. inc=_var or mul=_var:3)
  • NewImplemented price ticker caching per exchange to reduce API calls and increase consistency for parallel orders (disabled by default, see General Options / Caching)
  • NewImplemented support for querying all markets' closed PNL of an account via query=pnl sym=* (currently Bybit only!)
  • ImprovedImproved handling of "not" in placeholder or new if= command expressions (eg. [if not _myplot < close and not id=foo])
  • NewAdded general slippage info to log when maxslip option is used but not triggered (slippage within limits)
  • FixFixed Telegram Bot sometimes only delivering partial information back when the reply was over 4KB in length
  • FixFixed "from undefined" error in Telegram Bot when sending an edited message to the bot
  • FixFixed query closed PnL command calculating wrong relative position PnL for shorts
  • FixFixed warnings in alert editor for some valid saved order data (lastxxx)
  • FixFixed error on balance info export caused by removed exchange support
  • RemovedBybit · Removed support for retired v3 API and renamed Bybit v5 to Bybit
  • ImprovedGemini · Updated market data
1.3.78
17/01/2025
  • NewAdded alert id to the /alerts command in Telegram Bot
  • FixFixed lc=/levcalc= being ignored for absolute quantity closing orders (eg. q=100 lc=1 or q=@100)
  • FixBybit · Fixed free balance info not being available for UTA 2.0 accounts due to API change (only y=equity worked)
1.3.77
31/12/2024
  • NewAdded support for Channels / Groups to the Telegram Bot (disabled by default, also needs enabling in Telegram via @BotFather)
  • FixFixed save syntax option when used with different accounts in one alert (eg. ub acc=acc1 sv=a|ub acc=acc2 sv=b|log="{atotal};{btotal}")
  • FixFixed n=d:"{price}" and similar producing the same notification output like n=d:1 (built-in notifications) instead of intended output
  • ImprovedImproved splitting of strings in notification placeholders (eg. {total.1} now produces the account balance without currency suffix)
  • FixBybit v5 · Fixed some linear markets not being found (eg. ZENUSDT)
  • ImprovedGemini · Updated market data
  • ImprovedKraken Futures (Flex): Fixed misleading log output when leverage AND mt=cross are both specified and added info message
  • ImprovedKraken Futures (Non-Flex/Cross): Implemented saving of last used order leverage in account balance info (per market) and using it for position checks/monitoring
  • FixOKX · Fixed order quantity calculation for contract markets in Multi-Currency/Portfolio margin modes
  • FixOKX · Fixed switching back from Multi-Currency/Portfolio margin to "Spot and Futures" mode not being detected correctly
1.3.74
10/12/2024
  • NewAdded new query syntax command to query closed PnL with minpl/maxpl/mins/maxs/gt/gte/lt/lte filtering (Bybit only, more to come!) (eg. query=pnl from=-2d maximum=1 order=oldest => get the oldest PnL record two days back from now)
  • NewAdded new conditionals ifnp= / ifnnp= (if no order found/matched and has position / no position)
  • NewAdded new conditionals ifslp= / ifslnp= (if too much slippage and has position / no position)
  • NewAdded option to "Open Positions" wizard to place opening and closing orders as post-only (maker fees)
  • NewAdded auto saving of last used price offset to "Open Positions" wizard (separately for New/Add/Close actions)
  • ImprovedChanged "Close All" button under "Open Positions" to use limit orders by default and respect "Filter by symbol" setting
  • NewAdded way to override alert resolution when triggered via Telegram Bot via PVALERT(res=15m)
  • NewAdded firstqty / firstprice to save syntax option (only saved on first run per alert)
  • FixFixed lc=/levcalc= to only affect quantity calculation and not also the leverage to be set on the exchange
  • NewOANDA · Added syntax flag ft/filtertrades to apply cm/maximum and cmo/order options per trade for close=pos (eg. close filtertrades maximum=1 order=lowest => close only the trade with the lowest price making up a position)
  • NewOKX · Added support for Multi-Currency and Portfolio Margin modes (relative quantity calculation differs slightly from platform) (beware that OKX does NOT support reduce-only stops in Portfolio Margin mode!)
  • FixPhemex · Fixed error when testing API without any BTC balance
1.3.73
20/11/2024
  • NewAdded new syntax conditional ifr/ifrejected to check if a post-only order was rejected (eg. ifrejected=retry) (Binance Futures / BitMEX / Deribit / Kraken Futures: native support, Bybit / OKX / Phemex: via additional API call) (beta!)
  • NewAdded TP/SL to average/mark price hover tooltip under "Open Positions" where available
  • NewAdded variable support to ep, fp, minb, maxb, minpl, maxpl and msl options (eg. msl=_var%*2)
  • NewAdded comma separated list support to ep and fp options targeting different accounts with a=/ap=
  • NewAdded new boolean placeholder [weekend] for simpler checks ([if weekday<1 or weekday>5] equals [if weekend])
  • NewAdded new placeholder [telebot] that resolves to the Telegram user id that triggered an alert (otherwise 0)
  • NewAdded syntax option retryall=1 to ignore built-in "don't retry on this error" list and force retries
  • NewAdded setting under General Options to also retry on balance errors (no or not enough balance)
  • NewAdded closing order emoji options for built-in notifications and improved detection of side
  • NewAdded support for a=/ap=ex:sym:acc format to the auto-detect [side] alert option (by querying open positions)
  • FixFixed some cases where syntax defaults were set for rest of the alert when they shouldn't (eg. loop=this jd=0)
  • FixFixed range support for delay command when using timeframe suffix (eg. wait=1-3m)
  • FixFixed stacked [if] placeholders causing warning in live syntax check (eg. ap=acc1[if res<5],acc2[end][if sym*=doge],acc3[end])
  • FixFixed [name] placeholder giving error in live syntax check and manual run for alerts with multiple names (comma separated)
  • FixFixed "assignment to constant variable" error when using "/alertname" (with leading slash) in Telegram Bot
  • FixFixed internal Telegram Bot commands only working when lowercase (now also /Positions or /LOG will work)
  • NewBybit v5 · Implemented support for new UTA 2.0 account types (mainly affecting contract/inverse markets now using unified balance) (fixes @ 1.3.73)
  • FixBybit / Kraken Futures / Kucoin Futures · Fixed noorder/noresult syntax conditional not working when bulk order cancelation was used
  • FixDeribit · Fixed post-only orders to be rejected instead of getting price adjusted (added reject-post-only attribute)
  • FixKuCoin · Fixed order size calculation for spot market buy orders with absolute quantity and unit=currency option
  • FixOKX · Fixed mapping of some Futures market alias names (this/next month)
  • FixPhemex · Fixed incorrect max quantity check and splitting for spot orders
  • FixPhemex · Fixed "Tick size check failed" due to rounding error on some markets
1.3.71
26/09/2024
  • NewAdded syntax option max/maxcount limiting the number of iterations for a command (or per loop/jump when used with do/goto/jump/loop/skip)
  • NewAdded do/goto/jump/loop option repeat (same as do=retry / do=0.5) (eg. echo="foo" do=repeat max=3)
  • FixFixed loop command (do=loop) sometimes not working correctly when an explicit jump (do/goto/jump/skip) occured before
  • FixFixed loop command (do=loop) skipping first command after jumping back
  • FixFixed "close" command without any parameter not defaulting to position (should be equal to close=pos or closepos)
  • NewDeribit · Implemented saving of last used order leverage in account balance info (per market) and using it for position checks/monitoring
  • FixKraken / Kraken Futures · Fixed incorrect calculation of leftover order quantity and detection of partial order fills
  • FixBitMEX / Bybit / Deribit / Kraken Futures / Phemex / OKX · Fixed using leftover quantity for orders on some markets failing with "toFixed digits argument must be between 0 and 100" error
1.3.68
05/09/2024
  • NewAdded options to automatically send balance and position info via email according to set schedule (see General Options / Auto Export)
  • FixFixed "Auto Export" options not respecting the "Interval offset" setting under General Options
  • FixFixed escaping of acc/sym/ex placeholders for "child" alerts run in parallel via ap= command or PVALERT(ap="acc1,acc2")
  • FixFixed [accs <(ex:(sym:))filter>] placeholder giving an error if the exchange was specified lowercase
  • NewAdded syntax shorthand post for type=post
  • FixTV Indicator Settings · Fixed naming of exported file (text/JSON) due to recent TV update
  • ImprovedBinance Futures / KuCoin / KuCoin Futures · Not using bulk order cancelation with save function (otherwise no data)
  • ImprovedPhemex · Reduced number of API calls for non-bulk order cancelation from 4 to 2 by using internal order cache
1.3.66
31/07/2024
  • NewAdded support for Bybit Demo Trading
  • NewAdded support for OANDA Hedging accounts (long & short on one symbol simultaneously)
  • NewAdded gt/above, gte/aboveeq, lt/below, lte/beloweq price filters for check/close=pos and check/cancel=order for relative prices (eg. gt=+5%) the current or cached (with pc=1) ticker bid/ask is used as base if no custom plot is specified (eg. gt=_myplot+5%)
  • NewAdded option to specify a custom variable name prefix for the save function via svn=prefix (or simply sv/save=prefix)
  • NewAdded saving of balance data to vars when using the save function via "updatebalance save" (for ticker AND balance use "update save")
  • NewAdded support for minsp/maxsp=_myvar (added minspref/maxspref syntax options)
  • ImprovedAdded new syntax shorthands · saveprice/getprice => updateprice save savebalance/getbalance => updatebalance save saveorder/getorder => check=order save savepos/getpos => check=pos save (all with optional custom variable name prefix, eg. getprice=foo)
  • ImprovedCorrected stop price reference syntax in "Open Positions" wizard when "Place stops immediately" is selected
  • FixFixed not being able to select an exchange under "Open Positions" right after adding the first account to it
  • FixFixed "side" parameter being ignored for checkpos/closepos=side syntax shorthands
  • FixFixed "unknown parameter" error for marketbuy/marketsell/marketlong/marketshort syntax shorthands
  • FixPhemex Testnet · Fixed "Please try again later" error on account balance and position query
1.3.65
08/06/2024
  • NewImplemented option to save accounts in local instead of sync storage to increase account limits! (see General Options; sync limit ~40 accounts)
1.3.64
31/05/2024
  • ImprovedMigrated logging from deprecated WebSQL to IndexedDB (fixing log being empty with Chrome v125+)
  • FixFixed calculation of "lastprice", "lastprofit" and "lastpnl" variables for save function when used with positions (eg. check=pos save)
  • FixTV Indicator Settings · Fixed broken export to file (text/JSON) due to recent TV update
1.3.63
15/05/2024
  • FixBitMEX · Fixed market orders leading to "invalid timeInForce" error due to API change
  • FixBitMEX · Fixed open positions found with size of 0 under certain conditions due to API change
  • FixKuCoin Spot/Margin · Fixed incorrect warning about too high/low order size
1.3.62
31/03/2024
  • NewAdded syntax option cr=1 (or reverse / nonmatch) to inverse filtering of orders and positions (check/cancel/close commands)
  • NewAdded search and replace function to alert editor (via right-click context menu and Ctrl+F / Ctrl+H hotkeys)
  • NewAdded more functions to alert editor right-click context menu including hotkeys (toggle comment, indentation etc.)
  • NewAdded syntax option "since=cbar" to use the closest bar start time when processing started as reference for time checks instead of bar time provided by TV
  • NewAdded options to ignore missing exchange permissions and account name errors (when disabling them on purpose eg. testing/load balancing etc.)
  • ImprovedCorrected stop placement in "Open Positions" wizard for exchanges that support "Stops on Fill" (sl=/tp= with entry: Bybit, OANDA, Phemex, SimpleFX)
  • ImprovedDisabled simple limit TP for "Place stops immediately" option in "Open Positions" wizard since reduce-only limit orders require an open position
  • FixFixed some input problems in "Open Positions" wizard dialog and added action button to cancel orders without an open position
  • ImprovedImproved log output for min/max balance checks (minb=/maxb=)
  • ImprovedTelegram Bot · Changed whitelist behaviour, if empty (default) the bot will react to NO messages
  • NewTelegram Bot · Added support for user names in whitelist
  • NewTV Indicator Settings · Added hotkeys for "Save as" (Ctrl+S) and "Load from" (Ctrl+O) commands
  • FixTV Indicator Settings · Fixed some cases of the button and context menu not being loaded correctly
  • FixBinance Futures · Fixed incorrect symbol mapping for PERPUSDT
  • FixBinance Futures · Fixed incorrect available balance in some account states
  • ImprovedBitMEX Testnet · Workaround for "filter columns are not valid" error
  • FixBybit v5 · Fixed USDC "params error" when querying position info for Non-UTA accounts
  • FixBybit v3 · Fixed spot market order placement error
  • FixBybit v3/v5 · Fixed order placement error when using leftover quantity option
  • ImprovedBybit v3/v5 · Ignoring "order does not exist" error caused by server side API caching issues
  • NewDeribit · Added support for reduce-only order filtering (cancel/check=order r=0 / r=1)
  • NewDeribit · Added TV spot symbol name mapping (eg. DERIBIT:BTCUSD.P => DERIBIT:BTC-PERPETUAL)
  • ImprovedGemini · Updated market data
  • FixKraken Futures · Fixed custom order ids (via order id cache) not working for stops due to API change
  • ImprovedKraken Futures · Workaround for error when requesting tickers after exchange maintenance (old data cached by browser)
  • FixKuCoin Spot/Margin · Fixed lastqty variable and notification placeholders ({price} etc.) not working for live orders
  • RemovedBittrex · Removed
1.3.59
15/11/2023
  • NewAdded function to remove stored account balance info to both the account configuration and popup window (via right-click context menu)
  • NewAdded option to place stops immediately with entry (not using close=pos) to "Open Positions" wizard
  • ImprovedAdded syntax shorthands for yield/unit · q=50%p => yield=pos // q=50%e => yield=equity // q=50$ => unit=currency
  • FixFixed calculation of "lastqtysum" / "lastavg" variables for save function with normal orders using yield=pos (using pos AND new order data)
  • FixFixed pr=pos using old entry price for close=pos when yield=pos or pr=pos was previously used with a normal order in the same alert
  • NewAdded skipping of balance queries when using absolute quantity (also lastqty) or yield=pos (less API calls!)
  • NewAdded logging of position info queried for normal order when using yield=pos or pr=pos
  • FixFixed stored balances sometimes not being removed correctly when an account was removed
  • ImprovedBybit v5 · Made ex=bybit5 the default for alerts from Bybit charts
  • NewBybit v5 · Implemented querying max borrow amount for spot cross margin trades (eg. sym=btcusdts long=100%; not used for y=equity!)
  • FixBybit v5 · Fixed lastqty variable and notification placeholders ({price} etc.) not working for live orders
  • ImprovedBybit v3 · Upgraded discontinued v2 to newer v3 endpoints (Note: still highly recommended to migrate to newer v5 API!)
  • FixBinance Futures · Fixed available balance being reported as zero in some account states
  • ImprovedGemini · Updated market data
  • NewKuCoin Margin · Added support to specify auto repay for margin orders (via mt=repay)
1.3.57
30/10/2023
  • NewImplemented workaround for deprecation of Web SQL in Chrome v119 (used for logging)
  • NewBybit v5 · Added support for spot cross margin trades (use long/short instead of buy/sell or add ismargin=1 on spot markets like BTCUSDTS, leverage can be set as well)
1.3.56
10/10/2023
  • ImprovedEntries for deleted or renamed accounts are now removed after data update in position monitor
  • NewAdded Telegram markdown character escape ('*' / '_') for built-in error notifications
  • NewAdded option to set Bybit v5 as default for alerts from Bybit charts (see General Options / TradingView Connection)
  • FixBybit v5 · Fixed setting leverage not working anymore after API update (@ 1.3.56)
  • NewBybit v5 · Implemented correct cross/isolated switching for Non-UTA accounts (@ 1.3.56)
  • NewBybit v5 · Added support for improved cancel all orders endpoint to reduce API calls (@ 1.3.56)
  • FixBybit v5 · Fixed spot market TP/SL/SO order placement and cancelation (@ 1.3.56)
  • FixBybit v5 · Fixed relative position size info not working correctly for Non-UTA accounts
  • FixBybit v5 · Fixed double listing of USDT positions in position monitor and for checkpos sym=*
  • ImprovedBybit v2 / Bybit v5 · Made account test compatible with API keys that have either no spot or no contract trading permissions (instead warnings are logged and an error will only be displayed if BOTH permissions are missing)
1.3.54
19/09/2023
  • NewAdded "Message Prefix" option, alerts without it will be ignored! (see General Options / TradingView Connection)
  • NewAdded position monitor buttons to export position info in CSV/Excel format or copy to clipboard (incl. auto export)
  • NewAdded clipboard paste functionality for accounts via buttons and right-click context menu
  • FixFixed Ctrl+Q hotkey to delete accounts not working
  • ImprovedIncreased popup width and added text trimming for better support of long account names
  • NewAdded filter to target all non reduce-only orders (cancel/check=order r=0)
  • ImprovedImproved exchange auto detection for [accs] placeholder (eg. pvalert(ex=bybitv5,ap="[accs]") now inserts Bybit v5 accounts instead of alert/chart source)
  • NewBybit v5 · Added support for Non-UTA (Standard / Legacy) accounts (auto-detect / beta!)
  • ImprovedGemini · Updated market data
  • NewOANDA · Added support for reduce-only order filtering (cancel/check=order r=0 / r=1)
  • FixOKX · Fixed custom order id filter not working (check/cancel=order id=...)
  • ImprovedOKX · Improved unique custom order id generation to mitigate "algoClOrdId already exists" errors (native custom order id support for stop orders was added in 1.3.47)
  • ImprovedPhemex · Quickfix for "Cannot read properties" error introduced in 1.3.53 update
1.3.52
25/08/2023
  • NewAdded Bybit v5 API (UTA) support (beta!) (fixes @ 1.3.51) (unified margin balance is named USD[M] / balances for inverse contracts have [CT] suffix)
  • NewAdded indicator for unsaved alert or account changes and prevent accidental reload of options window
  • NewAdded Shift-Click shortcut to Close button in position monitor and popup to adjust TP/SL
  • NewAdded Ctrl-Click shortcut to Close button in position monitor and popup to cancel orders
  • NewAdded liquidation price and "coin size" tooltips to position monitor
  • NewAdded context menu with all available operations to position monitor
  • NewAdded option to cancel only limit orders or stops to "Open Positions" wizard (quantity 0 => only cancel)
  • NewAdded separate auto saved quantity for "Add" action in "Open Positions" wizard (default 100%)
  • FixFixed wrong or missing display of balance info in "Open Positions" wizard for some markets
  • ImprovedImproved display of hedged/oneway and cross/isolated info in position monitor
  • NewImplemented auto saving of position monitor data, persistent between restarts
  • NewImplemented workaround for broken Telegram markdown character escape ('*' / '_')
  • NewAdded context menu with all available general operations to the options window (fixes @ 1.3.50)
  • NewAdded Shift-Click option to export button to copy all saved balances to clipboard (@ 1.3.50)
  • NewAdded support for simple calculations (+, -, *, /) to _var% shortcuts (eg. sl=_myvar%*1.5)
  • NewAdded pre-defined NaN variable for preprocessor if/else (eg. [if _myvar = NaN])
  • NewAdded "skip" alias to skip next command for if/err conditionals (ifnone=skip => ifnone=1)
  • NewAdded number of results (order/pos) and overall number to save function as "lastnum" / "lastnumsum" (@ 1.3.50)
  • FixFixed error when using "PVALERT(acc=exchange:symbol:account)" in alert message after 1.3.46 update
  • FixFixed preprocessor if/else left-side number comparison with decimal places (eg. [if 1.5 < high/low-1])
  • FixFixed preprocessor explicit string compare (*= !*=) not working
  • ImprovedImproved preprocessor placeholder live syntax check for value-divided-by cases (eg. [123 / _myvar])
  • ImprovedImproved preprocessor conditional live syntax check in editor (eg. [if _myvar = "string"])
  • FixTV Indicator Settings · Fixed context menu/button not working due to recent TV update
  • FixBitfinex · Fixed derivatives position info not working correctly after 1.3.47 update
  • FixBybit Spot · Fixed incorrect quantity precision for limit orders on some markets
  • NewOANDA · Added custom id support for SL/TP "on fill" parameters with main order (eg. long=5% id=foo sl=123 tp=456)
  • ImprovedOANDA · Experimental workaround for "units specified contain more precision than allowed" error (@ 1.3.52)
  • NewPhemex · Implemented workaround for incorrect PnL calculation with less rate limiting
  • FixPhemex · Fixed position opening (funding) time not available or leading to error
1.3.48
18/07/2023
  • FixFixed Telegram notifications not working for some exchange/action combinations
  • FixFixed unnecessary retries when wrong or no account was specified
  • FixFixed account Clone button not reading the current account name
  • NewAdded syntax shorthands marketbuy/marketsell/marketlong/marketshort => buy/sell/long/short type=market
  • NewAdded syntax shorthands unit=ct/ccy => unit=contracts/currency
  • ImprovedGemini · Updated market data
1.3.47
05/07/2023
  • ImprovedAlert editor "Filter by name" now also searches for alert id
  • ImprovedImproved dynamic scaling of position monitor data
  • FixFixed incorrect syntax warnings for several price reference options
  • NewAdded support for amount with closeall/marketcloseall (eg. marketcloseall=50% => close=pos type=market sym=* quantity=50%)
  • NewAdded syntax shorthand mc/marketclose/closemarket => close=pos type=market (optional with quantity)
  • NewAdded syntax shorthand limit/market => type=limit/market
  • NewAdded option to specify value for shorthand cached (eg. long cached=0 => b=long bc=0 pc=0)
  • NewAdded option for market stop TP to "Open Positions" wizard
  • NewAdded auto saving of quantity and leverage (can be empty!) to "Open Positions" wizard
  • ImprovedTV Indicator Settings · Improved naming of exported settings and screenshots
  • NewBinance Futures · Added update time to position info and support for cmo=newest/oldest
  • NewBinance Futures Testnet · Implemented workaround for random "System error"
  • NewBybit · Added TV spot symbol name mapping (eg. BYBIT:BTCUSDT => BYBIT:BTCUSDTS)
  • NewKraken Spot/Margin · Added support for reduce only orders
  • FixKuCoin Margin · Fixed error in loan syntax command
  • NewOANDA · Added support for dedicated close API call to fix "more precision than allowed" error (close=pos type=market)
  • NewOKX · Added support for trailing stops (ts=distance, optionally so=activation)
  • NewOKX · Added support for stop trigger reference option sr= (default is sr=last)
  • NewOKX · Added support to specify auto borrow/repay for margin orders (via mt=borrow/repay)
  • NewOKX Futures/Swap · Added support to switch position mode (via pm=hedge/normal) and improved auto detection
  • FixOKX Futures/Swap · Fixed "Trigger orders are not available" when placing single stop orders in "One-way mode"
  • ImprovedPhemex · Corrected all stops, allowing for SL/TP on-fill with opening orders (price=.. sl=.. tp=..) (optionally so=activation)
  • FixPhemex · Fixed order cancelation with SL/TP filtering (eg. cancel=sl / c=order sl=1)
  • FixPhemex · Fixed zero size position found/shown when no position open
  • FixPhemex · Fixed time sync data not being used
1.3.46
31/05/2023
  • NewAdded support for Kraken Flexible Futures w/variable leverage (beta) (use mt=crossed/isolated for margin type)
  • NewAdded support for Phemex Hedged Contract USDT API (beta) (use pm=hedge/normal for position mode)
  • NewAdded bid-ask spread check syntax options (minsp / maxsp / ifminsp / ifmaxsp / spa / spb)
  • NewAdded syntax shorthand c/ch/close/check=123% => c/ch/close/check=pos q=123%
  • NewAdded syntax aliases pm=oneway => pm=normal / mt=iso => mt=isolated / mt=cross => mt=crossed
  • NewTelegram Bot · Added event stream loss/reconnect info to status message
  • ImprovedTV Indicator Settings · Split text and JSON copy/export into separate menu entries
  • NewTV Indicator Settings · Added PV button as alternative to right-click context menu
  • ImprovedTV Indicator Settings / TV Alert Dialog · Styling fixes (TV update)
  • ImprovedImproved some error messages and documentation
  • ImprovedBinance Futures · Made trailing stops easier to use with "so=activation ts=distance" (instead of cbrate)
  • NewBinance Futures / Bybit / Phemex · Added hedge mode/side info to position monitor
  • NewBinance / KuCoin / Deribit · Added support for minq/maxq (quantity limits) for transfer, loan and repay commands
  • ImprovedBitMEX / Bybit / Deribit / Kraken Futures / Phemex · Improved symbol type naming
  • NewBitfinex · Added support for sym=* and made margin/future positions visible in position monitor
  • FixBitfinex · Fixed SL/TP/SO stops, added support for limit stops and OCO orders (both sl= and tp=)
  • FixBitfinex · Fixed compatibility with newer markets, paper trading and margin/future orders & balances
  • FixBitfinex · Fixed errors on order cancelation
  • NewBitfinex · Added new TV symbol name mapping (eg. BITFINEX:BTCUST.P => BITFINEX:BTCF0USTF0)
  • FixBybit · Fixed error when placing order and switching from hedged to one-way mode at the same time
  • FixBybit · Fixed per market maximum leverage check
  • FixBybit Spot · Fixed price precision error for limit buy orders on some markets
  • FixBybit Spot · Fixed filtering for stops on order cancelation
  • ImprovedGemini · Updated market data
  • NewKraken Futures · Added support for trailing stops
  • NewKraken Futures · Added new TV symbol name mapping (eg. KRAKEN:BTCUSD.PM => KRAKENFT:PF_XBTUSD)
  • NewKuCoin Margin · Implemented correct balance handling for isolated margin trades
  • ImprovedKuCoin Margin · Using 1x leverage when mt=borrow is NOT specified or iso=1 is used (doesn't support auto-borrow!)
  • NewKuCoin Margin · Added support for dedicated loan and repay commands
  • FixKuCoin Margin · Fixed error when placing market orders (quote instead of base currency sizing)
  • FixOANDA · Fixed save syntax option (lastqty variable) for short orders
  • NewPhemex · Added support for using both cross and isolated variable leverage via mt=crossed/isolated
  • NewPhemex · Added support for using high ratelimit endpoint (optionally, enabled per account)
  • NewPhemex · Added automatic splitting of orders bigger than the contract limit (beta)
  • NewPhemex · Added support for bulk order cancelation on all markets
  • NewPhemex · Added new TV symbol name mappings (eg. BTCUSD.P => UBTCUSD, SOLUSDT.P => SOLUSDT, TRXUSDT => STRXUSDT etc.)
  • NewSimpleFX · Implemented automatic renewal of expired authorization token (fixes @ 1.3.46)
1.3.44
04/04/2023
  • FixFixed TradingView event stream reconnecting every 60 minutes (TV update)
  • ImprovedSyntax options ismargin / iso / mt can now be all set as defaults
  • ImprovedKuCoin · Reduced number of API requests for c/ch=order (for margin orders use either side=long/short or add ismargin=1, to only target isolated margin add iso=1, to only target crossed margin add iso=0)
1.3.43
31/03/2023
  • ImprovedMade custom plot values as % more user-friendly eg. sl=[-]_someplot% (before sl=[-][_someplot]%)
  • NewAdded price ticker data to save syntax option, useable as refs (eg. for "updateprice save" command – lastbid/lastask/lastmid)
  • FixFixed maxslip= check assuming correct trade direction for some edge cases
  • FixFixed maxslipref=bid/ask working correctly with cached ticker data
  • FixFixed newer conditional options (eg. maxslip=) to be correctly treated as errors when explicit "if.." (ifslip= etc.) not specified
  • NewAdded margin/ismargin syntax option to force margin mode for markets with both spot & margin (eg. OKX BTCUSDT "check=pos margin")
  • NewAdded quantity type / base currency to position monitor where available
  • FixFixed retrydelay=/rd= syntax option having no effect
  • FixFixed TradingView Pine Editor hanging with ProfitView TV Addon installed (TV update)
  • FixBinance Futures · Fixed symbol naming (eg. BTCH2023 => BTCUSDH2023)
  • NewBinance Futures · Added new TV symbol name mapping (eg. BINANCE:BTCUSDT.P => BINANCEFT:BTCUSDT)
  • NewBitMEX · Added new TV symbol name mapping (eg. BITMEX:XBTUSD.P => BITMEX:XBTUSD)
  • NewBybit Futures · Added new TV symbol mapping (eg. BTCUSDH2023 => BTCUSDH23)
  • FixKraken Futures · Fixed symbol naming (eg. XBTUSD31H => XBTUSDH2023)
  • NewKraken Futures · Added new TV symbol name mapping (eg. KRAKEN:BTCUSD.P => KRAKENFT:PI_XBTUSD)
  • NewOKX · Added new TV symbol name mapping (eg. OKX:BTCUSD.P => OKX:BTCUSDPERP)
  • FixOKX · Fixed incorrect position size in some cases with open limit orders for position check/monitor
1.3.42
25/02/2023
  • FixFixed automatic time sync option not retrying command correctly in case of a timestamp error
  • FixFixed log entries from TV script addon module missing in app log
  • FixFixed '0' added to values in "Open Positions" wizard for absolute price offsets
  • FixBybit · Fixed "account needed" error for "Symbols" info when no account was defined
  • FixOANDA · Fixed "unsupported type" error for fp= (fixed price) option (only price=@123 worked)
  • FixOKX · Fixed swap/future long positions in "Buy/Sell" account mode always detected as short positions
1.3.41
07/02/2023
  • ImprovedImproved retaining of TV event stream token after logging in and out of TV
  • FixFixed incompatibility with older Chrome versions introduced by previous update (1.3.39)
  • ImprovedPhemex · Improved filtering of open orders to avoid canceling orders for all symbols
1.3.39
20/01/2023
  • NewAdded notification placeholder _symbols for checks that return multiple orders or positions with different symbols
  • ImprovedImproved minpl/maxpl (PnL) and mins/maxs (size) position checks that were sometimes incorrect and their log outputs
  • NewAdded account and ex:sym information to built in error notifications
  • ImprovedBinance Futures · Improved detection of cross margin mode for position check/monitor
1.3.38
09/01/2023
  • FixBybit / Binance Futures · Fixed sym=* (check all markets) throwing timestamp errors for check=pos / close=pos
  • ImprovedBinance Futures · Improved detection of multi asset margin status
1.3.37
22/12/2022
  • NewAdded options to automatically export configuration, app log and balance infos according to set schedule
  • FixFixed very small numbers in custom variables being printed in scientific notation (log, notify, placeholders)
  • NewTV Indicator Settings Manager · Added save/load support for input types Symbol, Textarea and Time
  • ImprovedTV Indicator Settings Manager · Styling fixes (TV update) and added improvements for more input types
  • FixTV Indicator Settings Manager · Fixed screenshot function glitches (TV update)
  • ImprovedBybit / Binance Futures · Corrected position side attribute for reduce only orders not using close=pos in hedge mode
  • FixCoinbase Pro · Fixed very low prices causing order placement error due to scientific notation
  • FixKuCoin · Fixed very low prices causing order placement error due to scientific notation (eg. JARBTC)
  • FixKuCoin Margin · Fixed checking and cancelation of isolated margin orders
  • NewOANDA · Added syntax option pb= to set worst market price allowed for an order to be filled at
1.3.36
30/11/2022
  • NewAdded buttons to export current balances in CSV or Excel format (see General Options and popup window)
  • ImprovedTelegram Bot · Made sending of execution summary after triggering of alerts or commands optional (enabled by default)
  • FixFixed certain account names given via yield= for the transfer balance command being changed (eg. "free", "total", "pos")
  • FixFixed backslashes being inserted into field names containing underline/asterisk for built in Telegram notifications
  • FixFixed context menu & shortcuts in popup window balances to open/add/close positions sometimes not working
  • ImprovedIncreased popup window size
  • NewAdded button to clear symbol info cache manually (see General Options)
  • NewBinance Futures · Added automatic splitting of orders bigger than the contract limit (beta)
  • FixBinance Futures · Fixed "available" balance for COIN-M markets always being zero (only yield=equity worked!)
  • ImprovedBinance Futures · Corrected "min notional" check after slight API change
  • NewBybit / Binance Futures · Added option to specify a delay between automatically split orders (see General Options)
  • FixDeribit · Fixed error in transfer balance command when targeting the main account with yield=
  • NewDeribit · Added listing of available account names/ids when given one is not found by transfer balance command
1.3.35
11/10/2022
  • NewAdded support for equations to notification placeholders (eg. notify=t:"offset is {price-close}")
  • NewAdded new syntax conditionals to check if a PV Alert is enabled or disabled (checkalert=alert ifenabled=... / ifdisabled=...)
  • NewAdded support for ex:sym to [accs <(ex:(sym:))filter>] account list placeholder (see "Setup: Commands" section "Unified Alerts"!)
  • NewAdded option to disable long/short/buy/sell shorthand commands for legacy alerts / direct syntax (disabled now by default!)
  • ImprovedIgnoring '/' at the beginning of custom Telegram bot commands (eg. syntax or PV Alert names)
  • ImprovedChanged "Order not found" error on order cancelation to warning only
  • ImprovedImproved error messages when wrong or no account specified or no permission given for exchange
  • FixFixed PV Alerts not found if first line(s) of TV message were empty or commented out
  • FixFixed escape of some special characters for Telegram notifications
  • FixFixed division using variables in placeholder calculations triggering a false syntax error
  • FixFixed price reference options 'even', 'liq' and 'index' (where available) triggering a false syntax error
  • FixFixed wrong distance for trailing stops when ts is specified as fixed price (ts=@12345)
  • FixFixed bug in Telegram bot that could lead to endless Telegram request loops
  • ImprovedCompatibility fixes for latest Chrome updates
  • FixTV Indicator Settings Manager · Fixed message dialogs not showing correctly (TV update)
  • FixTV Indicator Settings Manager · Fixed missing exchange, symbol & resolution prefix for saved files (TV update)
  • ImprovedTV Indicator Settings Manager · Adapted indicator dialog styling fixes (TV update)
  • FixBinance/Binance Futures/OKX · Fixed order id check failing for ids containing non-alphanumeric characters
  • NewBinance Spot/Margin · Added support for trailing stop orders
  • ImprovedBinance Spot/Margin · Corrected error for market OCO (SL & TP both provided) orders
  • NewBinance Futures · Added support for Multi Asset mode (beta)
  • ImprovedBinance Futures · Improved symbol browser market type info (COIN-M / USDⓈ-M)
  • NewBinance Margin · Added support for canceling isolated margin orders
  • NewBitMEX · Implemented use of time synchronization data
  • FixBybit · Fixed ispartial= conditional not triggering
  • ImprovedBybit · Corrected maximum order size for post-only orders
  • FixBybit · Fixed sym=* (all symbols) not working for check=pos / close=pos
  • NewBybit · Added mapping for changed market names on TV (XXX.P => XXX)
  • NewDeribit · Added support for new markets settled in USDC and SOL
  • ImprovedGemini · Updated market data
  • FixKraken Futures · Fixed incorrect quantity precision for some symbols
  • ImprovedKuCoin Margin · Corrected assumed leverage for quantity calculation to 5x (was 10x)
  • FixKuCoin Margin · Fixed cancelation of stop orders
  • ImprovedKuCoin Futures · Corrected error message when wrong or no account specified
  • FixOKX · Fixed relative quantity calculation for some markets (inverse swap etc.)
  • FixOKX · Fixed margin short positions not correctly recognized and limit close not working
  • NewOKX · Added support for mt=crossed / mt=isolated option to specify leverage for cross
  • FixOKX · Fixed order placing error occuring under some circumstances due to API changes
  • ImprovedOKX · Improved unit option for absolute quantities (see "Quantity Units" in Wiki)
1.3.34
31/05/2022
  • ImprovedAdded syntax shorthands for side w/quantity · buy/sell/long/short=xxx => q=xxx
  • FixFixed {_side} placeholder in custom notifications
  • FixFixed modulo (%) and power of (^) not working in simple placeholders (eg. [_plot^5])
  • FixFixed custom variables in placeholders only working when being lowercase (eg. [_plot] vs [_PLOT])
  • FixFixed error being logged by Chrome each time a TV tab loads the PV addon
  • NewBybit · Added automatic splitting of orders bigger than the contract limit (beta)
  • NewBybit · Added dedicated switch between crossed and isolated margin (independently of leverage) via mt=crossed/isolated (default: no switch)
  • NewBybit · Added support for trailing stop trigger price (non-USDT only!) via ts=aaa so=bbb (aaa = distance, bbb = trigger)
  • NewBybit · Implemented auto detection of position mode and changed default for pm= option to "auto"
  • FixBybit · Fixed "position status not normal" error when trying to change managed SL/TP on linear markets (USDT)
  • FixBybit · Fixed "position mode" error for non-stop closing orders with hedged positions (close=pos)
  • NewDeribit · Added support for trailing stops (updated API)
  • ImprovedDeribit · Changed TP stops to use dedicated "takeprofit" stop type (updated API)
  • ImprovedDeribit · Use cancel-all API command also for canceling only entry/stop/TP/SL/TS orders
  • FixDeribit · Fixed incorrect leftover order quantity saved with "save" command
  • NewFTX · Added one-by-one fallback when cancel-all API command fails
  • NewKuCoin Margin · Added support for isolated margin order flag (iso=1)
  • NewPhemex · Added support to target trailing stops only (c/ch=order ts=1)
1.3.33
18/04/2022
  • NewAdded syntax shorthand c/ch=buy/sell => c/ch=order b=buy/sell
  • NewAdded warning if new placeholder [accs] doesn't find or match any accounts
  • FixPhemex · Fixed open positions not being found (slight API format change)
1.3.30
31/03/2022
  • ImprovedAdded new syntax shorthands · buy/sell/long/short => side=buy/sell/long/short cancel => cancel=order close => close=pos close=long/short => close=pos side=long/short closeall => close=pos sym=* iforder=x => check=order iffound=x ifnoorder=x => check=order ifnone=x ifpos=x => check=pos iffound=x ifnopos=x => check=pos ifnone=x retrydelay=x => jumpdelay=-x echo=x => notify=log:x cached => cachedprice cachedbalance update => updateprice updatebalance
  • NewImplemented syntax placeholders to work for legacy alerts / direct syntax as well (@ 1.3.30)
  • NewAdded new placeholder [accs] that expands to a list of all accounts for an exchange (eg. ap=[accs], see "Setup: Commands"!) (@ 1.3.29)
  • NewAdded new run/trigger command variants runen= / triggeren= that check if an alert is enabled before running (@ 1.3.29)
  • NewAdded "Disable legacy alerts" option under General Options to ignore all non-PV Alerts (@ 1.3.29)
  • NewAdded support to trigger PV Alerts for multiple accounts in parallel via PVALERT(ap="acc1,acc2,acc3") (fixes @ 1.3.27)
  • NewAdded new conditionals iftf= / iftnf= (if timeout and (partially) filled / not filled) (fixes @ 1.3.29)
  • NewAdded new conditionals iftp= / iftnp= (if timeout and have position / no position) (fixes @ 1.3.29)
  • NewAdded /log command to Telegram bot to query recent log entries
  • NewAdded option to Telegram bot to send more log messages/results from triggered commands (enabled by default!)
  • ImprovedImproved "uniqueness" of generated custom order id for alerts called via the run= command (fixes @ 1.3.28)
  • ImprovedAssuming check=pos as command for ifbg/ifsm/ifl/ifs checks if not specified
  • ImprovedAssuming check=order as command for ifp check if not specified
  • NewAdded filled/executed quantity as "filled" to saved order data
  • ImprovedChanged loop= syntax command to default to "this" and fixed wrong jump for "this" (repeat from last jump or closest jump mark further up)
  • NewAdded shorthand quantity=var@ which sets levcalc=1 to ensure exact quantity (eg. q=lastqty@) (use quantity=@123 for numbers!)
  • NewAdded new parameter lc= (levcalc) to specify leverage used for calculations only (eg. q=lastqty lc=1)
  • FixFixed "cancel" (cancel & continue) option for err= and conditionals resulting in endless loop after canceling orders
  • FixFixed maxslip check for cases when side= is not explicitly specified for a command
  • FixFixed {price} placeholder for notifications showing more (calculated) precision on some exchanges than what was sent
  • FixFixed wrong leverage in notifications when running in test/disabled mode
  • NewAdded support for different multipliers/divisors per account when using variable shorthands (eg. q=_var%*2,/3,*1)
  • NewAdded support for different addends/subtrahends per account when using variable shorthands (eg. p=_var+2,-3,+1) (fixes @ 1.3.26)
  • NewAdded support for '++' / '--' (plus) and '-+' / '+-' (minus) number prefixes (eg. sl=[+][_var]% => sl=+-3%)
  • NewImplemented workaround for bug in Chrome v98 that stopped "Always keep PV options open" from working correctly (+other issues) (fixes @ 1.3.26)
  • NewAdded "Force Time Sync" button under General Options to force synchronization of internal clock correction
  • NewAdded alert editor option to show/hide advanced filtering options (NOTE: Now hidden by default!)
  • NewAdded option to pause/resume all running alerts when pausing/resuming PV through popup menu (Shift-Click on pause button)
  • NewAdded support for "power of" to placeholder calculations (eg. q=[base^exp]%)
  • NewAdded [this] placeholder always containing the current alert id
  • NewAdded support for non-wildcard string comparisons to preprocessor via double quotes (eg. [if acc="*"] to match only *)
  • NewAdded notification options to not include custom order ids in built-in notifications
  • FixFixed processing of comments in syntax to allow "#" and ";" in string literals (eg. custom notifications etc.)
  • ImprovedMade syntax commands and parameters case insensitive (previously lowercase only)
  • ImprovedAdapted indicator dialog styling fixes to latest TV update
  • FixFixed several slightly incorrect descriptions in "Setup: Commands"
  • NewAdded some missing commands to live help
  • FixBinance/Coinbase/Bitfinex/Gemini/KuCoin/Poloniex · Fixed symbol browser error introduced in 1.3.24
  • ImprovedBinance / Binance Futures · Generating shorter unique order ids to avoid custom id errors
  • FixBinance / Binance US · Fixed error when using "last" price (priceref=last) due to API changes
  • FixBitMEX · Fixed notifications often showing maximum market leverage instead of used one
  • NewFTX · Added check/warning for minimum order quantity (if info available for market)
  • NewFTX · Added correct saving of changed leverage when using cached balances
  • NewFTX / FTX US · Added support for time synchronization endpoint (NOTE: Requires re-granting permission!)
  • NewKraken · Added support for available spot balance (prev. only total equity) via new API command
1.3.24
20/01/2022
  • NewAdded syntax option "since=bar" to use the current alert bar start (instead of "fired") as reference for time check
  • NewAdded support for priceref=pos and maxslipref=pos for maxslip check when used with close=pos command
  • NewAdded support for nopos conditional for non-closing orders when using priceref=pos or yield=pos
  • NewAdded ifbg/ifsm conditionals to compare current order or position quantity with "lastqty" (saved) variable
  • NewAdded minsr/maxsr plot reference for mins/maxs filter (allowing eg. mins=_someplot)
  • NewAdded [time] and [date] placeholders for easier time/date checks in preprocessor if/else (eg. [if date > 1200 and time > 0530])
  • FixFixed "side" being ignored when sent via "PVALERT(side=xxx)" without OHLC data present in last line of alert message
  • FixFixed saved order data (lastxxx) sometimes not available in notifications (when used without any order or check command)
  • FixFixed encoding error sometimes occuring for Email notifications (esp. error/warning messages)
  • FixFixed several API key UI glitches (when newly added key is immediately deleted etc.)
  • NewAdded error message to symbol browser in case market symbols can't be updated (eg. OANDA requiring valid API key)
  • FixBinance Futures · Fixed filtering by leverage for check/close=pos never matching and always resulting in no position found
  • NewBybit · Added support for new one way mode (non-hedge) on linear markets (USDT Perp) via pm=normal order option
  • FixDeribit · Fixed error when using fp (fixed price) filter with open market stop orders
  • ImprovedOKX · Using conditional stops in "net mode" and trigger stops for "long/short mode" (avoiding reduce-only problems)
  • ImprovedOKX · Setting closing orders to reduce-only by default only when supported (avoiding errors)
  • FixOKX · Fixed error when placing OCO stops (both SL and TP given with close=pos)
  • FixOKX · Fixed quantity error (sz) for short closing orders in "net mode"
  • FixOKX · Fixed long positions detected as shorts in "net mode"
  • NewOKX · Added missing relative position sizes in "net mode"
  • ImprovedOKX · Renamed from OKEX and changed URL/endpoints
1.3.23
29/11/2021
  • NewAdded variable/plot support to transfer command quantity (eg. transfer=usd q=lastpnlsum%)
  • NewAdded sum of total closed/checked positions relative PnL to save function as "lastpnlsum" (fixes @ 1.3.23)
  • NewAdded sum of all order quantities and overall avg price to save function as "lastqtysum" / "lastavg"
  • NewAdded close/check positions option to target all symbols via wildcard (close/check=pos sym=*) (fixes @ 1.3.22)
  • NewAdded new order dialog shortcut to balances in popup (Alt-Click / context menu)
  • NewAdded new order dialog button to margin exchange accounts
  • FixFixed syntax option "save" for orders without id when using order id cache
  • NewAdded support for different time units to lock syntax expiration and timeframe options (eg. lock=-3h)
  • FixFixed "cancel/close on error" options sometimes not canceling orders / closing positions
  • ImprovedImproved speed when changing log viewer filter options (@ 1.3.22)
  • FixFTX · Fixed transfer command not printing the transfered and total amounts
  • FixFTX · Fixed transfer command on error not listing available accounts correctly
  • FixKraken Futures · Fixed error when updating symbol info (caused by new API data)
  • NewPhemex · Added support for ETH margin account balances
  • NewPhemex · Added skipping of random balance query errors (esp. on Testnet)
1.3.20
11/11/2021
  • NewImplemented position monitor action buttons (open / add / close / flip) with easy to use order dialog including useful options (SL/TP, yield etc.) and syntax builder!
  • ImprovedAdded new shorthand options to cancel/check order command for filtering · cancel=takeprofit/tp => cancel=order tp=1 cancel=stoploss/sl => cancel=order sl=1 cancel=open/limit => cancel=order type=open (non-stops) cancel=close/stops => cancel=order type=close (stops)
  • NewAdded new err=cancel option to cancel orders and continue (use eid= to target orders by id; cid= for non-error conditionals)
  • NewAdded new syntax option log= to specify log level per command and new log level "cond" (errors + conditionals)
  • FixFixed delay and interval offset miscalculations when specified in different time units (eg. delay=10s, interval=+5m)
  • FixFixed relative (%) delay, maxtime and jump delay parameters not being correctly reset in loops and retries
  • FixFixed pos/even/liq options for slref/tpref/soref/tsref not working with close=position when explicitly specified
  • FixFixed iftime=cancelside/closeall etc. not canceling orders / closing positions when maxtime reached
  • FixTV Indicator Settings Manager · Fixed broken and/or missing dropdowns in screenshots
  • NewAdded mark price column to position monitor (when available)
  • NewAdded indicators for next refresh/last update to position monitor
  • NewAdded account name check for invalid/illegal characters
  • ImprovedChanged default button in confirmation dialogs to no/cancel
  • ImprovedImproved performance of exchange/symbol browser UI and changed copy/export to all rows
  • NewBinance Futures · Added automatic mapping of delivery futures (eg. BINANCE:BTCZ2021 => BINANCEFT:BTCUSD_211231)
  • NewBitMEX · Added full support for new USDT markets and balance
  • ImprovedBitMEX · Corrected fee calculation to use instrument data
  • NewKraken Futures · Added automatic mapping of delivery futures (eg. KRAKEN:XBTUSD31Z => KRAKENFT:FI_XBTUSD_211231)
  • FixKuCoin Futures/Spot · Fixed direction of stop orders for some cases (eg. entry buy stop under current price)
  • ImprovedKuCoin Spot · Updated API calls for creation and checking/cancelation of stops
  • FixKuCoin Spot · Fixed custom SL/TP plot reference not being used
1.3.19
30/09/2021
  • NewAdded OKEX v5 support (all markets!) (beta)
  • FixFixed indicator settings paste/load errors caused by latest TV update
  • ImprovedMade lock/lockcheck syntax commands usable for legacy alerts
  • NewAdded shortcut for symbol browser (Alt+S) to PV Alert page (@ 1.3.17)
  • FixFixed run/long shortcut (Ctrl+L) in PV Alert page (@ 1.3.17)
  • FixFixed error message when placing locks via syntax (cosmetic / still worked)
  • NewAdded check for Bot Token to Telegram bot
  • NewAdded check for CoinMarketCap API key (and signup link)
  • NewAdded timestamp to error notifications
  • NewBinance · Added support for spot-margin OCO orders (SL & TP together)
  • ImprovedBybit · Corrected closing and reduce-only orders to fix rejection of stops (@ 1.3.19)
  • NewBybit · Added alias names for futures eg. s=ETHUSD1231 equals s=ETHUSDZ21 (@ 1.3.19)
  • FixFTX · Fixed correct rounding/stepping of quantity for certain markets
  • FixFTX · Fixed some orders without any ID being found/canceled when filtered by ID
  • ImprovedGemini · Updated market data
  • FixKraken · Fixed updating of all fetched balances
  • ImprovedKuCoin/KuCoin Futures · Updated authentication to V2 API keys
  • ImprovedKuCoin · Corrected relative quantity calculations for spot-margin (10x leverage)
  • FixKuCoin Futures · Fixed relative quantity calculations for some markets (BCHUSDTM, TRXUSDTM etc.)
  • NewOANDA · Added support for guaranteed stop-loss (gsl=1)
  • FixOKEX · Fixed order placement error when using custom ID (@ 1.3.17)
  • FixOKEX · Fixed custom leverage multiplier/variable being ignored (@ 1.3.17)
  • NewOKEX · Added auto detection of position mode / fixed posSide error (@ 1.3.17)
  • NewOKEX · Added custom ID cache for stop orders without native ID support (@ 1.3.18)
  • ImprovedOKEX · Changed single SL/TP stop types from "conditional" to "trigger" (no margin freeze) (@ 1.3.18)
  • FixPhemex · Fixed ticksize error occuring on spot markets (further fixes)
  • FixPhemex · Fixed placing of trailing stop orders (use ts with any of tp/sl/so!)
1.3.15
02/09/2021
  • NewAdded value2 and value3 for IFTTT messages (built in: price/size/balance, custom: "val1;val2;val3")
  • NewAdded syntax commands exitall / pauseall / resumeall to control other running alerts
  • NewAdded syntax command to restart PV (caution!)
  • FixFixed Telegram bot stuck in parallel starting loop with "conflict error"
  • FixFixed go=back/do=loop syntax commands not working properly
  • Improved"Detect Side" alert option now honors ex/sym/acc submitted via parameters (eg. PVALERT(acc=test))
  • FixBinance / Binance US · Fixed cancel=order only canceling a single order (caused by API change)
  • NewBybit · Added support for spot markets (beta)
  • FixBybit · Fixed order/position check option "save" not working
  • FixBybit · Fixed cross leverage (l=0) and position size check/info not working (@ 1.3.15)
  • ImprovedKraken Futures · Changed to use official market order type
  • FixPhemex · Fixed some fields for notifications
  • FixPhemex · Fixed ticksize error occuring on some markets
  • RemovedRemoved DueDEX support
1.3.13
13/06/2021
  • FixFixed jump labels followed by comments in the same line producing a syntax error
  • FixFixed indicator settings copy & paste errors caused by latest TV updates (@ 1.3.13)
  • FixFixed random "Tabs cannot be queried right now" error occurring since recent Chrome update (@ 1.3.13)
  • NewBinance Futures · Added support to get correct fill price for market orders (for log/notify) (@ 1.3.11)
  • NewBitMEX · Implemented rounding of order quantity to market lot size (further fixes @ 1.3.12)
1.3.9
27/05/2021
  • ImprovedChanged default preprocessor conditional string check operator from "starts with" to "equals" and added dedicated "starts with" string check operators *= and !*= (eg. [if id=foo,bla] was matching any alert id STARTING with "foo" or "bla" before and will now match only exact ids "foo" and "bla" - change to [if id=foo*,bla*] or the new [if id*=foo,bla] to achieve the previous check!)
  • NewAdded shorthands [] for [else] and [end] for [endif] in preprocessor conditionals
  • FixFixed indicator settings copy & paste errors caused by latest TV updates (@ 1.3.9)
  • FixFixed some false errors in the syntax editor when using preprocessor conditionals within one line (price=[if..]1%[else]2%[end] etc.)
  • FixFixed preprocessor conditional operators being case sensitive (now [IF] / [if] / [If] are all equal)
  • FixFixed most underscore/asterisk Telegram notification/bot escaping issues
  • FixFixed number formating on mobile for some Telegram bot commands
  • NewBybit · Added support for TP/SL "on fill" parameters for opening order stops (currently only working on USDT markets)
  • NewOANDA · Added support for TP/SL "on fill" parameters for opening order stops
1.3.7
07/05/2021
  • NewImplemented Telegram Bot commands to list accounts, balances and positions!
  • NewAdded Telegram Bot options to disable/enable functionality more granular
  • NewAdded option to ignore filtering for alerts triggered via Telegram bot (prefix "!" to message) or to forcefully run alerts/commands even when PV itself is paused (prefix "!!" to message) or to forcefully run alerts even when PV OR THE ALERT is disabled (prefix "!!!" to message)
  • FixFixed error occuring when placing non-closing orders using yield=possize
  • NewAdded position details window to position monitor (by clicking on a list entry)
  • NewAdded support for modulo (%) to expressions in placeholders / conditions (@ 1.3.5)
  • NewAdded ifbuy/ifsell aliases for iflong/ifshort conditionals (for TV Strategy alerts)
  • NewAdded syntax placeholder [tf] for the formatted alert/chart resolution (1h instead of 60 etc.)
  • NewAdded syntax aliases "end" and "back" for go=back
  • NewAdded UI to browse cached custom order IDs (see General Options / Browse ID cache)
  • ImprovedAdapted indicator dialog styling fixes to latest TV update
  • FixBinance Futures · Fixed order cancelation errors on some markets (workaround for long order IDs) (further fixes @ 1.3.5)
  • FixBinance Futures · Fixed order quantity changing on close=position retries (@ 1.3.6)
  • ImprovedBinance Futures · Improved error handling (@ 1.3.5)
  • NewBybit · Added support for new Futures API (beta, use pm=hedge for hedge mode!)
  • NewBybit · Implemented quantity adjustment in case supplied leverage is limited by market
  • ImprovedBybit · Corrected assumed leverage for cross to 100x (WARNING: Affects relative quantities!)
  • NewBybit · Added auto detection of cross margin setting
  • NewBybit Testnet · Added workaround for random API change (@ 1.3.7)
  • FixFTX / FTX US · Fixed coin/spot wallet balances using the correct "available" amount (@ 1.3.6)
  • FixFTX US · Fixed "not logged in" API authentication error
  • ImprovedKuCoin · Upgraded margin order endpoint and added auto borrow support (mt=borrow)
1.3.3
28/02/2021
  • NewImplemented Telegram Bot functionality (see "Setup: Notifications" / added to stats - BETA!) Completely remote control PV and trigger PV Alerts via Telegram! (see Telegram Bot /help command)
  • NewAdded PV Alert option to interpret auto run interval as schedule ("allow only then")
  • NewAdded support to submit custom variables/plots to PV Alerts via ALERTNAME(var1=value1,var2=value2,...) (use ex= / sym= / acc= or acc=ex:sym:acc to set default exchange / symbol / account for alert!)
  • FixFixed unified placeholder comparisons/checks still being interpreted even when commented out
  • ImprovedExchange time sync can be disabled now by setting the interval to 0 (see General Options)
  • NewAdded automatic triggering of exchange time sync if error message mentions "timestamp"
  • FixFixed error occuring when position PL is higher than given maxpl= parameter
  • NewAdded option to show empty entries in position monitor when exchange set to "all" (now hidden by default)
  • ImprovedSlightly improved use of space in PV Alert GUI
  • NewBinance Margin · Added correct balance query & cache for isolated spot margin with relative quantity (side=long/short iso=1)
  • NewBinance Margin · Added correct balance query for crossed spot margin trades with relative quantity (side=long/short mt=borrow)
  • NewBinance Margin · Implemented transfer balance option for isolated spot margin balance (eg. tb=etc iso=1 s=etcbtc)
  • NewBinance Margin · Implemented querying the correct amount for loan/repay commands with relative quantity
  • FixBinance Delivery · Fixed auto-detected leverage being incorrect sometimes if not specified via syntax
  • ImprovedBybit · Switched to realtime order query endpoints to avoid getting out-of-date/corrupt order information
  • NewFTX · Implemented quantity adjustment in case supplied leverage has to be rounded down
  • FixFTX US · Fixed error when testing API key
  • NewGemini · Implemented type=market workaround (immediate-or-cancel order with wide limit price)
  • ImprovedGemini · Updated market data
  • FixKraken Futures · Fixed type=market workaround for close=position
  • NewKuCoin Futures · Implemented quantity adjustment in case supplied leverage is limited by market
  • NewOANDA · Implemented quantity adjustment in case supplied leverage is limited by market
  • FixPhemex · Fixed error when canceling multiple orders at once
  • FixPhemex · Fixed error for cancel/check=order when no order is open
1.3.2
05/02/2021
  • FixFixed comparisons in placeholders always evaluating as true (broken in 1.3.1)
  • NewAdded aliases "free" (for "balance") and "total" (for "equity") to yield= option
  • NewKraken Futures · Added _sizeUSD and _sizeCoin position infos
  • ImprovedBybit · Improved ticker query for USDT markets
1.3.1.2
25/01/2021
  • FixFixed new format ex:sym:acc for a=/ap= not working sometimes
  • NewKraken · Added support for custom SL/TP references/plots
  • NewKraken · Added correct leverage info to notifications
  • NewKraken Futures · Added correct leverage info to notifications
1.3.1.1
22/01/2021
  • NewAdded option to Run & Test buttons in PV Alert editor for spot markets (via Alt-Key while clicking)
  • NewAdded conditional option to check if an order was partially filled (see ifp=/ifpartial=)
  • NewAdded conditional option to differentiate between other error or max time reached (see ift=/iftime=)
  • NewAdded placeholder [caller] for the id of the alert that ran/triggered this alert (fallback current alert id)
  • NewAdded placeholder [acc] for account name from ap=/run=/trigger= (fallback from alert name; name format EX-SYM-ACC)
  • NewAdded placeholders [internal], [fork] and values internal/fork to [mode] (see "Unified" under "Setup: Commands"!)
  • ImprovedMoved min/max balance checks to work with updatebalance command (ub=1 minb=x)
  • NewAdded columns to command list ("Setup: Commands") showing if key can be used as standalone command and/or set as default
  • NewAdded syntax command "exit" as alias for do=abort
  • FixCoinbase Pro · Fixed error when canceling orders
  • ImprovedFTX · Always calculate positive order amount, even when negative balance (eg. spot margin short)
  • NewKraken Futures · Implemented "pseudo" market orders (type=market) via order type IOC and price offset
  • FixKraken Futures · Fixed log confirmation and caching of custom IDs for stop orders
  • FixKraken Futures · Fixed wrong order type for take profit stops
  • NewKraken Futures · Added event source mapping of KRAKEN:XXXPERP to KRAKENFT:XXX
  • NewKraken · Added correct spot balance query and separated margin balance
  • NewKraken · Added support for the new Position Monitor (fixes @ 1.3.1.1)
  • NewKraken · Added PnL calculations for positions (margin) (fixes @ 1.3.1.1)
  • ImprovedKraken · Corrected free margin balance info (yield=balance / default)
  • FixKraken · Fixed error when closing positions (via close=position)
  • NewKuCoin · Added support for spot margin orders/balances (via side=long/short)
1.3.0.2
26/12/2020
  • ImprovedTV Indicator Settings Manager · Copy/Paste/Save/Load settings + Take screenshots (Beta!) (holding the Shift key will disable confirmations, holding the Ctrl key will switch between JSON & text formats)
  • NewAdded position monitoring GUI (Beta!)
  • NewAdded support for DueDEX exchange
  • NewAdded support for Phemex exchange
  • NewAdded support for Twilio (SMS) notifications
  • NewAdded syntax commands to run or trigger other PV Alerts (see run= and trigger=)
  • NewAdded conditional option to compare current vs cached price or custom plot (see maxslip= / maxslipref= / ifslip=)
  • NewAdded syntax option "transpose" to adjust custom plots based on new price (useful for signals from different chart, see transpose=)
  • NewAdded saving of quantity, price, id, status and leftover quantity of canceled/checked orders for later reference (see save= and leftover=)
  • NewAdded reference options lastqty, lastprice & laststop to use quantity, price or stop from last placed or canceled order
  • NewAdded yield=possize option for normal non-closing orders to reference size of open position
  • NewAdded support for equations to unified placeholders and the new conditionals (eg. sl=[(close + _myplot)/2] etc.)
  • NewAdded custom plots to unified placeholders (eg. quantity=[_myplot])
  • NewAdded support to specify different exchanges/symbols per account in lists via exchange:symbol:account (see a= and ap=)
  • NewAdded list support to e= and s= options, allowing to specify different exchange/symbol per account given in a=/ap=
  • NewAdded preprocessor conditional syntax to check any predefined placeholder, OHLC and custom plot data against values or other plots (eg. [if not _myplot > 7000] ... [else] ... [endif] ; see "Setup: Commands" under "Unified Alerts")
  • NewAdded new placeholders to be used in preprocessor conditional syntax ([alert], [screener], [manual], [auto], [mode], [long], [short], [weekday], [day], [month], [hour] and [minute])
  • NewAdded priceref=pos/even/liq option for normal non-closing orders to reference price of open position
  • NewAdded option for interval= command to schedule an alert to run given minutes from now (via interval=+x)
  • NewAdded support to specify time in minutes/hours/weeks/months for delay=, jd=, time= and interval=+x options (eg. delay=5.5m)
  • NewAdded option to allow running of specific alerts even when in global pause/disabled mode
  • NewAdded syntax command to disable/enable PV via disable/enable/toggle=PV (same as global "pause" button)
  • NewAdded support to specify custom plot defaults in first line of PV Alert via #var1:value,var2:value,... (use '!' to overwrite a received OHLC/plot value eg. #!_sl=123,!close=456)
  • NewAdded shortcut syntax for custom plot references (eg. sl=_myplot-1% instead of sl=-1% slref=_myplot) (Note: Only works for p= / q= / l= / tp= / sl= / ts= / so= / msl= ; allowed ops for q and l are '*' and '/', for all others '+' and '-'!)
  • NewAdded syntax options to check for no position/order and opposite direction if side= filter was specified (see nopos=, noorder= and wrongside=)
  • NewAdded syntax shortcut to check for existing order IDs before closing a position (see checkid= and wrongid=)
  • NewAdded jump option "this" to loop within the last (current) jump label / made "back" option (stack) ignore loops
  • NewAdded support for wildcard placeholders in custom order ID checks (eg. check=order id=*-TP)
  • NewAdded workaround and internal stats for missed scheduler runs (missed runs will trigger up to 3 minutes later)
  • NewAdded possibility to define multiple jump labels directly one after another (or in one line separated by comma)
  • NewAdded option to specify a fallback jump label/action in case of an invalid label (useful for placeholders, see fb=)
  • NewAdded wildcard support for alert names in disable/enable/toggle syntax commands (eg. disable=*entry)
  • NewAdded support for buy/sell/long/short for side in alert message OHLC "footer" (useful for strategy alerts)
  • NewAdded support for writing custom messages to the PV log via notify command (eg. notify=log:"Hello!")
  • NewAdded CMC data to local OHLC data when queried so it can be used in notifications (see min24h= etc.) ({volume_24h}, {percent_change_1h}, {percent_change_24h}, {percent_change_7d}, {market_cap})
  • NewAdded string formatting option to notification placeholders, eg. {lastid.2} turns XH5-MSL-123456-1 into XH5-MSL (fixes @ 1.3.0.2)
  • NewAdded generic placeholder {stop} to reference stop prices in notifications
  • NewAdded received/fired numbers to the minimized PV Alert view
  • NewAdded separate "auto" (interval fired) stats count per alert
  • NewAdded human readable description of configured schedule to "Edit interval" GUI
  • NewAdded position monitor shortcut to balances in popup window (via Shift-Click or context menu on right click)
  • NewAdded unified side and order leverage to last success/error info in popup
  • FixFixed wrong or missing leverage in notifications when custom plot multiplier used
  • NewAdded unified side to alert names for short notifications
  • ImprovedUpdated and cleaned up "Setup: Commands" help page
  • NewAdded account copy and clone functions via buttons and context menu to exchange API pages
  • NewAdded changing of PV icon to orange when not connected to TV event stream nor TV interceptor addon
  • NewAdded automatic time offset adjustment for exchanges requiring a timestamp (solving time sync issues)
  • NewAdded more details to logging of filtered alerts and a number suffix for events triggering multiple alerts
  • NewAdded account copy and clone functions via buttons and context menu to exchange API pages
  • FixFixed alert log level "none" still logging notifications and "automatic interval run fired" messages
  • FixFixed alert log level "no debug" not logging standard info messages
  • FixFixed manual "Reset" button for repeat filter in PV Alerts sometimes not working
  • FixFixed several errors related to multiple accounts specified via a= option
  • ImprovedChanged all closing orders (close=position) to reduce only by default unless explicitly set to false
  • NewBinance · Added option to specify isolated margin flag for orders and loan/repay (see iso=)
  • FixBinance Delivery · Fixed size and PnL calculations for position info and check
  • FixBinance Delivery · Fixed balance placeholders not working in notifications
  • FixBinance Delivery · Fixed balance not available error for BNB based markets
  • FixBinance Delivery · Fixed all positions being closed instead of only selected symbol
  • ImprovedBinance Futures/Delivery · Made pm=auto (automatic detection of hedge mode) default
  • FixBinance Futures/Delivery · Fixed reduceOnly errors for hedged position orders
  • ImprovedBinance Futures/Delivery, BitMEX, Bybit, FTX, KuCoin Futures, SimpleFX: Added support for unit=currency to min/maxsize position filter option
  • ImprovedBinance Futures/Delivery, BitMEX, Bybit, FTX, KuCoin Futures, SimpleFX: Added position info/notification fields {_sizeUSD} and {_sizeCoin}
  • ImprovedBinance Futures, BitMEX, Bybit, KuMEX: Fixed "close=position q=100%" not always posting close-on-trigger orders without quantity
  • NewBinance Futures · Added support for priceProtect stop order option (see pp=)
  • FixBinance Futures · Fixed leverage not set correctly when using custom plot multiplier
  • ImprovedBinance Futures, BitMEX, Bybit, Deribit, FTX, KuCoin Futures: Added support for position liquidation price (via pr=liq)
  • ImprovedBinance, Deribit, FTX: Fixed transfer balance command (invalid error given for custom yield options)
  • FixBitfinex · Fixed iflong/ifshort for c/ch=position and added basic position info logging
  • NewBitMEX · Added support for position breakeven price (via pr=even)
  • FixBitMEX · Fixed PnL display/calculation to show in XBT instead of Satoshi
  • ImprovedBybit · Upgraded inverse perpetual markets to v2 API endpoints
  • ImprovedBybit · Automatically placing real stop instead of SL/TP attribute change if custom order ID specified (id=)
  • FixBybit · Fixed switch between cross/isolated margin for linear markets
  • FixBybit · Fixed "not modified" error when changing SL/TP position attribute
  • FixBybit · Fixed errors when canceling stop orders under certain conditions
  • NewCoinbase Pro · Added support for custom stop references
  • NewDeribit · Added relative quantity calculation for transfer balance command when target is main account
  • ImprovedFTX, FTX US: Fixed calculation of PnL % values (lev% was used as pos%)
  • ImprovedFTX, FTX US: Added rounding down of specified leverage to next valid value
  • ImprovedFTX, FTX US: Fixed leverage not shown correctly in notifications
  • ImprovedFTX, FTX US: Added support for transfer balance command to transfer to/from sub accounts (see tb=)
  • ImprovedFTX, FTX US: Added support for retryUntilFilled stop order option (true by default, see rf=)
  • ImprovedFTX, FTX US: Added support for currency conversion via new syntax command (see convert=) (fixes @ 1.3.0.2)
  • ImprovedFTX, FTX US: Fixed trailing stop value for normal (non-closing) short/sell orders
  • NewGemini · Added support for stop orders
  • ImprovedGemini · Updated market information
  • FixKraken · Fixed quantity calculations for margin long trades
  • FixKuCoin Futures · Fixed relative quantity calculations for USDT based markets
  • ImprovedOANDA, FTX: Added support for simple trigger/stop orders (see so=)
  • FixOANDA · Fixed leverage sometimes not shown correctly in notifications
  • FixPoloniex · Fixed error when closing position
  • FixSimpleFX · Fixed relative quantity calculations for equities and indices
  • FixSimpleFX · Fixed wrong side shown in log for close position orders
1.2.90.20
05/10/2020
  • NewAdded support for FTX US
  • FixFixed scheduler drift so interval alerts fire on time (see General Options / Fire Offset)
  • ImprovedUpdated built-in syntax examples and Wiki links
  • ImprovedImproved handling of some log writing errors
1.2.90.18
08/09/2020
  • FixFTX · Fixed profit calculation and PnL checks via syntax
  • FixKraken Futures · Fixed order cancelation not being confirmed in log and order id cache
1.2.90.17
02/09/2020
  • FixFixed order ID cache not being purged correctly and overflowing
  • NewAdded more helpful error messages for some connection problems
  • FixBinance Futures · Fixed error when checking for server time offset on startup
  • FixKuCoin · Fixed error when testing API key without any ETH balance
1.2.90.16
22/08/2020
  • NewAdded side info to icon tooltip and log (when supplied via OHLC at the end of TV message)
  • FixFixed syntax check errors for unified placeholders without side in alert name
  • NewBinance Futures · Added support for Delivery markets / DAPI (requires re-granting of permission in Chrome!) (further fixes @ 1.2.90.15)
  • NewBinance Futures · Added support for index price (pr=index)
  • FixBinance Futures · Fixed error when placing trailing stop (further fixes @ 1.2.90.16)
  • NewBitfinex · Added leverage parameter to orders
  • ImprovedBitMEX · Corrected error message for failed setting of leverage
  • FixFTX · Fixed filtering by custom ID for order cancelation/check
  • FixKuCoin · Fixed quantity precision error
1.2.90.13
05/08/2020
  • ImprovedChanged discord API from discordapp.com to discord.com (requires re-granting of permission in Chrome!)
  • FixFixed custom IDs leading to order errors in syntax loops on some exchanges
  • ImprovedBinance Futures, BitMEX, Bybit, FTX, Kraken Futures, KuCoin Futures: Fixed order cancelation/check not filtering correctly for stops or when type= option was missing
  • FixBinance Futures · Fixed step size error occuring for some instruments
  • NewBinance Futures · Added minimum trade size check
  • NewGemini · Added new instruments and fixed precisions
  • FixKuCoin Futures · Fixed direction parameter for stops being wrong (causing immediate trigger)
  • ImprovedKuCoin Futures · Renamed from KuMEX and adjusted API endpoints (requires re-granting of permission in Chrome!)
1.2.90.12
12/07/2020
  • FixFixed price reference "ask" not working (pr=ask)
  • FixFixed additional cases leading to PRO license being removed
  • FixFixed syntax warning for id=[id] with catchall alert names (containing '*')
  • FixFixed TV backtest export not working @ 1.2.90.12
  • FixBybit · Fixed error on order placement for USDT markets (further fixes @ 1.2.90.11)
  • FixBitMEX · Fixed wrong time in force option for market orders @ 1.2.90.11
1.2.90.9
17/06/2020
  • NewAdded custom leverage plot reference option (lref=)
  • NewAdded workaround for new Discord Webhook URLs
  • ImprovedBinance Futures · Replaced posside with posmode=hedge/auto option to fully support hedge mode
  • ImprovedBinance Futures · Upgraded to v2 balance/risk endpoints (improved performance)
  • FixBinance Futures · Fixed cancel=order w/o additional filters not canceling all orders
  • FixBitMEX · Fixed cancel=order w/o additional filters not canceling all orders
  • NewByBit · Added ability to set separate buy/sell leverage in USDT markets
  • NewByBit · Added support for close-on-trigger & reduce-only in USDT markets
  • ImprovedByBit · Changed position closing orders to close-on-trigger by default
  • FixByBit · Fixed quantity/TP/SL calculations for hedge mode / multi positions
1.2.90.8
08/06/2020
  • NewAdded support for TV Screener Alerts (see General Options / TradingView Connection)
  • NewAdded support for Kraken Futures (beta)
  • NewAdded support for KuMEX (beta)
  • NewAdded alert option to auto detect [side] placeholders from actual open positions
  • NewAdded conditional options iflong= and ifshort= to require less API calls for checks
  • NewAdded option to allow wildcards (*) in PV Alert names to easily match multiple TV alerts
  • NewAdded new placeholders [ex] and [sym] to auto extract exchange/symbol from PV Alert name
  • NewAdded new placeholder [id] for the first only alphanumeric part of current alert name
  • NewAdded ability to set the side for unified alerts from custom plot data via ",side:{{plot_x}}" (if you have separate plots for long/short use ",side:{{plot("Long")}}:{{plot("Short")}}")
  • NewAdded custom plot data as quantity multiplier (via qref=_name / qref=customx) (further fixes @ 1.2.90.4)
  • NewAdded custom plot data names via ",name:{{plot_x}}" (use with priceref=_name etc.) (further fixes @ 1.2.90.8)
  • NewAdded expiration/timeout option to symbol locks
  • ImprovedMade repeat filter work independent of alert (optional, when "No Repeat" is *unchecked*!) (alert will only fire if there was no alert fired on the same symbol within given time window)
  • ImprovedMade "Solo per Bar" filter option work for multiple alerts triggered by the same name
  • FixFixed "Once per Bar"/"Solo per Bar" always filtering over two consecutive bars
  • ImprovedOptimized memory usage (especially for higher number of commands run)
  • ImprovedCode restructuring & optimization for improved command execution and API request speed
  • FixFixed PV startup failing when log database can't be opened for writing
  • FixFixed command parameters like {p} not working in custom notifications anymore (further fixes @ 1.2.90.2)
  • ImprovedChanged "don't log" alert option into log level selection drop down
  • NewAdded Ctrl+Shift+UP/DOWN hotkey to navigate alerts in alert editor
  • FixFixed alert selection state in alert editor when not using "expand one at a time" option
  • FixFixed symbol browser for defaults under General Options not working
  • ImprovedChanged API test function to only check account balance (less warning messages)
  • ImprovedChanged symbol info cache time setting to hours (default 72h)
  • FixFixed TV strategy tester export breaking copy & paste function
  • FixFixed option to disable "Study Repaints" warnings for indicators in TV
  • FixFixed Telegram error 400 caused by unescaped single underscore characters @ 1.2.90.8
  • ImprovedFurther performance improvements and reduced package size @ 1.2.90.8
  • NewBinance Futures · Added support for close-only orders/stops without quantity (further fixes @ 1.2.90.1)
  • NewBinance Futures · Added basic hedge mode support (position side via posside= option) (further fixes @ 1.2.90.6)
  • FixBinance Futures · Fixed advanced order cancelation filters (t=open/close/limit, sl=1, tp=1, ts=1, r=1) @ 1.2.90.8
  • NewBinance Futures · Added support for trailing stops (callback rate via cbrate= option)
  • FixBinance Futures · Fixed custom plot data not available for non-closing orders
  • NewBitMEX · Added support for advanced order cancelation filters (t=open/close/limit, sl=1, tp=1, ts=1, r=1) (@ 1.2.90.8)
  • NewBitMEX · Added support for time in force option (via type=fok/ioc/day)
  • FixBybit · Fixed "cannot set TrailingStop" error (close=position ts=xxx)
  • FixBybit · Fixed "param validation for order_status failed" error (cancel/check order for USDT) (further fixes @ 1.2.90.7)
  • ImprovedGemini · Corrected time in force option IOC and added support for FOK (fill or kill)
  • FixKraken · Fixed order type "settle" not working
  • FixOANDA · Fixed order type "day" not working
  • FixPoloniex · Fixed error when calculating margin balance
1.2.85.1
27/04/2020
  • FixFixed broken alert import for "Import Config" function
1.2.85
20/04/2020
  • ImprovedEnabled quantity and leverage parameters to be set as default in syntax (be careful with following close position commands etc.)
  • FixFixed unified placeholders (side etc.) not being replaced on interval alerts (filled with first side in name!)
  • ImprovedOANDA · Improved balance/instrument currency conversion (fixing relative quantities & position info)
  • NewSimpleFX · Added realtime PnL calculation for position info (via ch=position updateprice=1)
  • ImprovedSimpleFX · Improved balance/instrument currency conversion (fixing relative quantities & position info)
  • NewSimpleFX · Added use of "delete" endpoint when possible to close positions (preventing "no money" error)
  • FixSimpleFX · Fixed SL/TP calculation for positions made from multiple orders
  • FixSimpleFX · Fixed bug introduced in 1.2.81 causing "unauthorized" errors (further fixes @ 1.2.85)
  • FixBybit · Fixed wrong balance being used for quantity calculations for BTCUSDT market (due to API changes)
  • NewBybit · Added workaround for "unknown result" error when setting leverage on BTCUSDT market
1.2.83
14/04/2020
  • FixFixed broken position size check (minsize/maxsize)
  • ImprovedChanged default for plref syntax option to "lev" (leveraged PnL)
  • NewOANDA · Added check for instrument leverage limit and improved quantity calculations
  • ImprovedOANDA · Corrected leverage and PnL calculations for position info
  • NewByBit · Added support for new USDT market endpoints (experimental!) (further fix @ 1.2.83) (PnL calculations for USDT require ticker query, invoke via ch=position updateprice=1)
  • NewByBit · Added support for changing SL/TP specified with main open order (via c=position q=100% t=market sl=x tp=x)
  • ImprovedByBit · Corrected relative PnL % calculations for pos/lev/total position info
  • FixByBit · Fixed "insufficient margin" error sometimes occuring on position close
1.2.81
08/04/2020
  • FixFix for lifetime licenses "expiring" on 8/4/2020 (please re-enter your license!)
  • ImprovedUpgraded to new CoinMarketCap API (enter API key under "General Options")
  • NewAdded position opening time to position info where available (BitMEX resets hourly)
  • FixFixed bar time/position for very long and sub-minute timeframes
  • FixFixed balance sometimes not available or wrong currency in notifications
  • FixFixed session notification statistics not being reset
  • ImprovedRewrote TV event hook (addon) for compatibility with recent TV updates
  • ImprovedImproved TV event stream stalling detection and fixed permission denied errors
  • ImprovedSeveral app log viewer fixes (updating too much, showing too many entries)
  • NewBinance · Added checks for minimum order quantity and minimum notional
  • FixBinance Margin · Fixed mt=borrow and mt=repay not working
  • NewBinance Futures · Added workaround for error when changing margin type (mt=)
  • ImprovedBitMEX · Reduced number of API calls for order cancelation and position checks
  • FixBitMEX · Fixed showing position side instead of order side in log
  • FixFTX · Fixed currency unit option (u=currency) for spot market instruments
  • FixSimpleFX · Fixed quantity calculation for positions made up of multiple orders
  • FixSimpleFX · Fixed error message for wrong or missing trade permissions
1.2.79
25/02/2020
  • NewAdded highlighting of current selected alert in alert editor
  • FixFixed lock/unlock commands in syntax not working
  • FixFixed dollar sign ($) being removed or decimated in PV Alert names on loading
1.2.78
21/02/2020
  • NewAdded syntax command to query and check CMC price change data
  • NewAdded support for SimpleFX broker (beta)
  • ImprovedOptimized syntax editor screen space usage
  • NewAdded separate run/test alert buttons for long and short (unified alerts)
  • NewAdded stop price reference option to base stop on main order price (slref=price etc.)
  • ImprovedOptimized performance of PV Alert editor (recommended to keep most alerts minimized)
  • NewAdded context menu command to copy/paste PV Alerts in JSON format
  • NewAdded event source mapping of BINANCE:XXXPERP to BINANCEFT:XXX
  • NewAdded entry price to position info
  • NewAdded last slippage info to PV Alert stats
  • NewAdded option to use current time for alert received / fired info (instead of TV event data)
  • NewAdded setting to specify interval fire offset (seconds after full minute)
  • NewAdded info about unified alerts under "Setup: Commands"
  • ImprovedAdapted TV indicator dialog styling fixes after update
  • FixFixed newlines in config export on Windows
  • ImprovedIncreased popup window size
  • FixDeribit Testnet · Fixed authentication errors
  • ImprovedFTX · Relaxed instrument name lookup (BTC-PERP vs BTCPERP)
  • FixOANDA · Fixed check position command
1.2.75
06/02/2020
  • NewAdded option to ignore syntax errors in legacy alerts (found under "General Options")
  • FixBitmex · Fixed quantity calculations for symbols using multiplier (XRPUSD etc.)
1.2.74
02/02/2020
  • NewAdded symbol browser to exchange pages (requires valid account for OANDA!)
  • NewAdded exchange/symbol browser quick insert/replace to syntax editor (via context menu)
  • NewAdded custom context menu to alert editor
  • NewAdded exchange syntax alias to exchange pages
  • NewAdded alert repeat filter option to check for name differences (vs alert id only)
  • NewAdded syntax option to specify which PnL type to check (plref=pos/lev/total - pos being default)
  • FixFixed order/position check conditionals in loops not triggering in same cases
  • FixFixed multiple account processing in loops sometimes failing
  • ImprovedImproved repeat filter to work within bar time (was previously using bar time only vs fire time)
  • NewBinance Futures · Added support for reduce only stops
  • NewBinance Futures · Added option to switch between isolated and cross margin (mt=isolated/crossed)
  • NewBinance Futures · Added cancel all and batch/bulk cancelation API calls
  • NewBinance Margin · Added option for auto borrow/repay order flag (mt=borrow/repay)
  • FixBybit · Fixed bulk order cancelation for t=open/close
  • FixBybit · Fixed wrong book side printed in log for c=position (further fix @ 1.2.74)
  • NewBybit · Added support to place trailing stop via c=position ts=x (@ 1.2.74)
  • FixFTX · Fixed pr=pos option and added new pr=even option (last break even)
  • FixFTX · Fixed bulk order cancelation canceling orders for all symbols
  • FixFTX · Fixed trailing stop placement (via c=position ts=x)
  • NewOANDA · Added support for u=currency option
1.2.71
01/01/2020
  • ImprovedEnabled time/maxtime parameter to be set as default in syntax
  • FixBinance · Fixed quantity precision error occuring for some symbols
  • FixBybit · Fixed endless loop when certain amount of past orders was reached (further fix @ 1.2.69)
  • FixBybit · Fixed leverage error message (leverage was still set correctly)
  • ImprovedDeribit · Corrected testnet URL/API endpoint (fix @ 1.2.71)
  • FixFTX · Fixed quantity calculation for spot market sell (further fix @ 1.2.70)
1.2.67
14/12/2019
  • NewAdded support for Binance Futures
  • NewAdded ticker data to notifications, enabling use of eg. {ask}, {last} etc. (Note: Cached ticker data is used so depending on the type of command up=1 might be necessary!)
  • NewAdded pre-filled notification variables {pnl}, {pnlLev}, {pnlTotal} and {relSize} for positions (pnl = abs P/L% for the position, pnlLev = incl. leverage (similar to ROE), pnlTotal = in relation to balance)
  • NewAdded access to general position info for notifications on c=position commands (instead of just the closing orders)
  • FixFixed alert editor UI not reflecting when alerts are disabled/enabled via syntax
  • FixFixed interval settings not updating in UI when changed via syntax
  • FixFixed option to always keep the PV options page open
  • ImprovedFurther unified and fixed position P/L calculations
  • NewBitMEX/Bybit · Implemented querying of current leverage when none specified
  • FixBitfinex · Fixed error when converting balance for non-USD pairs
  • ImprovedBybit · Updated code to use new order API v2 and implemented support for bulk order cancelation (further fix @ 1.2.67)
  • FixFTX · Fixed bulk order cancelation and unique IDs for position close
  • FixOANDA · Fixed relative SL/TP/TS calculations for positions with multiple orders
  • FixOANDA · Fixed SL/TP/TS info not accessible in notifications
1.2.65
10/12/2019
  • NewAdded support for FTX exchange (beta)
  • NewAdded leverage info for order placement, when changing leverage or checking positions
  • FixFixed relative position size sometimes not showing in check/close position info
  • NewAdded command pass number to unique order ID to avoid duplicate orders in loops
  • NewAdded number of passes (counts) that a command is being executed to the log
  • ImprovedUpdated TV user interface "fixes"
  • NewOANDA · Added calculation of correct position leverage
  • NewOANDA · Added query of/info about account leverage (no need to specify leverage for relative quantities)
  • NewOANDA · Added support to set account leverage via l= syntax and order type GFD (Good For Day)
  • FixGemini · Fixed API communication error preventing access
1.2.64
05/12/2019
  • NewAdded fire offset info (event slippage) to "alert received" log message
  • ImprovedDisabled retries for duplicate order ID errors
  • FixFixed wrong syntax highlighting for certain command parameters
  • FixBitMEX/Deribit · Fixed order check syntax accidentally bulk canceling orders
  • FixBybit · Fixed order cancellation not working anymore after API update
1.2.63
27/11/2019
  • NewAdded general support for absolute prices to all price options via @<number> (eg. p=@7000)
  • NewAdded support for positive numbers written in syntax with leading "+"
  • NewAdded OHLC data to {} notification placeholders (eg. {close} for close price)
  • FixFixed non-sensical TV OHLC data always being "detected"
  • NewBitMEX/Bybit/Deribit/Kraken/OANDA · Added new parameters to specify different price bases for stops (slref/tpref/tsref)
  • ImprovedBitMEX/Bybit · Leverage is now set via API only if l= option is present in command!
  • NewBybit · Added support to place stops independend of any position with new stop order parameter (so=)
  • NewBybit · Added support to switch to cross margin via API with l=0
  • NewBybit · Added support for stop reference (sr=) option
  • FixBitfinex · Fixed market order error caused by API change
1.2.62
08/11/2019
  • ImprovedAdded support for new OHLC and custom plot info from TV by adding the following as the LAST line in the TV alert description · "#{{open}},{{high}},{{low}},{{close}},{{volume}}" (without quotes!) Those prices can then by referenced in syntax via pr=open or pr=close etc. (to use custom plotted prices add ",{{plot_0}}" etc. to the line above and use via pr=custom1 etc.)
  • NewAdded support to call multiple PV Alerts from one TV alert by putting their names line after line in the beginning of the TV alert description
  • NewAdded command aliases go= and do= and added the option "back" for jumps/conditionals to resume execution after the original calling command
  • NewAdded relative position size and leveraged PnL % info to position info log output (and removed additional details that were basically a duplicate of the debug output)
  • NewAdded {pnlLev} and {roe} notification placeholders (roe only available on BitMEX for now)
  • NewAdded option to disable logging completely per alert (useful for interval alerts running quite often)
  • FixFixed calculation of relative position size for min/max position checks
  • FixFixed wrong quantity, price etc. being calculated sometimes after jumps/conditionals
  • FixFixed setting defaults to zero via syntax not working (retries=0 etc.)
  • FixFixed PV Alert still firing on intervals even when it was set to "disabled"
  • FixFixed error when setting alert interval via syntax
1.2.61
22/10/2019
  • NewAdded live syntax checking including error/warning markers to PV Alert editor (fix for "foreign" chart alerts @ 1.2.61)
  • NewImplemented drag and drop / custom order support for PV Alert UI
  • NewAdded descriptive command aliases to syntax parser incl. notification syntax ("discord" instead of "d" etc.)
  • ImprovedImproved interval config UI (launched by "Edit interval" button)
  • NewAdded name/syntax search functions and further sort options to PV Alert UI
  • NewImplemented custom jump labels for err/skip syntax options (including jumping back/looping)
  • NewAdded syntax command to enable/disable (or toggle) any PV Alerts
  • NewAdded syntax command to configure interval runs for any PV Alerts
  • NewAdded syntax options to check P/L (minpl/maxpl) and size (mins/maxs) of a position on all margin exchanges
  • NewAdded syntax command to check existing positions/orders more easily (ch=/check=) (see Setup: Commands!)
  • NewAdded syntax conditional commands ifo/ifn, including support for jump labels (see Setup: Commands!)
  • NewAdded new error handling options incl. aliases and new ep= parameter for "on error" closing limit price
  • NewAdded pause/resume/stop buttons in log view to temporarily pause or forcefully terminate all running alerts
  • NewAdded comma separated list support to p, sl, tp, ts for targeting different accounts with a=/ap=
  • ImprovedChanged log output to use original syntax line number instead of the command number
  • ImprovedChanged syntax parser to make "ub" or "r" (without =) equivalent to "ub=1" / "r=1"
  • NewAdded notification variable {pnl} for ch=position command notifications
  • NewAdded notification variable {time} containing current timestamp (old {time} variable is now {bartime}!)
  • NewAdded number of errors to per alert stats
  • NewAdded option to auto collapse all but the current alert in PV Alert UI
  • FixFixed counting of actual number of executed commands for stats/log instead of total commands in alert
  • FixFixed wrong end date sometimes being shown for monthly subscriptions
  • FixFixed some log entries sometimes not being written to DB (under load)
  • NewAdded support for Binance US
  • NewBitMEX · Added support to place SL/TP "close all" stops without a position (r=1 q=100% / no q=)
  • NewDeribit · Added use of "close position" API command for c=position (q=100% / no q=, no b=)
  • FixDeribit · Fixed error for c=position without b= when no position was open
  • ImprovedOANDA · Relaxed instrument name lookup ('_', '-' and '/' are removed internally)
  • NewBitMEX/Bybit/Coinbase/Deribit/OANDA · Added checks for minimum trade size (Bybit also minimum price)
  • FixBitMEX/Bybit · Fixed permission error on older Chrome versions
  • Improved!BREAKING CHANGE! BitMEX/Kraken: Stop orders (not using c=position but any of tp/sl/ts) are now placed on the side defined by b= instead of the opposite direction! (unified behaviour)
1.2.58
23/09/2019
  • NewAdded pc=1 syntax option to skip ticker query and use last cached ticker update instead
  • NewAdded up=1 syntax option tp use newly added internal ticker cache and save current ticker query to it
  • NewAdded bc=1 syntax option to skip balance query and use last cached balance for an exchange/account
  • NewAdded internal order id cache for exchanges without native custom order id support (enabling id= syntax for Bitfinex, Bittrex, Coinbase Pro, Kraken, OKCoin, OKEX and Poloniex)
  • FixFixed "no repeat" alert filter not working when first matching alert was disabled
  • NewAdded built in notification option to format notifications "horizontally"
  • NewAdded stronger "muting" of disabled alerts in alert editor
  • ImprovedStarted unification of all exchange modules
  • ImprovedBitfinex, Kraken, OKEX, Poloniex: Added pr=pos for position average (with c=position)
  • ImprovedBitMEX, Deribit: Added pr=mark for mark price
  • NewBybit · Added new ticker API supporting ask, mid, bid, last, mark and index price (further fixes @ 1.2.58)
  • FixBybit · Fixed order cancelation error (when no previous stop orders were created) (further fixes @ 1.2.57)
  • FixDeribit · Fixed c=position d=1 (disabled mode) for conditional syntax
  • ImprovedDeribit Testnet · Updated endpoint to new URL
  • NewKraken · Added support for c=position with sl/tp options
1.2.53
02/09/2019
  • NewAdded built in notification options to include/exclude balance, quantity or leverage
  • NewAdded metrics about sent notifications to the statistics page
  • NewAdded notification variable {leverage} to print the used leverage or "None"
  • NewAdded notification variables {available} and {total} to reference only available or total balance
  • NewBinance · Added support for OCO orders (specify both tp= and sl= together, use p= for the stop-limit price!)
1.2.52
23/08/2019
  • NewBinance · Added syntax commands for margin/spot balance transfer and loan/repay of assets (eg. tb=btc,bnb q=50% y=spot to transfer 50% of your BTC and BNB from spot to margin, loan=btc or repay=btc and q=x for loan/repay of x amount BTC)
  • NewDeribit · Added syntax command for subaccount balance transfer (eg. tb=btc,eth q=25% y=mysub to transfer 25% of your BTC and ETH balance from the current account to a subaccount with the alias mysub) (further fixes @ 1.2.52)
  • ImprovedBitMEX · Closing orders (c=position) will now always ignore already open orders for quantity calculations(!)
  • ImprovedOptimized screen space of minimzed alerts in UI
  • FixFixed auto interval configuration for "every minute" intervals
1.2.50
16/08/2019
  • FixFixed minb/maxb syntax options to work with y=equity
  • NewAdded number of placed/canceled orders to log & notifications when more than one
  • NewBinance · Added preliminary support for new margin trading market
  • NewBybit · Added support for reduce only limit orders (layered TP eg. c=position q=25% p=2% r=1)
  • ImprovedBitMEX · Corrected final closing order for layered TP orders (further fixes @ 1.2.50)
  • FixDeribit · Fixed bulk order cancelation
1.2.46
09/08/2019
  • FixFixed d=1 in a line by itself (setting defaults) not being respected
  • FixFixed per alert stats sometimes not updating and refreshing correctly
  • NewBybit · Added support for trailing stop (current API only permits it as ts=value with main position order)
1.2.44
07/08/2019
  • NewAdded user interface to configure intervals for auto firing alerts
  • NewAdded minp/maxp syntax options to specify absolute limits for price
  • NewAdded syntax placeholders [res] for the alert timeframe and [name] to use the triggering name anywhere in syntax (eg. custom symbol names for lock/lockcheck, custom order IDs, notifications etc.)
  • NewAdded total number of run commands and empty alerts to the statistics page
  • NewAdded number of errors, warnings and retries to the statistics page and fixed stats not resetting correctly
  • FixFixed alert stats not updating automatically while alert page is open or when alerts run on intervals
  • FixFixed per alert stats not being tracked correctly
  • NewAdded reset button for per alert statistics
  • NewAdded option to set minimum alert run time before alert is tracked for run time stats
  • NewAdded option (default enabled) to count manual run alerts in syntax time stats
  • FixFixed wrong display of durations that were exactly 1 minute, 1 hour or 1 day
  • NewAdded warning to "Run in intervals" alert option
  • FixFixed origin header errors for some exchanges caused by Chrome v76 update
  • FixFixed "unhandled exception" error sometimes occuring after alert fired
  • FixBitfinex · Fixed "Key amount should be a decimal string" error (1.2.43)
  • FixBybit · Fixed "same leverage" error introduced by API change
  • FixKraken · Fixed time offset check
1.2.41
04/08/2019
  • NewAdded scheduler for PV Alerts to automatically fire any alert in custom configurable intervals / schedules
  • NewAdded minq/maxq syntax options to specify absolute limits for order quantity (always in contracts or native "currency")
  • NewAdded very detailed "Statistics" page with internal metrics covering all aspects of PV
  • NewAdded option to automatically restart PV after set time period (optionally extended if alerts are running)
  • NewAdded alert filter option to specify both min amount of (once per min only) and min position in bar (also for legacy)
  • NewAdded stats about last/min/max/average syntax execution time, fire/manual run numbers and creation date to PV Alerts
  • NewAdded option for maximum time allowed to pass between firing and running of alerts
  • NewAdded option to limit maximum alerts running in parallel
  • NewAdded logging of manual and automatic restarts
  • NewAdded automatic reloading of options window after remote config update (sync)
  • NewAdded option to log view to disable automatic scrolling
  • FixFixed instabilities caused by too many log entries (limiting log view to last 1000 entries)
  • FixFixed download of log with many entries failing (auto-splitting in 1MB chunks)
  • FixFixed "Once per Bar" filter sometimes filtering over two bars
  • NewAdded support for using the equal sign in custom notification messages
  • FixFixed some TV listener errors occuring under rare circumstances
  • NewIFTTT Notifications · Added support for custom data using the "value1" field
  • FixCoinbase Pro · Fixed price precision errors for certain order types
  • NewBybit · Added support for non-BTC markets / symbols
  • ImprovedKraken · Complete rewrite fixing regularly occuring error
1.2.32
11/06/2019
  • NewAdded new alert filter option "Solo per Bar" restricting alerts to one alert per bar per symbol
  • FixCoinbase Pro / Kucoin · Fixed order quantity calculations for buy orders (further fixes @ 1.2.32)
  • FixBybit · Fixed order cancelation error caused by API changes
  • FixBitMEX / Bybit / Deribit · Fixed error causing order cancelations to sometimes execute even in testing mode
1.2.29
07/06/2019
  • ImprovedMigrated log from local storage to WebSQL for much longer retention
  • ImprovedChanged all internally saved timestamps to UTC (displayed according to local timezone)
  • FixFixed "command.time.reference" error sometimes occuring when using notifications
  • FixFixed error causing notification features not to work for monthly subscription
  • NewAdded display of license expiration date for monthly subscription
  • NewAdded option to disable modification of indicator "Settings" and "Edit Alert" windows on TradingView
  • NewAdded command number besides alert id to further uniquify custom order ids
  • FixOANDA · Fixed quantity calculations for matching account/symbol currency and price calculations for trailing stops
  • FixCoinbase Pro · Fixed price precision and unknown market errors occuring with some symbols and added SL/TP support
  • FixBybit · Fixed "bind error" for reduce only limit orders (r=1 is currently only supported for stop orders on Bybit)
  • NewKuCoin · Added support for current API version, newer symbols (incl. caching) and added KuCoin Sandbox
  • NewGemini · Added support for newer additional symbols
1.2.26
26/05/2019
  • FixBinance · Fixed market order error (fixed @ 1.2.26)
  • FixOANDA · Fixed quantity calculation sometimes failing (when not necessary)
  • ImprovedBybit · Closing orders of at least 100% will be set to "close on trigger" automatically (fixed @ 1.2.25)
  • NewBybit · Added support for reduce only option
  • FixBitMEX · Fixed price reference option pr= not being used for stop prices (sl/tp/ts)
1.2.23
23/05/2019
  • FixOANDA · Fixed quantity calculation for relative buy in based on unit price and account currency (q=%)
  • FixFixed deletion of PV Alerts sometimes not working
  • FixFixed error preventing ap= syntax from working
  • FixBitMEX · Fixed error introduced by c=position load shedding workaround
1.2.21
22/05/2019
  • NewAdded beta support for Bybit
  • NewAdded monthly subscription as alternative licensing option
  • NewAdded side of the book placeholders ([side], [!side], [+], [-]) to PV Alert syntax that are "auto guessed" from the alert name and can be used to handle both long & short or buy & sell with only one alert that has two names assigned (eg. "BTC Long, BTC Short")
  • NewAdded new syntax option time= to define maximum elapsed time since firing of alert (can be specified either as absolute amount of seconds or % of bar time)
  • FixFixed Discord notification formatting on iOS (Note: works only when the padding option is disabled!)
  • NewAdded average price to notifications if different from main price
  • FixFixed PV Alerts not being removed from sync when switching to local storage
  • FixFixed log filter options for events and orders
  • ImprovedChanged syntax so lockcheck command can be used by itself now
  • FixFixed bug that sometimes caused hangs when using skip=-1
  • ImprovedChanged "Min Bar %" filter to allow for sub-percent precision
  • ImprovedEnabled "Always use Event Stream" option by default
  • NewBitMEX · Added support for bulk order cancelation (further speeding up entries)
  • RemovedBitMEX · Removed order quantity for closing orders of at least 100% (thus exempt from load shedding!)
  • FixDeribit · Fixed order cancelation for non-BTC markets
  • NewDeribit · Added support for bulk order cancelation (further speeding up entries)
1.2.19
27/04/2019
  • NewAdded option to save alerts in local instead of sync storage to lift size restrictions (Note: disables syncing of alert definitions!)
  • NewAdded better error handling when alerts get too big for sync storage
  • FixFixed min bar time filter sometimes not working and not saving/loading correctly
  • ImprovedChanged filtering for bar open to 0-3% and bar close to 97-100% respectively
  • FixOANDA · Fixed multiple errors preventing c=position from working
  • NewOANDA · Added parsing/saving of order confirmations
1.2.17
19/04/2019
  • NewAdded OANDA and OANDA Practice support (incl. custom order ids)
  • NewAdded option to specify multiple custom ids with id= via comma separated list (for c=order)
  • NewAdded built in notification option for less verbose notifications
  • NewAdded syntax to run an alert parallel for multiple accounts (ap=)
  • NewAdded alert option to run in parallel instead of consecutively when sharing a name
  • NewAdded support to specify q= and l= values per account via comma separated list (when using a=/ap=)
  • FixFixed retry for multiple accounts sometimes not working
  • FixFixed notifications for multiple accounts sometimes not working
  • FixFixed notifications & retries for "Event Stream only" connection problems/recovery
  • ImprovedMade repeat filter compatible with multiple alerts sharing a name
  • NewAdded exchange, symbol and time to the icon tooltips "last event" info
  • NewAdded more and easier to see tooltips to the options page and popup window
  • FixFixed several causes for "Unknown Error" in main event process
  • NewAdded option to disable "study repaints" warning in TradingView
  • NewDeribit · Added support for multiple base currencies (ETH)
  • FixBitMEX · Fixed custom order id sometimes not being unique
  • FixOKEx · Fixed error in account balance query
1.2.14
17/03/2019
  • NewAdded additional stalling notification for Event Stream connection problems
  • FixDeribit · Fixed order error caused by typo
  • ImprovedBitMEX, Deribit: Added additional price reference option pr=pos to force use of position average
  • ImprovedBitMEX, Deribit: Added syntax option sr=x to specify price reference to set for stops (last, mark, index)
1.2.13
15/03/2019
  • NewAdded syntax minhvd/maxhvd etc. to check BitMEX volatility indices (daily, weekly, monthly)
  • NewAdded option to always use Event Stream system to receive TV alerts (even when TV tabs are open)
  • NewAdded option to show number of fired or received alerts as badge on the icon (reset by clicking the icon or "Reset" button under "General Options")
  • NewAdded info on last run alert to icon and popup last success/error tooltips
  • NewAdded info on TV connection state to icon tooltip
  • NewAdded syntax command to update exchange/account balance (ub=1)
  • NewImplemented popup window balance refresh function
  • NewImplemented ret=x for "disabled mode" making commands like the following possible: "c=position d=1 ret=-1 skip=-1" will skip the whole alert if an open position is found
  • NewImplemented skip=-1 as an option to skip all of the following commands in an alert
  • NewImplemented ret=0 as an option to check for NO positions/orders returned
  • ImprovedMade error handling / ret=x work per account for a=acc1,acc2,... syntax ("ret=x err=1" will skip commands only if ALL accounts didn't return enough orders)
  • FixFixed a bug that made a=acc1,acc2,... syntax fail under certain conditions
  • NewAdded lock/unlock and checking of lock state to syntax via "lock=..." command
  • NewAdded alert option to run only if symbol is locked
  • NewAdded manual lock/unlock functions to the alert editor (and clear all locks under "General Options")
  • NewAdded information about lock states to the alert editor via lock button
  • ImprovedRemoving an alert will now also remove it's lock
  • NewAdded lock ignore option to alert editor/filter engine
  • ImprovedAlerts are now sorted by their creation date in UI and for execution (custom order in a later update!)
  • ImprovedChanged global "testmode" to global disable/pause mode (no alerts are run)
  • ImprovedAdapted indicator settings window optimizations to new TV update/redesign
  • FixFixed bug in error handling (err=-2) that sometimes prevented it from closing positions
  • NewDeribit · Added support for reduce only orders (r=1)
  • NewBitMEX · Added support for trailing profit (IfTouched) orders via "tp=x ts=1" syntax (needs experimentation!)
  • ImprovedGeneral speed optimizations
1.2.10
22/02/2019
  • ImprovedQuickfix for nonce errors (Bitfinex in 1.2.10)
  • NewAdded filter option to lock/unlock alerts per symbol, useful for multi timeframe strategies etc.
  • NewAdded option to skip retries for ret=x syntax parameter (using a negative number for x)
  • FixFixed/implemented a=acc1,acc2,... syntax to work correctly, also for setting alert defaults
  • NewImplemented min bar time alert filter (for once per minute)
  • ImprovedAccount balance info is now also removed on account deletion
  • NewAdded order type (buy/sell) to built-in notifications
  • NewAdded number format option to custom notification fields eg. {p.2} for 123.45 or {p.0} for 123
  • NewAdded notification option to include alert timeframe/resolution
  • NewAdded notification option to use alert name as notification title
  • NewAdded notification option to specify buy/sell emojis
  • NewAdded hotkey support to the options page for config import/export, saving, run/min/max alerts etc.
  • NewAdded syntax to skip (goto/jump) given number of commands
  • NewAdded spinner status info while waiting for email notification permission
  • FixFixed "Once per Bar" filter to work for alerts (re)used accross different symbols
  • ImprovedAllow fractions of seconds for delay command
  • NewAdded small run/test buttons to minimized alerts
  • NewAdded muted background for disabled alerts in alert editor
  • NewAdded minimize/maximize all buttons to alert editor
  • NewAdded button to purge all cached balance info to "General Options"
  • FixFixed exchange options page formatting error
  • NewAdded price/quantity etc. to built-in notifications for exchanges without order confirmation
  • FixBittrex · Fixed cosmetic error message on order cancelation
1.2.7
12/01/2019
  • ImprovedMinimize/maximize alerts by double click in alert editor
  • FixFixed "NaN" in balances popup window for some exchanges
  • FixFixed PV options tab opening with no PV Alerts defined when "keep options page open" is checked
  • FixBittrex · Fixed "unknown market symbol" error
1.2.6
08/01/2019
  • ImprovedQuickfix for startup notifications not being sent
  • ImprovedQuickfix for built in cancelation notifications sent even when disabled
  • ImprovedQuickfix for BitMEX/BitMEX Testnet permission not granted issue
  • ImprovedQuickfix for "trying to refresh access token" reload loop when no TV tab open
  • ImprovedComplete overhaul of internal TradingView Event Stream system, fixing missed or duplicate alerts etc.
  • NewAdded option to format built in notifications with padding
  • NewAdded options to add account name or used exchange to notifcations
  • FixFixed built in notification system (sometimes prefixing messages with "Info" etc.)
  • NewAdded syntax to check for min/max account balance before running command
  • NewAdded option to always leave the ProfitView settings page open
  • FixFixed Google Sync remote updates sometimes detecting too many changes
  • NewAdded log info about which instance last saved settings and when
  • ImprovedBitMEX · Adding event id to custom order id to fix "duplicate" error
  • NewBinance · Added support for custom order id (with event id suffix)
  • NewCoinbase Pro · Added support for custom order id (with event id suffix)
  • NewDeribit · Added support for custom order id (with event id suffix)
  • NewGemini · Added support for custom order id (with event id suffix)
  • FixBittrex · Fixed "symbol not found" error
1.2.2
21/12/2018
  • NewAdded additional error handling syntax options err=-3 and err=-4
  • ImprovedFinal fix for error handling syntax err=-2 not closing and canceling correctly
  • FixFixed variables in custom notification messages causing endless loop/hang eg. "{price}"
  • FixFixed timeout not being set if only retries=x specified in syntax
  • FixFixed email notification credentials expiration (automatic token refresh)
  • NewAdded "\n" (newline) and "\t" (tab) escape sequences to custom notification syntax
  • FixFixed double reload of TV tabs on manual reload in some circumstances
  • FixFixed TV listener error message on startup in some circumstances
  • NewAdded command number and account info to event log entries
  • ImprovedAdjusted Chrome minimum version requirement in manifest to v54
  • ImprovedImproved reloading of TV addon components on updates
1.2.1
20/12/2018
  • NewImplemented Email, Discord, Telegram and IFTTT notifications for startup, order placement, cancelation, errors and stalling/timeout including custom notifications via syntax
  • FixFixed price and quantity calculations for multiple account syntax (a=acc1,acc2,...)
  • NewBitMEX · Added support for custom order IDs via id=abc syntax incl. filtering and fixed API check with empty balance
  • NewBinance · Added support for new pairs and fixed caching issues
  • NewBitfinex · Added support for normal SL/TP syntax
  • NewBittrex · Added support for new pairs and added symbol info caching
  • FixCoinbase Pro · Fixed symbol info caching and updates
  • ImprovedDeribit · Updated API order options
  • NewAll exchanges · Added general option to change symbol/market info cache duration and added price/quantity sanity checks
  • FixFixed balances in popup window being cut off on some browsers
  • FixFixed error handling syntax err=-2 not closing positions and canceling orders
  • ImprovedChanged log type of balance updates to notice and added filter for them
1.2.0
09/12/2018
  • NewAdded syntax options to specify retry & timeout per command
  • FixFixed error that kept ret=x syntax from working correctly sometimes
  • NewAdded repeat filter reset button
  • NewAdded repeat filter expire options
  • ImprovedSplit alert filter mid bar section into two separate areas
  • ImprovedQuick log filter options to show only alerts+orders and/or only errors
  • NewAdded warning dialog to "dangerous" options
  • ImprovedConfiguration import can now also process JSON containing only alert definitions
  • NewAdded option to disable confirmation for manual alert run (caution!)
  • ImprovedChanged TV addon to make all indicator parameters visible in alert edit dropdown
  • ImprovedChanged TV addon to make the indicator settings dialog waste less space
  • ImprovedAll binary/unicode characters are now automatically removed from API key/secrets
  • ImprovedBitMEX · Option pr=last is now using correct last price
  • ImprovedBitMEX · Better error messages when p or q parameters possibly faulty
  • ImprovedBitMEX · Outstanding limit orders are now ignored for c=position in case of t=market or q>=100%!
  • ImprovedDeribit · SL/TP close orders now use the average position price unless pr option is specified
  • NewAll Exchanges · Added log output in case all open positions don't match for c=position
1.1.0.20
09/11/2018
  • ImprovedBinance/Bitfinex/Deribit · Changed symbol info cache timeout from 15 min to 3 hours to reduce API calls and delays
  • ImprovedBinance · Symbol info now cached, reducing number of API calls, delays and data transfer quite a bit
  • NewAll exchanges · Implemented command option "pr" to force a price reference (ask / bid / mid / last), option "mid" calculates the average of ask & bid price, "last" uses the last trade price
  • FixDeribit · Fixed cancelation of stop orders (SL & TP)
1.1.0.18
09/11/2018
  • FixFixed error that made order placements fail for some exchanges (eg. Bitfinex)
  • FixBinance · Fixed order amount calculations
  • NewDeribit · Added leverage option (multiplying contracts) and fixed closing of short positions
1.1.0.17
07/11/2018
  • FixDeribit · Fixed calculation for u=currency and absolute q values / fixed precision / fixed SL & TP
1.1.0.14
07/11/2018
  • NewAdded Deribit and Deribit Testnet support
  • ImprovedImproved last order success/error info in popup window
  • NewBitfinex · Added more supported pairs
  • RemovedBitMEX · Removed OCO, OTO, OUOA and OUOP options from orders as per "contingencyType" deprecation announcement
  • FixBitMEX · Fixed u=currency and absolute order quantity as per "SimpleOrderQty" deprecation announcement
1.1.0.12
29/10/2018
  • NewAdded handshake with confirmation in log when remote Sync Storage configuration changes were picked up
  • FixBitfinex · Fixed "Invalid order price precision" error
  • FixBinance · Fixed account balance query error
  • FixFixed alert last received/fired info not updating live anymore
1.1.0.10
28/10/2018
  • NewAdded option to load remote configuration changes from Google Sync Storage (alerts & exchange options)
  • NewAdded information about defaults being used to manual alert run confirmation
  • NewAdded option to maximize the list of last accessed balances in the popup window
  • NewAdded option to minimize alerts in the local alert editor
  • RemovedRemoved restriction on number of alerts by saving each alert independently in Sync Storage
  • FixFixed buttons in UI sometimes not reacting to clicks
1.1.0.8
28/10/2018
  • ImprovedMoved balance info data from synced to local storage due to size/frequency
  • ImprovedImproved saving of synced configuration data using less Chrome Storage API calls
  • ImprovedSplit up handling of TradingView unsaved changes and quick reconnect into separate options
  • FixFixed configuration import not asking for/restoring all required Exchange permissions
  • FixFixed PV Alert filter cache being reset sometimes and made it persistent
  • FixFixed error in TV/PV Alert name matching
  • FixFixed manual alert testing sometimes running live commands erroneously
  • FixFixed error in balance processing causing PV popup to become non responsive
1.1.0.0
24/10/2018
  • NewAdded alert command management in ProfitView including auto suggest and syntax highlighting
  • NewAdded the ability to execute and test alert commands manually
  • NewAdded filtering module to filter alerts within bar period, repeats etc. for both local and legacy alerts
  • NewAdded configuration import and export functionality
  • NewAdded automatic suppression of unsaved changes and quick reconnect on max devices in TradingView
  • NewAdded error handling and expected return parameters/logic to alert command syntax
  • NewAdded ability to set default account, exchange and symbol for commands both via syntax and GUI
  • NewAdded info about the last queried exchange balance to the popup window
  • NewAdded additional log output for order cancel/position close commands
  • NewAdded info on the number of executed commands to the log
  • ImprovedError handling doesn't retry anymore on "internal" errors like missing API credentials
  • ImprovedExchange Account names are now saved in their original case (but still work case insensitive)
  • FixBitfinex · Fixed price/balance calculation for non USD pairs
  • FixBitmex · Fixed leverage sometimes not being set correctly
  • FixCoinbase Pro · Fixed errors for newly listed symbols
  • NewAdded more sanity checking to command syntax parser
  • NewAdded graceful error handling for most exchanges
  • ImprovedLots of UI bug fixes and improvements
1.0.4.20
28/09/2018
  • ImprovedImproved protection against auto tab discard of Chrome
  • NewAdded Privacy Policy
1.0.4.19
20/09/2018
  • NewAdded further protection against auto tab discard feature of Chrome
  • FixFixed a bug with OKEx failing to query account balances
  • FixFixed a bug preventing logging of successful order placement details
1.0.4.18
17/09/2018
  • ImprovedBig bugfix with loading the TV addon (interceptor), hopefully solving disconnect after reload and caching/update issues
1.0.4.17
17/09/2018
  • FixFixed command retry/timeout not working under certain conditions
1.0.4.16
17/09/2018
  • ImprovedSome tweaks regarding TV connection loss detection/refresh
1.0.4.15
05/09/2018
  • FixFixed bug permitting Bitfinex API to work correctly
  • NewAdded info on global testmode enable/disable to log
1.0.4.14
03/09/2018
  • FixFixed second problem of command parameters changing between retries
1.0.4.12
30/08/2018
  • FixFixed error of command parameters changing between retries
  • ImprovedSome TV connection loss detection tweaks
1.0.4.10
30/08/2018
  • ImprovedSeveral minor changes to TV reload logic and changed default to disabled
1.0.4.9
30/08/2018
  • FixFixed a bug that kept error retry and timeout from working
  • FixFixed a bug that kept TradingView reload after timeout from working
  • NewAdded event trigger and fire timecodes to log output
1.0.4.8
29/08/2018
  • NewAdded function to save/download the log
  • ImprovedAlert commands can now have comments with everything after "#" being treated as a comment
  • NewAdded option to disabled all commands globally (Testmode) including a button in the popup window
  • NewAdded available balance/equity info to log output
  • NewAdded Coinbase Pro Sandbox support
  • NewAdded option to reload TradingView tabs after time of inactivity
  • NewAdded option to open/reload TradingView tabs in case of connection loss
  • NewAdded option to disable reloading of TradingView tabs on update/restart
  • ImprovedError retry and timeout now working and not duplicated anymore per account (settings are per exchange!)
  • NewAdded CSS injection to widen the Condition drop down in the Alert Dialog on TradingView
  • FixBitmex · Fixed ETHUSD calcuations and linked order cancelations
  • FixFixed last error and success info not being updated in popup window
1.0.4.4
15/08/2018
  • FixFixed 'orderID' error message on closing of orders/positions
  • FixFixed Poloniex test command
1.0.4.3
02/08/2018
  • NewAdded support for the Gemini Exchange
  • NewAdded CSS injection to widen the Alert Dialog on TradingView
  • NewAdded info on last successful and last failed actions (with timestamps) to the menubar popup window
  • NewAdded a restart button on the live log page to force a reload of the extension manually
  • ImprovedImproved the live log with message size limits, better formatting, improved scrolling and more options (that are saved now)
  • ImprovedTightened the requested exchange permissions for better security!
  • ImprovedImproved saving of configuration and permissions
1.0.4.1
31/07/2018
  • ImprovedQuickfix · decreased log retention due to Chrome LocalStorage size limitations!
1.0.4
28/07/2018
  • ImprovedOverhaul of popup window with easier access to the Settings window
  • NewAdded numerous additional debug and status metrics to the log
  • NewAdded persistent application log
  • NewAdded navigation in Settings window (direct linking to log viewer, browser back/forward/refresh etc. working)
1.0.3.1
28/07/2018
  • FixFixed saving of permissions and unlock state!
  • FixFixed accidental duplication of API key if it was renamed
1.0.3
22/07/2018
  • NewAdded Coinbase Pro support
1.0.2
22/07/2018
  • FixFixed bug preventing communication with TradingView in some cases
  • ImprovedGUI changes
1.0.0
09/07/2018
  • ImprovedInitial release