本文へスキップ
Skillpedia
分析とスプレッドシート18k · #10660

trader-hand-skill

できること

このスキルは、市場分析のための参考知識です。RSIなどのテクニカル指標、リスク管理の考え方、市場データのAPIの使い方を扱います。市場を学び、ツールの明確な説明がほしい人向けです。

使う場面

  • ✓RSIなどのテクニカル指標と、その計算方法の説明がほしいとき。
  • ✓市場分析やトレーディングのプロジェクトのリスクルールを設定しているとき。
  • ✓AlpacaなどのAPIを使った市場データの呼び出し方を知る必要があるとき。

スキルのリンク

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-hands/bundled/trader/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-hands/bundled/trader/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“RSI指標の計算方法と、株価チャート上で買われすぎと売られすぎの水準が何を意味するかを説明してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、指標の公式、実例、解釈のルールを示し、リスクとデータの情報源についての注意も加えます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Trading Expert Knowledge

Reference Knowledge

1. Technical Analysis Indicators Reference

RSI (Relative Strength Index)

Formula: RSI = 100 - (100 / (1 + RS))
Where:  RS = Average Gain / Average Loss over N periods (default N = 14)

Step-by-step calculation:
  1. For each period, compute change = Close(t) - Close(t-1)
  2. Gains = max(change, 0), Losses = abs(min(change, 0))
  3. First average: simple mean of first 14 gains/losses
  4. Subsequent: AvgGain = (PrevAvgGain * 13 + CurrentGain) / 14  (Wilder smoothing)
  5. RS = AvgGain / AvgLoss
  6. RSI = 100 - (100 / (1 + RS))

Worked example (14-period):
  Avg Gain over 14 periods = 1.02
  Avg Loss over 14 periods = 0.68
  RS = 1.02 / 0.68 = 1.50
  RSI = 100 - (100 / (1 + 1.50)) = 100 - 40 = 60.0

Interpretation:

  • RSI < 30: Oversold territory (potential buy signal)
  • RSI > 70: Overbought territory (potential sell signal)
  • RSI = 50: Neutral — price momentum balanced

Advanced RSI Signals:

Signal Description Strength
Bearish divergence Price makes new high, RSI makes lower high Strong reversal warning
Bullish divergence Price makes new low, RSI makes higher low Strong reversal warning
Bullish failure swing RSI drops below 30, bounces, pulls back above 30, breaks prior RSI high Very strong buy
Bearish failure swing RSI rises above 70, drops, bounces below 70, breaks prior RSI low Very strong sell
Range shift RSI oscillates 40-80 in uptrend, 20-60 in downtrend Trend confirmation

Best practices: Never use RSI as a sole signal. Combine with trend direction (moving averages) and volume. In strong trends, RSI can stay overbought/oversold for extended periods.


MACD (Moving Average Convergence Divergence)

MACD Line   = EMA(12) - EMA(26)
Signal Line = EMA(9) of MACD Line
Histogram   = MACD Line - Signal Line

EMA formula: EMA(t) = Price(t) * k + EMA(t-1) * (1 - k)
Where: k = 2 / (N + 1)
  For EMA(12): k = 2/13 = 0.1538
  For EMA(26): k = 2/27 = 0.0741

Worked example:
  EMA(12) = 155.20
  EMA(26) = 152.80
  MACD Line = 155.20 - 152.80 = 2.40
  Previous Signal Line = 1.80
  Signal Line = 2.40 * (2/10) + 1.80 * (8/10) = 0.48 + 1.44 = 1.92
  Histogram = 2.40 - 1.92 = 0.48 (positive = bullish momentum increasing)

Interpretation:

Signal Condition Strength
Bullish crossover MACD crosses above Signal Line Moderate buy
Bearish crossover MACD crosses below Signal Line Moderate sell
Zero-line bullish cross MACD crosses above zero Trend change to bullish
Zero-line bearish cross MACD crosses below zero Trend change to bearish
Histogram expansion Bars growing taller Momentum accelerating
Histogram contraction Bars shrinking Momentum weakening, reversal may come
Bullish divergence Price new low, MACD higher low Strong reversal signal
Bearish divergence Price new high, MACD lower high Strong reversal signal

Bollinger Bands

Middle Band = SMA(20)
Upper Band  = SMA(20) + 2 * StdDev(20)
Lower Band  = SMA(20) - 2 * StdDev(20)
Bandwidth   = (Upper - Lower) / Middle
%B          = (Price - Lower) / (Upper - Lower)

Worked example:
  SMA(20) = 150.00
  StdDev(20) = 3.50
  Upper = 150.00 + 2 * 3.50 = 157.00
  Lower = 150.00 - 2 * 3.50 = 143.00
  Bandwidth = (157.00 - 143.00) / 150.00 = 0.0933 (9.33%)
  Current price = 155.00
  %B = (155.00 - 143.00) / (157.00 - 143.00) = 12/14 = 0.857
  Interpretation: Price is 85.7% of the way from lower to upper band — near upper band

Key Bollinger Band Signals:

Signal Condition Meaning
Squeeze Bandwidth at 6-month low Volatility contraction, big move imminent
Squeeze breakout up Price breaks above upper band after squeeze Strong bullish breakout
Squeeze breakout down Price breaks below lower band after squeeze Strong bearish breakout
Walking the upper band Price hugs upper band with middle band rising Strong uptrend — do NOT short
Walking the lower band Price hugs lower band with middle band falling Strong downtrend — do NOT buy
Mean reversion touch Price touches outer band, %B reverses Potential reversion to middle band
W-bottom Price hits lower band twice, second low has higher %B Bullish reversal pattern
M-top Price hits upper band twice, second high has lower %B Bearish reversal pattern

よくある質問

RSIとは何ですか?

RSIは0から100の勢いの指標で、30未満は売られすぎ、70より上は買われすぎと呼ばれます。

このスキルは自分で取引しますか?

より広いプロジェクトは自律的な市場の作業を扱いますが、このスキル自体は、指標、リスク、データ情報源の参考資料です。

どのデータ情報源を扱っていますか?

金融データの情報源と、市場へのアクセスのためのAlpaca APIに触れています。

詳細

作者による元の説明

Expert knowledge for autonomous market intelligence and trading — technical analysis, risk management, Alpaca API, financial data sources

repo: RightNow-AI/openfang

人気

GitHubのスター
18k
ランキング
#10660
ライセンス
Apache-2.0
更新日
2026/7/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル