TradingView · MT5 · MT4 · cTrader · Bookmap · NinjaTrader · Quantower · Sierra Chart · ProRealTime · GoCharting · MotiveWave · Vela · JForex · TradeStation · ATAS · AmiBroker · thinkorswim · Tradovate · backtrader · Backtesting.py · NautilusTraderMITRecipeレシピ

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このレシピのブロック

idtype
htfdata.higher_timeframe
emaindicator.ema
rsiindicator.rsi
rsi_oksignal.threshold
panelvisual.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 v61
MT5 · MQL52
cTrader · C#1
MT4 · MQL42
cTrader · Python4
Bookmap · Python4
NinjaTrader 8 · NinjaScript1
Quantower · C#4
Sierra Chart · ACSIL C++4
ProRealTime · ProBuilder4
GoCharting · Lipi4
MotiveWave · Java4
Vela · JavaScript4
JForex · Java7
TradeStation · EasyLanguage4
ATAS · C#4
AmiBroker · AFL0
thinkorswim · thinkScript0
Tradovate · JavaScript4
backtrader · Python0
Backtesting.py · Python0
NautilusTrader · Python0

How to use使い方

  1. 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).
  2. Paste the starter for your platform, compile it there and resolve every TODO marker.
  3. Or edit the recipe JSON and re-run the generator yourself.
  1. メール確認(無料)でレシピ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))を開きます。
  2. 使うプラットフォーム用のひな形を貼り付けてコンパイルし、TODOをすべて解消します。
  3. レシピ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 bytes
  • mtf-confirmation-panel.pine-v6.pine · 1262 bytes
  • mtf-confirmation-panel.mql5.mq5 · 3399 bytes
  • mtf-confirmation-panel.ctrader.cs · 3294 bytes
  • mtf-confirmation-panel.mql4.mq4 · 2588 bytes
  • mtf-confirmation-panel.ctrader-python.py · 1427 bytes
  • mtf-confirmation-panel.bookmap-python.py · 5232 bytes
  • mtf-confirmation-panel.ninjatrader.cs · 4119 bytes
  • mtf-confirmation-panel.quantower.cs · 1445 bytes
  • mtf-confirmation-panel.sierra-acsil.cpp · 1669 bytes
  • mtf-confirmation-panel.prorealtime.txt · 764 bytes
  • mtf-confirmation-panel.gocharting-lipi.lipi · 668 bytes
  • mtf-confirmation-panel.motivewave.java · 2326 bytes
  • mtf-confirmation-panel.vela.js · 6621 bytes
  • mtf-confirmation-panel.jforex.java · 3328 bytes
  • mtf-confirmation-panel.easylanguage.txt · 882 bytes
  • mtf-confirmation-panel.atas.cs · 2754 bytes
  • mtf-confirmation-panel.amibroker.afl · 2115 bytes
  • mtf-confirmation-panel.thinkscript.ts · 2445 bytes
  • mtf-confirmation-panel.tradovate.js · 1710 bytes
  • mtf-confirmation-panel.backtrader.py · 6085 bytes
  • mtf-confirmation-panel.backtesting-py.py · 7982 bytes
  • mtf-confirmation-panel.nautilus.py · 9759 bytes