Higher-Timeframe Confirmation Panel
Higher-timeframe EMA/RSI context with a compact status panel.
上位足のEMA・RSIの状態を小さなパネルで確認します。
Structure reviewed — not runtime tested構造のみ確認・実行検証なし ORIGINAL BSV SOURCE
Open code — free email verificationメール確認してコードを開く(無料)
Summaries are public. Viewing, copying and downloading BSV-provided source requires free email verification.解説は登録なしで読めます。BSVが提供するコードの閲覧・コピー・ダウンロードには無料のメール確認が必要です。
Blocks in this recipeこのレシピのブロック
| id | type |
|---|---|
htf | data.higher_timeframe |
ema | indicator.ema |
rsi | indicator.rsi |
rsi_ok | signal.threshold |
panel | visual.table |
Higher timeframe: where it is computed上位足:計算する出力先
Blocks marked with a higher timeframe are computed from closed higher-timeframe bars only (no repaint, no lookahead) on backtrader · Python, Backtesting.py · Python, NautilusTrader · Python, checked by BSV inside those libraries on synthetic bars. On TradingView · Pine v6, MT5 · MQL5, cTrader · C#, MT4 · MQL4, NinjaTrader 8 · NinjaScript, AmiBroker · AFL, thinkorswim · thinkScript they read the last closed higher-timeframe bar with each platform's officially documented idiom (Pine: request.security with expr[1] and lookahead_on; MQL5/MQL4: iBarShift + 1; NinjaTrader: AddDataSeries with Calculate.OnBarClose), and stop with an error when the chart timeframe is not lower. BSV checks that pattern statically but cannot run those platforms (UNTESTED_RUNTIME): compile and compare on your platform. On the other 12 targets they are left as unsupported stubs with a TODO line (empty value, false signal), never computed on the chart timeframe.上位足を指定したブロックは、backtrader · Python・Backtesting.py · Python・NautilusTrader · Python では確定した上位足だけから計算します(描き直し・先読みなし。BSVがそれぞれのライブラリ内で合成データを使って確認)。TradingView · Pine v6・MT5 · MQL5・cTrader · C#・MT4 · MQL4・NinjaTrader 8 · NinjaScript・AmiBroker · AFL・thinkorswim · thinkScript では、各プラットフォームの公式ドキュメントにある方法(Pine:expr[1]とlookahead_onを付けたrequest.security、MQL5/MQL4:iBarShift+1、NinjaTrader:Calculate.OnBarCloseでのAddDataSeries)で直前に確定した上位足を読み、表示中の足が上位足より短くなければエラーで止まります。BSVはこの形を静的に確認していますが、これらのプラットフォームでは実行していません(UNTESTED_RUNTIME)。ご自身の環境でコンパイルして確かめてください。ほかの12の出力先では、TODO付きの未対応スタブ(値は空、シグナルはfalse)のままにしており、表示中の足で計算することはありません。
Correction (2026-10-04): earlier starters for this recipe computed these blocks on the chart timeframe without saying so. Download the starters again.訂正(2026-10-04):このレシピの以前のひな形は、何の注記もなくこれらのブロックを表示中の足で計算していました。ひな形をダウンロードし直してください。 coverage.json
Pre-generated starters生成済みのひな形
Generated by the BSV generator from this recipe. TODO markers are blocks the target cannot express yet — resolve them before use.このレシピからBSVジェネレーターで生成しました。TODOは出力先でまだ表現できないブロックです。使う前に解消してください。
| Target出力先 | TODO markersTODOの数 |
|---|---|
| TradingView · Pine v6 | 1 |
| MT5 · MQL5 | 2 |
| cTrader · C# | 1 |
| MT4 · MQL4 | 2 |
| cTrader · Python | 4 |
| Bookmap · Python | 4 |
| NinjaTrader 8 · NinjaScript | 1 |
| Quantower · C# | 4 |
| Sierra Chart · ACSIL C++ | 4 |
| ProRealTime · ProBuilder | 4 |
| GoCharting · Lipi | 4 |
| MotiveWave · Java | 4 |
| Vela · JavaScript | 4 |
| JForex · Java | 7 |
| TradeStation · EasyLanguage | 4 |
| ATAS · C# | 4 |
| AmiBroker · AFL | 0 |
| thinkorswim · thinkScript | 0 |
| Tradovate · JavaScript | 4 |
| backtrader · Python | 0 |
| Backtesting.py · Python | 0 |
| NautilusTrader · Python | 0 |
How to use使い方
- Open code (free email verification) to get the recipe JSON and twenty-two pre-generated starters (Pine v6, MQL5, MQL4, cTrader C#, cTrader Python, Bookmap Python, NinjaTrader 8, Quantower, Sierra Chart ACSIL, ProRealTime, GoCharting Lipi, MotiveWave Java, Vela JavaScript, JForex Java, TradeStation EasyLanguage, ATAS C#, AmiBroker AFL, thinkorswim thinkScript, Tradovate JavaScript, backtrader Python, Backtesting.py Python, NautilusTrader Python).
- Paste the starter for your platform, compile it there and resolve every TODO marker.
- Or edit the recipe JSON and re-run the generator yourself.
- メール確認(無料)でレシピJSONと生成済みのひな形22種類(Pine v6・MQL5・MQL4・cTrader C#・cTrader Python・Bookmap Python・NinjaTrader 8・Quantower・Sierra Chart(ACSIL)・ProRealTime・GoCharting(Lipi)・MotiveWave(Java)・Vela(JavaScript)・JForex(Java)・TradeStation(EasyLanguage)・ATAS(C#)・AmiBroker(AFL)・thinkorswim(thinkScript)・Tradovate(JavaScript)・backtrader(Python)・Backtesting.py(Python)・NautilusTrader(Python))を開きます。
- 使うプラットフォーム用のひな形を貼り付けてコンパイルし、TODOをすべて解消します。
- レシピJSONを編集してジェネレーターを自分で実行し直すこともできます。
Verification scope確認の範囲
| Source出典 | ORIGINAL BSV source, MIT licenseBSVオリジナルのソース・MITライセンス |
| Catalog statusカタログ上の状態 | Structure reviewed — not runtime tested構造のみ確認・実行検証なし |
| Compile / build on the platformプラットフォームでのコンパイル・ビルド | Not performed by BSVBSVでは未実施 |
| Backtest / demo / live runバックテスト・デモ・実運用 | Not performed未実施 |
| Order placement発注機能 | None — visual/alert starter onlyなし(表示・アラートのみ) |
Filesファイル
mtf-confirmation-panel.json · 1024 bytesmtf-confirmation-panel.pine-v6.pine · 1262 bytesmtf-confirmation-panel.mql5.mq5 · 3399 bytesmtf-confirmation-panel.ctrader.cs · 3294 bytesmtf-confirmation-panel.mql4.mq4 · 2588 bytesmtf-confirmation-panel.ctrader-python.py · 1427 bytesmtf-confirmation-panel.bookmap-python.py · 5232 bytesmtf-confirmation-panel.ninjatrader.cs · 4119 bytesmtf-confirmation-panel.quantower.cs · 1445 bytesmtf-confirmation-panel.sierra-acsil.cpp · 1669 bytesmtf-confirmation-panel.prorealtime.txt · 764 bytesmtf-confirmation-panel.gocharting-lipi.lipi · 668 bytesmtf-confirmation-panel.motivewave.java · 2326 bytesmtf-confirmation-panel.vela.js · 6621 bytesmtf-confirmation-panel.jforex.java · 3328 bytesmtf-confirmation-panel.easylanguage.txt · 882 bytesmtf-confirmation-panel.atas.cs · 2754 bytesmtf-confirmation-panel.amibroker.afl · 2115 bytesmtf-confirmation-panel.thinkscript.ts · 2445 bytesmtf-confirmation-panel.tradovate.js · 1710 bytesmtf-confirmation-panel.backtrader.py · 6085 bytesmtf-confirmation-panel.backtesting-py.py · 7982 bytesmtf-confirmation-panel.nautilus.py · 9759 bytes