OPEN-SOURCE SCRIPT
Mis à jour 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.
Notes de version
-Bug resolved New option added
-Use Todays open instead of yesterdays close for calculation
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
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
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
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
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.