This indicator, Moving Average Perfect Order Dashboard, is to literally show moving average perfect order status of 4 selected USD crosses; EURUSD, USDJPY, GBPUSD and AUDUSD on main chart as text.
One of the KSFs in markets is to follow trend. Moving average(MA) perfect order(PO) is one of the sings that markets signal when trends are occurring.
See more info on perfect order in my previously published script below.
3MA with Perfect Order Alert
To identify perfect order across multiple currency pairs, I have developed the dashboard where you can see perfect order status from 3 timeframes; Daily, 4 hour and 1 hour.
Due to the limited number of usages of security function in Pine script, I have selected 4 USD cross currency pairs as mentioned above as these are most traded currency pairs according to several sources that I have checked.
Functions: -To show 3 moving average with selection of SMA/EMA.(MAs can be hidden) -PO status is identified based on 3 MA period set on parameters. Bullish PO is when short, middle and long term MAs are in an ascending order and bearish PO is when long, middle and short term MAs are in a descending order.
-Dashboard shows status of PO depending on timeframe you open as follows:
Daily chart and above : Not displayed 4 hour chart: PO status of daily timeframe(4hour/1hour column will be blank) 1 hour chart: PO status of 4 hour and daily timeframe(1hour column will be blank) 30M/15M/5M: PO status of 1hour, 4hour and daily timeframe
Notes on parameters: MA periods: You have to input MA period as indicated by parameter: MA short, middle and long. If MA period does not match this length, PO status will not be shown properly.
Dashboard Position You can select either Top right or Bottom right where the dashboard is shown.
How Far is Dashboard From the Last Candlestick? This is to adjust the position of dashboard horizontally. The more you increase the number, the more the dashboard shifts toward right. My recommendation is 20-30.
Pine ScriptのSecurity関数の制約上、表示できる通貨数が限られています。 したがって、ダッシュボードの表示対象通貨ペアは前述の4つのドルストレート通貨ペアとしています。 これらは複数の情報ソースで世界中でもっとも取引されている通貨ペアとして扱われており、トレードする人も多いだろうという理由からです。
Updated to version5 and changed dashboard design with a table.
You can change the table color, text color and table width on the parameters settings. Also, cells are highlighted with green for ascending perfect order and red for descending perfect order.
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.