OPEN-SOURCE SCRIPT
Mis à jour

Perfect Order Alert USDJPY/BTCUSD/XAUUSD

7 431
Perfect Order Alert USDJPY/BTCUSD/XAUUSD 日本語解説は下記

This indicator detects the perfect order of three moving averages and displays on the Panel in an easy-to-understand visual manner whether there is an uptrend, downtrend, or non-trend for each time leg.

This indicator detects perfect orders for the three currency pairs USDJPY/BTCUSD/XAUUSD on the 5-minute, 15-minute, 1-hour, and 4-hour time frames, and displays them on the Panel on the chart, with “▲” for up, “▼” for down, and “ー” for non-trend, so that you can quickly determine the trend. The panel is displayed on the chart.

In order to check for perfect orders without missing them, it is also possible to set up alerts that notify you of all the time frames and currency pairs as well.



Functions

Displaying 4H, 1H, 15M, 5M, up (▲), down (▼), other (-), of USDJPY/BTCUSD/XAUUSD on the panel.
*(By default, 20EMA, 75EMA, and 200EMA are hidden.)

Display position setting of the panel (You can choose from upper left, upper top, upper right, lower left, lower bottom, or lower right).

Panel color and text color change function

The moving average line can be hidden by default.

Moving average period change

Moving average color and thickness can be changed.

EMA/SMA switchable

Alert function - One alert can be set for each currency pair and time frame ▲▼, which is very useful.

Perfect Order Alert
You can use it even if you have a free account with only one alert setting.
To use the alert function, go to the Tradingview default alert settings, select “USDJPY/BTCUSD/XAUUSD” for the top item of conditions, and select “Call Alert() function” in the frame just below it!



_* Supplementary explanation: ____________
Please note that due to the limitation of the script, only 3 currency pairs and 4 time frames are displayed with 12 items (Panels for currency pairs other than USDJPY/BTCUSD/XAUUSD are also created, but they are indicators for other scripts, so if you are interested in other currency pairs, please use those. If you are interested in other currency pairs, please use them.)

Please note that we may change the functions or delete the indicator itself without prior notice.

Translated with DeepL.com (free version)

Reference image of the setting screenReference image of the setting screen
設定画面参考画像
snapshot



3本の移動平均線のパーフェクトオーダーを検知し、時間足ごとに上昇トレンドか下降トレンドかノントレンドかを視覚的にわかりやすくPanelに表示するインジゲーターです。

このインジゲーターは、USDJPY/BTCUSD/XAUUSDの3通貨ペアの5分足、15分足、1時間足、4時間足のパーフェクトオーダーを検知して、チャートに表示されるPanelに、上昇は「▲」下降は「▼」ノントレンドは「ー」と、すぐに判断できる表示にしてあります。

パーフェクトオーダーを逃さずチェックできるように、それぞれの時間足や通貨ペアも全てを通知してくれるアラート設定が可能なのも特徴です。



機能紹介

・USDJPY/BTCUSD/XAUUSDの4H,1H,15M,5M,の上昇(▲),下降(▼),その他(-),をパネルに表示
※(デフォルトでは20EMA,75EMA,200EMAの3本で非表示にしてあります)

・パネルの表示位置設定(左上、上、右上、左下、下、右下、から選択できます。)

・パネルの色とテキスト色変更機能

・移動平均線表示非表示機能(デフォルトでは表示OFFにしてあります。)

・移動平均線期間変更

・移動平均線色と太さ変更

・EMA/SMA切り替え可能

・アラート機能ー1つのアラート設定で通貨ペアと時間足▲▼一つ一つを細かく教えてくれるので便利。

※パーフェクト オーダーアラート
無料アカウントで1つしかアラート設定できなくても使えます。
アラート機能はTradingviewデフォルトのアラート設定から、条件の一番上の項目を「USDJPY/BTCUSD/XAUUSD」選択、そのすぐ下の枠に「Alert()関数の呼び出し」を選択でOK!



_※ 補足説明____________
・スクリプトの制限の為、3通貨ペアと4つの時間足の12項目で表示させていますのでご了承ください
(USDJPY/BTCUSD/XAUUSD以外の通貨ペアのPanelも作成していますが別スクリプトのインジゲーターになりますので他の通貨ペアも興味がある方はそちらをお使いください)

・予告なしで機能の変更やインジゲーター自体の削除等行う事もあるかもなのでご了承ください。
Notes de version
Perfect Order Alert USDJPY/BTCUSD/XAUUSD – Change Summary

Pine Script was upgraded from version 5 to version 6.

Dashboard position can now be chosen from 9 positions (top / middle / bottom × left / center / right).

Color and text size of the dashboard are customizable (background color, text color, text size).

Symbols for each row are configurable (Symbol 1, 2, 3) and each row can be shown or hidden individually.

Timeframes TF1, TF2, TF3, TF4 are now set by input.timeframe, and displayed with a readable label (for example 5M, 1H, 4H, 1D).

Perfect order logic using 3 moving averages is kept, but the script now allows:
-configurable MA type (EMA / SMA) and periods
-optional display of the 3 MAs on the chart

Alerts are fired only when a new perfect order appears (when the state changes to bullish or bearish).

Alert controls were added:
-enable / disable alert per symbol (Symbol 1, 2, 3)
-enable / disable alert per timeframe (TF1–TF4)

An alert usage guide was added as a tooltip in the “Alert Enable Settings” group, explaining how to set “Call the Alert() function” in TradingView’s alert dialog.

Setting groups were reorganized and decorated, and the message “ーI am lucky. ✨ー” was added to the Dashboard group as a small good-luck phrase for users.


Perfect Order Alert USDJPY/BTCUSD/XAUUSD – 変更内容まとめ

Pine Script のバージョンを v5 から v6 に更新しました。

ダッシュボードの表示位置を、上下左右と中央を組み合わせた 9 箇所から選べるようにしました。

ダッシュボードの背景色、文字色、文字サイズを変更できるようにしました。

行ごとに通貨ペアを自由に設定できるようにし、Symbol 1 / 2 / 3 の各行を個別に表示・非表示できるようにしました。

-TF1、TF2、TF3、TF4 を input.timeframe で自由に設定できるようにし、5M、1H、4H、1D のように読みやすい時間足表記でダッシュボードに表示するようにしました。

-3 本の移動平均によるパーフェクトオーダー判定ロジックはそのまま維持しつつ、MA の種類(EMA / SMA)や期間を設定画面から変更できるようにしました。チャート上に 3 本の MA を任意で表示する機能も追加しています。

アラートは、パーフェクトオーダーになった瞬間(状態が新しく ▲ または ▼ になったとき)だけ鳴る仕様です。

アラート制御として、以下を追加しました。
-シンボルごとのアラート ON / OFF(Symbol 1, 2, 3)
-時間足ごとのアラート ON / OFF(TF1〜TF4)

「Alert Enable Settings」グループ内にツールチップ付きのガイドを追加し、TradingView のアラート画面で「USDJPY/BTCUSD/XAUUSD」を選び、「Alert()関数の呼び出し」を指定する手順を説明しています。

設定画面のグループ構成を整理し、Dashboard Position グループ名の中に「ーI am lucky. ✨ー」というゲン担ぎの一言を追加しました。

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.