OPEN-SOURCE SCRIPT
Cập nhật Global Trend [BEA]

Do you Ever Wonder How world Market/indices are Performing Before your Market Open?
This indicator consist of 30 Major global indices and 10 local Indices which will help you get a idea of the direction of the global markets. So basically I have calculate the % change for each bar, then I am calculating the weightage of positive change with respect to total % change for all four markets separately .
How to use this indicator?
As per my experience , each regional market will follow the global trend , so I think the the local markets will tends to converge towards the average of all four market trend ( I am situated in Asia , so you need to do your own research before using this indicator )
Following four markets are being plotted :
I have provided inputs to select the indices , you can change the local index as per your location.
You can choose whichever market trend you want to display.
In the following image i have selected the American market and Local market

In the following image i have selected the American market and Local market

Sources & refences :
Big thank to pinecoders.com/faq_and_code/ and kodify.net
DISCLAIMER
Any and all liability for risks resulting from investment transactions or other asset dispositions carried out by the user based on information received or a market analysis is expressly excluded by me.
All the information made available here is generally provided to serve as an example only, without obligation and without specific recommendations for action. It does not constitute and cannot replace investment advice. We therefore recommend that you contact your personal financial advisor before carrying out specific transactions and investments.
Do your own research, This is not a financial advice.
This indicator consist of 30 Major global indices and 10 local Indices which will help you get a idea of the direction of the global markets. So basically I have calculate the % change for each bar, then I am calculating the weightage of positive change with respect to total % change for all four markets separately .
How to use this indicator?
As per my experience , each regional market will follow the global trend , so I think the the local markets will tends to converge towards the average of all four market trend ( I am situated in Asia , so you need to do your own research before using this indicator )
Following four markets are being plotted :
- American Market
- Asian Market
- European Market
- Local Market
I have provided inputs to select the indices , you can change the local index as per your location.
You can choose whichever market trend you want to display.
In the following image i have selected the American market and Local market
In the following image i have selected the American market and Local market
Sources & refences :
Big thank to pinecoders.com/faq_and_code/ and kodify.net
DISCLAIMER
Any and all liability for risks resulting from investment transactions or other asset dispositions carried out by the user based on information received or a market analysis is expressly excluded by me.
All the information made available here is generally provided to serve as an example only, without obligation and without specific recommendations for action. It does not constitute and cannot replace investment advice. We therefore recommend that you contact your personal financial advisor before carrying out specific transactions and investments.
Do your own research, This is not a financial advice.
Phát hành các Ghi chú
-Bug resolved New option added
-Use Todays open instead of yesterdays close for calculation
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Learning to trade and coding my strategies in Pine Script. Passing Prop Firms. DM me for any inquiries. moneyflock
Buy me coffee at:
paypal : tabrejalam786007@gmail.com
BTC : 15zY6PUsrV55UQvcfaSqk5hJexKZAwhpcK
Buy me coffee at:
paypal : tabrejalam786007@gmail.com
BTC : 15zY6PUsrV55UQvcfaSqk5hJexKZAwhpcK
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Learning to trade and coding my strategies in Pine Script. Passing Prop Firms. DM me for any inquiries. moneyflock
Buy me coffee at:
paypal : tabrejalam786007@gmail.com
BTC : 15zY6PUsrV55UQvcfaSqk5hJexKZAwhpcK
Buy me coffee at:
paypal : tabrejalam786007@gmail.com
BTC : 15zY6PUsrV55UQvcfaSqk5hJexKZAwhpcK
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.