OPEN-SOURCE SCRIPT
Güncellendi Major / Minor BIAS Dashboard

1. Purpose of the Script
The script is designed to provide a clear directional view of the Nasdaq/NQ market.
It is not intended to be used as an entry signal. Instead, it works as a higher-level directional filter.
That means the script does not tell you exactly when to enter a trade. It only shows whether the market currently favors long trades, short trades, or caution.
The basic idea is:
If the overall BIAS is Long, only look for long setups.
If the overall BIAS is Short, only look for short setups.
If the script shows Warning or Neutral, no standard trade should be taken.
This helps prevent trading against the broader market direction.
2. Structure of the Dashboard
The script displays a table directly on the chart.
The dashboard is divided into three main parts:
Major
The Major BIAS represents the higher-timeframe market direction.
Minor
The Minor BIAS represents the shorter-term or intraday market direction.
Overall
The Overall BIAS combines Major and Minor and shows whether there is a clear trading direction.
The table is intentionally simple. The first column shows whether the row refers to Major, Minor, or Overall. The middle column displays the current state: Long, Short, Neutral, or Warning. The right column displays a symbol.
A green circle represents Long.
A red circle represents Short.
A grey circle represents Neutral.
A warning symbol represents a conflicting market situation.
3. The Major BIAS
The Major BIAS is used to determine the higher-timeframe market direction.
It is built from several higher-timeframe components:
Daily BIAS
4H BIAS
Previous Day Filter
This means the script does not only check whether the market is moving up or down in the short term. It also checks whether the broader market structure supports that direction.
4. Daily BIAS
For the Daily BIAS, the script uses two exponential moving averages:
Fast EMA
Slow EMA
The default settings are:
Fast EMA: 20
Slow EMA: 50
The logic is simple:
If price is above both Daily EMAs, the Daily BIAS is considered Long.
If price is below both Daily EMAs, the Daily BIAS is considered Short.
If price is between both Daily EMAs, the Daily BIAS is considered Neutral.
There is also an optional ATR buffer.
This buffer prevents the script from switching to Long or Short just because price barely moves above or below the EMAs. As a result, the signal becomes smoother and less sensitive to small market noise.
5. 4H BIAS
The 4H BIAS works in the same way as the Daily BIAS.
It also uses two EMAs:
Fast EMA: 20
Slow EMA: 50
The 4H chart is important because it reacts faster than the Daily chart while still showing a higher-timeframe structure.
For Nasdaq/NQ, this is useful because the Daily chart can sometimes be too slow, while the 1H chart may contain too much short-term noise.
The 4H timeframe acts as a strong middle layer between the Daily trend and intraday movement.
6. Previous Day Filter
The script also includes a Previous Day Filter.
This filter looks at important levels from the previous trading day:
Previous Day High
Previous Day Low
Previous Day Close
Previous Day Mid
The Previous Day Mid is calculated as:
Previous Day High + Previous Day Low divided by 2
The filter can be adjusted. You can choose whether the script should compare price to:
Previous Day Mid
Previous Day Close
Previous Day Mid + Close
If price is above the selected previous-day level, this part of the filter is considered bullish.
If price is below the selected previous-day level, it is considered bearish.
This helps the script understand where the current market is trading compared to the previous day’s structure.
7. When Is the Major BIAS Long or Short?
The Major BIAS only turns Long when all active Major components are Long.
Example:
Daily BIAS: Long
4H BIAS: Long
Previous Day Filter: Long
Then the script shows:
Major: Long
If one of these components does not confirm the direction, Major will not be classified as Long.
The same logic applies to Short.
The Major BIAS only turns Short when all active Major components are Short.
Example:
Daily BIAS: Short
4H BIAS: Short
Previous Day Filter: Short
Then the script shows:
Major: Short
This logic is intentionally strict because Major is meant to act as the higher-timeframe directional filter.
8. The Minor BIAS
The Minor BIAS represents the shorter-term intraday direction.
It is used to check whether the current intraday structure confirms the higher-timeframe direction.
The Minor BIAS consists of three components:
1H BIAS
VWAP
Opening Range
This combination is especially useful for Nasdaq/NQ because the market often reacts strongly to VWAP, the cash open, and short-term trend structure.
9. 1H BIAS
The 1H BIAS also uses two EMAs.
Default settings:
Fast EMA: 20
Slow EMA: 50
The logic is the same:
If price is above both 1H EMAs, the 1H BIAS is Long.
If price is below both 1H EMAs, the 1H BIAS is Short.
If price is between both 1H EMAs, the 1H BIAS is Neutral.
The 1H BIAS is the main EMA-based component of the Minor BIAS because it reflects the shorter-term trading direction.
10. VWAP Filter
VWAP stands for Volume Weighted Average Price.
The script calculates the session VWAP.
In simple terms:
If price trades above VWAP, buyers are more likely in control.
If price trades below VWAP, sellers are more likely in control.
In the script, this means:
Price above VWAP = VWAP Long
Price below VWAP = VWAP Short
VWAP helps identify whether the market is trading above or below its intraday fair value.
11. Opening Range
The Opening Range is based on the first minutes after the US cash market opens.
By default, the script uses:
15:30 to 15:45 German time
During this period, the script stores:
Opening Range High
Opening Range Low
Opening Range Mid
After the Opening Range is completed, the script evaluates price in relation to the Opening Range Mid.
If price is above the Opening Range Mid, the Opening Range filter is considered Long.
If price is below the Opening Range Mid, the Opening Range filter is considered Short.
Before the Opening Range is completed, this filter is not fully active yet.
That means before 15:45 German time, the Minor BIAS may remain more cautious.
12. When Is the Minor BIAS Long or Short?
The Minor BIAS only turns Long when all active Minor components are Long.
Example:
1H BIAS: Long
VWAP: Long
Opening Range: Long
Then the script shows:
Minor: Long
If one of the components does not confirm the direction, Minor will not be classified as Long.
The same applies to Short:
1H BIAS: Short
VWAP: Short
Opening Range: Short
Then the script shows:
Minor: Short
If the components do not align, Minor remains Neutral.
13. Overall BIAS
The Overall BIAS combines Major and Minor.
The logic is strict and clear:
If Major is Long and Minor is Long, the Overall BIAS is Long.
If Major is Short and Minor is Short, the Overall BIAS is Short.
If Major is Neutral and Minor is Neutral, the Overall BIAS is Neutral.
All other combinations are shown as Warning.
That means:
Major Long + Minor Neutral = Warning
Major Short + Minor Neutral = Warning
Major Long + Minor Short = Warning
Major Short + Minor Long = Warning
The Warning state means the market is not clearly aligned.
14. Meaning for Trading
The script should be used as a trading filter.
If the Overall BIAS is Long, only long setups should be considered.
If the Overall BIAS is Short, only short setups should be considered.
If Warning is shown, no normal trade should be taken.
If Neutral is shown, there is no clear directional advantage.
The script does not replace an entry system. It only helps avoid trading against the clearer market direction.
A clean trading rule would be:
I only trade in the direction of the Overall BIAS.
The BIAS does not give me entries. It only defines the allowed trading direction.
The actual entry must come from my separate setup.
When the script shows Warning or Neutral, I do not take a standard trade.
15. Chart Visualization
The script can display several lines and zones on the chart.
These include:
Daily EMAs
4H EMAs
1H EMAs
VWAP
Opening Range High
Opening Range Low
Opening Range Mid
Previous Day Mid
Previous Day Close
The script also colors the area between the Fast EMA and Slow EMA.
These areas represent the neutral zones of each timeframe.
At the moment, the script can show three EMA zones:
Daily Neutral Zone
4H Neutral Zone
1H Neutral Zone
This is correct because the Major BIAS uses Daily and 4H, while the Minor BIAS uses 1H.
For practical use, however, it may be better not to display all zones at the same time, because the chart can become overloaded.
16. Recommended Visualization Settings
For a clean chart, I would not keep everything visible all the time.
A good setup would be:
Hide Daily EMAs
Show 4H EMAs
Show 1H EMAs
Show VWAP
Show Opening Range
Show Previous Day Levels
The Daily BIAS can still be used in the dashboard even if the Daily EMAs are hidden from the chart.
This keeps the chart cleaner while the full logic continues to work in the background.
17. Strengths of the Script
The script is especially useful for identifying clear trend conditions and focusing only on the correct trading direction.
It helps to:
Avoid countertrend trades.
Identify sideways or unclear market conditions.
Make warning situations visible.
Check direction consciously before entering a trade.
Avoid impulsive trades against the market.
For Nasdaq/NQ, this can be very helpful because the market often moves fast and aggressively. When Major and Minor both point in the same direction, setups in that direction are usually more interesting.
18. Limitations of the Script
The script also has clear limitations.
It does not tell you exactly where to enter.
It does not define your stop loss.
It does not define your position size.
It does not guarantee a profitable trade.
It can react late during fast market reversals.
This is normal because a BIAS system is always a filter, not a complete trading system.
The BIAS gives direction.
Your separate setup gives the entry.
19. Practical Trading Rules
For daily use, the rules can be kept simple:
Overall LONG:
Only look for long setups.
Overall SHORT:
Only look for short setups.
Overall WARNING:
Do not take a normal trade. The market is not clearly aligned.
Overall NEUTRAL:
Wait. There is no clear directional advantage.
These rules make the script useful because they simplify the decision-making process.
20. Conclusion
The script is a Major/Minor BIAS dashboard for Nasdaq/NQ.
It combines higher-timeframe trend structure, intraday levels, and strict confirmation logic.
The Major BIAS shows the broader market direction.
The Minor BIAS shows whether the short-term structure confirms that direction.
The Overall BIAS shows whether there is a clear trading direction.
The script is not designed as an entry signal. It is designed as a professional directional filter.
Its purpose is to help you trade only when Major and Minor are aligned.
This supports a more disciplined trading approach:
Not every market needs to be traded.
Not every move is a valid setup.
Only when the direction is clear should an entry setup be considered.
The script is designed to provide a clear directional view of the Nasdaq/NQ market.
It is not intended to be used as an entry signal. Instead, it works as a higher-level directional filter.
That means the script does not tell you exactly when to enter a trade. It only shows whether the market currently favors long trades, short trades, or caution.
The basic idea is:
If the overall BIAS is Long, only look for long setups.
If the overall BIAS is Short, only look for short setups.
If the script shows Warning or Neutral, no standard trade should be taken.
This helps prevent trading against the broader market direction.
2. Structure of the Dashboard
The script displays a table directly on the chart.
The dashboard is divided into three main parts:
Major
The Major BIAS represents the higher-timeframe market direction.
Minor
The Minor BIAS represents the shorter-term or intraday market direction.
Overall
The Overall BIAS combines Major and Minor and shows whether there is a clear trading direction.
The table is intentionally simple. The first column shows whether the row refers to Major, Minor, or Overall. The middle column displays the current state: Long, Short, Neutral, or Warning. The right column displays a symbol.
A green circle represents Long.
A red circle represents Short.
A grey circle represents Neutral.
A warning symbol represents a conflicting market situation.
3. The Major BIAS
The Major BIAS is used to determine the higher-timeframe market direction.
It is built from several higher-timeframe components:
Daily BIAS
4H BIAS
Previous Day Filter
This means the script does not only check whether the market is moving up or down in the short term. It also checks whether the broader market structure supports that direction.
4. Daily BIAS
For the Daily BIAS, the script uses two exponential moving averages:
Fast EMA
Slow EMA
The default settings are:
Fast EMA: 20
Slow EMA: 50
The logic is simple:
If price is above both Daily EMAs, the Daily BIAS is considered Long.
If price is below both Daily EMAs, the Daily BIAS is considered Short.
If price is between both Daily EMAs, the Daily BIAS is considered Neutral.
There is also an optional ATR buffer.
This buffer prevents the script from switching to Long or Short just because price barely moves above or below the EMAs. As a result, the signal becomes smoother and less sensitive to small market noise.
5. 4H BIAS
The 4H BIAS works in the same way as the Daily BIAS.
It also uses two EMAs:
Fast EMA: 20
Slow EMA: 50
The 4H chart is important because it reacts faster than the Daily chart while still showing a higher-timeframe structure.
For Nasdaq/NQ, this is useful because the Daily chart can sometimes be too slow, while the 1H chart may contain too much short-term noise.
The 4H timeframe acts as a strong middle layer between the Daily trend and intraday movement.
6. Previous Day Filter
The script also includes a Previous Day Filter.
This filter looks at important levels from the previous trading day:
Previous Day High
Previous Day Low
Previous Day Close
Previous Day Mid
The Previous Day Mid is calculated as:
Previous Day High + Previous Day Low divided by 2
The filter can be adjusted. You can choose whether the script should compare price to:
Previous Day Mid
Previous Day Close
Previous Day Mid + Close
If price is above the selected previous-day level, this part of the filter is considered bullish.
If price is below the selected previous-day level, it is considered bearish.
This helps the script understand where the current market is trading compared to the previous day’s structure.
7. When Is the Major BIAS Long or Short?
The Major BIAS only turns Long when all active Major components are Long.
Example:
Daily BIAS: Long
4H BIAS: Long
Previous Day Filter: Long
Then the script shows:
Major: Long
If one of these components does not confirm the direction, Major will not be classified as Long.
The same logic applies to Short.
The Major BIAS only turns Short when all active Major components are Short.
Example:
Daily BIAS: Short
4H BIAS: Short
Previous Day Filter: Short
Then the script shows:
Major: Short
This logic is intentionally strict because Major is meant to act as the higher-timeframe directional filter.
8. The Minor BIAS
The Minor BIAS represents the shorter-term intraday direction.
It is used to check whether the current intraday structure confirms the higher-timeframe direction.
The Minor BIAS consists of three components:
1H BIAS
VWAP
Opening Range
This combination is especially useful for Nasdaq/NQ because the market often reacts strongly to VWAP, the cash open, and short-term trend structure.
9. 1H BIAS
The 1H BIAS also uses two EMAs.
Default settings:
Fast EMA: 20
Slow EMA: 50
The logic is the same:
If price is above both 1H EMAs, the 1H BIAS is Long.
If price is below both 1H EMAs, the 1H BIAS is Short.
If price is between both 1H EMAs, the 1H BIAS is Neutral.
The 1H BIAS is the main EMA-based component of the Minor BIAS because it reflects the shorter-term trading direction.
10. VWAP Filter
VWAP stands for Volume Weighted Average Price.
The script calculates the session VWAP.
In simple terms:
If price trades above VWAP, buyers are more likely in control.
If price trades below VWAP, sellers are more likely in control.
In the script, this means:
Price above VWAP = VWAP Long
Price below VWAP = VWAP Short
VWAP helps identify whether the market is trading above or below its intraday fair value.
11. Opening Range
The Opening Range is based on the first minutes after the US cash market opens.
By default, the script uses:
15:30 to 15:45 German time
During this period, the script stores:
Opening Range High
Opening Range Low
Opening Range Mid
After the Opening Range is completed, the script evaluates price in relation to the Opening Range Mid.
If price is above the Opening Range Mid, the Opening Range filter is considered Long.
If price is below the Opening Range Mid, the Opening Range filter is considered Short.
Before the Opening Range is completed, this filter is not fully active yet.
That means before 15:45 German time, the Minor BIAS may remain more cautious.
12. When Is the Minor BIAS Long or Short?
The Minor BIAS only turns Long when all active Minor components are Long.
Example:
1H BIAS: Long
VWAP: Long
Opening Range: Long
Then the script shows:
Minor: Long
If one of the components does not confirm the direction, Minor will not be classified as Long.
The same applies to Short:
1H BIAS: Short
VWAP: Short
Opening Range: Short
Then the script shows:
Minor: Short
If the components do not align, Minor remains Neutral.
13. Overall BIAS
The Overall BIAS combines Major and Minor.
The logic is strict and clear:
If Major is Long and Minor is Long, the Overall BIAS is Long.
If Major is Short and Minor is Short, the Overall BIAS is Short.
If Major is Neutral and Minor is Neutral, the Overall BIAS is Neutral.
All other combinations are shown as Warning.
That means:
Major Long + Minor Neutral = Warning
Major Short + Minor Neutral = Warning
Major Long + Minor Short = Warning
Major Short + Minor Long = Warning
The Warning state means the market is not clearly aligned.
14. Meaning for Trading
The script should be used as a trading filter.
If the Overall BIAS is Long, only long setups should be considered.
If the Overall BIAS is Short, only short setups should be considered.
If Warning is shown, no normal trade should be taken.
If Neutral is shown, there is no clear directional advantage.
The script does not replace an entry system. It only helps avoid trading against the clearer market direction.
A clean trading rule would be:
I only trade in the direction of the Overall BIAS.
The BIAS does not give me entries. It only defines the allowed trading direction.
The actual entry must come from my separate setup.
When the script shows Warning or Neutral, I do not take a standard trade.
15. Chart Visualization
The script can display several lines and zones on the chart.
These include:
Daily EMAs
4H EMAs
1H EMAs
VWAP
Opening Range High
Opening Range Low
Opening Range Mid
Previous Day Mid
Previous Day Close
The script also colors the area between the Fast EMA and Slow EMA.
These areas represent the neutral zones of each timeframe.
At the moment, the script can show three EMA zones:
Daily Neutral Zone
4H Neutral Zone
1H Neutral Zone
This is correct because the Major BIAS uses Daily and 4H, while the Minor BIAS uses 1H.
For practical use, however, it may be better not to display all zones at the same time, because the chart can become overloaded.
16. Recommended Visualization Settings
For a clean chart, I would not keep everything visible all the time.
A good setup would be:
Hide Daily EMAs
Show 4H EMAs
Show 1H EMAs
Show VWAP
Show Opening Range
Show Previous Day Levels
The Daily BIAS can still be used in the dashboard even if the Daily EMAs are hidden from the chart.
This keeps the chart cleaner while the full logic continues to work in the background.
17. Strengths of the Script
The script is especially useful for identifying clear trend conditions and focusing only on the correct trading direction.
It helps to:
Avoid countertrend trades.
Identify sideways or unclear market conditions.
Make warning situations visible.
Check direction consciously before entering a trade.
Avoid impulsive trades against the market.
For Nasdaq/NQ, this can be very helpful because the market often moves fast and aggressively. When Major and Minor both point in the same direction, setups in that direction are usually more interesting.
18. Limitations of the Script
The script also has clear limitations.
It does not tell you exactly where to enter.
It does not define your stop loss.
It does not define your position size.
It does not guarantee a profitable trade.
It can react late during fast market reversals.
This is normal because a BIAS system is always a filter, not a complete trading system.
The BIAS gives direction.
Your separate setup gives the entry.
19. Practical Trading Rules
For daily use, the rules can be kept simple:
Overall LONG:
Only look for long setups.
Overall SHORT:
Only look for short setups.
Overall WARNING:
Do not take a normal trade. The market is not clearly aligned.
Overall NEUTRAL:
Wait. There is no clear directional advantage.
These rules make the script useful because they simplify the decision-making process.
20. Conclusion
The script is a Major/Minor BIAS dashboard for Nasdaq/NQ.
It combines higher-timeframe trend structure, intraday levels, and strict confirmation logic.
The Major BIAS shows the broader market direction.
The Minor BIAS shows whether the short-term structure confirms that direction.
The Overall BIAS shows whether there is a clear trading direction.
The script is not designed as an entry signal. It is designed as a professional directional filter.
Its purpose is to help you trade only when Major and Minor are aligned.
This supports a more disciplined trading approach:
Not every market needs to be traded.
Not every move is a valid setup.
Only when the direction is clear should an entry setup be considered.
Sürüm Notları
Ive changed the Dashboard language to english for a better use Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.