Search results
Jump to navigation
Jump to search
- plot(1, "Buy", color.green); plot(1, "Sell", color.red); ...8 KB (174 words) - 03:41, 12 May 2025
- * **基本绘图:** 可以使用 `plot()` 创建散点图、折线图、柱状图等。 [[Category:plot()函数]] ...27 KB (1,466 words) - 00:39, 10 May 2025
- * **散点图 (Scatter Plot):** 用于显示两个变量之间的关系。使用 `geom_point()` 函数 * **线图 (Line Plot):** 用于显示一个变量随时间或其他连续变量的变化趋势� ...9 KB (317 words) - 09:02, 4 May 2025
- plot(prices, 'b-', moving_average, 'r-'); 这段代码首先获取股票价格数据,然后使用 `movmean` 函数计算 20 天移动平均线。最后,使用 `plot` 函数将价格和移动平均线绘制出来。 ...8 KB (174 words) - 08:21, 7 May 2025
- plot(AAPL$AAPL.Close, type = "l", main = "AAPL Stock Price and 20-day SMA") 这段代码首先加载了 `quantmod` 包,然后获取了苹果公司的股票数据。接着,使用 `SMA` 函数计算了 20 日简单移动平均线。最后,使用 `plot` 函数绘制了股票价格和简单移动平均线。 ...9 KB (249 words) - 04:34, 10 May 2025
- plot(myRSI(close, length)) plot(maCrossover(close, fastLength, slowLength)) ...8 KB (243 words) - 15:30, 12 May 2025
- plot(sma, color=color.blue) 6. `plot(...)`: 在图表上绘制移动平均线。 ...8 KB (268 words) - 08:39, 12 May 2025
- | **图表绘制** | `Plot(source, color, width)` | 在图表上绘制线条。| `Plot(SMA(Close(), 20), color.blue, 2);` | ...8 KB (311 words) - 19:00, 6 May 2025
- * `plot(series, title, color, linewidth)`: 在图表上绘制数据序列。 plot(smaValue, title="SMA", color=color.blue, linewidth=2) ...9 KB (295 words) - 02:20, 27 March 2025
- * **指标绘制:** 使用 `Plot()` 函数将指标绘制在图表上。 ...8 KB (198 words) - 01:40, 7 May 2025
- * **`plot()` 函数:** 绘制基本图表。 ...8 KB (278 words) - 16:35, 10 May 2025
- * `plot()`: 创建图形。 ...9 KB (190 words) - 15:42, 10 May 2025
- * `plot()`: 创建散点图、线图等。 ...8 KB (321 words) - 15:43, 10 May 2025
- plot(Cl(AAPL), type = "l", main = "苹果公司股价与 20 天移动平均线") ...9 KB (378 words) - 16:37, 10 May 2025