OPEN-SOURCE SCRIPT
Actualizado

Market Position Table

134
Market Position Table Indicator

Overview
The Market Position Table is a comprehensive multi-timeframe indicator that provides traders with an instant visual snapshot of market position relative to key technical indicators. This tool displays a clean, color-coded table directly on your chart, showing whether price is above or below critical moving averages, the Ichimoku Cloud, and whether the market is in a TTM Squeeze compression.

Key Features

Visual Status Dashboard

Real-time color coding: Green for bullish positioning (above), Red for bearish positioning (below/compressed)
Clean table display: Organized, easy-to-read format that doesn't clutter your chart
Customizable positioning: Place the table anywhere on your chart for optimal viewing

Technical Indicators Monitored

Four Moving Averages (20, 50, 100, 200 period)

Shows whether price is above or below each MA
Helps identify trend direction and strength

Ichimoku Cloud

Displays whether price is above, below, or inside the cloud
Gray color indicates price is within the cloud (neutral zone)

TTM Squeeze Indicator

Shows when the market is in compression (Squeeze ON = Red)
Alerts when the market is expanding (Squeeze OFF = Green)
Helps identify potential breakout opportunities

Flexible Customization
Moving Average Options:

Choose from 5 MA types: SMA, EMA, WMA, VWMA, HMA
Adjust all four MA periods to your preference
Default settings: 20, 50, 100, 200 periods

Timeframe Control:

Lock to Daily: View daily timeframe signals on any chart timeframe
Custom Timeframe: Select any specific timeframe for calculations
Chart Timeframe: Default behavior matches your current chart

Ichimoku Settings:

Customize Tenkan, Kijun, and Senkou B periods
Default: 9, 26, 52 (traditional settings)

Squeeze Settings:

Adjust Bollinger Band length and multiplier
Customize Keltner Channel length and multiplier
Fine-tune sensitivity to match your trading style

Visual Customization:

Table position: 9 placement options on your chart
Table size: Tiny, Small, Normal, or Large
Optional: Toggle MA plot lines on/off

Table Settings: Position and size
Moving Average Settings: Type and periods
Ichimoku Settings: Period adjustments
Squeeze Settings: BB and KC parameters
Timeframe Settings: Lock to daily or use custom timeframe

Interpretation
Moving Averages:

Green (ABOVE): Price is above the MA - bullish signal
Red (BELOW): Price is below the MA - bearish signal
Multiple green MAs indicate strong uptrend
Multiple red MAs indicate strong downtrend

Ichimoku Cloud:

Green (ABOVE): Price above cloud - bullish trend
Red (BELOW): Price below cloud - bearish trend
Gray (INSIDE): Price in cloud - consolidation/neutral

Squeeze Indicator:

Red (ON): Market is in compression - potential breakout setup
Green (OFF): Market is expanding - trend continuation or reversal in progress

Trading Applications
Trend Confirmation:

Use multiple green MAs + price above Ichimoku cloud to confirm strong uptrends
Use multiple red MAs + price below Ichimoku cloud to confirm strong downtrends

Breakout Trading:

Watch for Squeeze ON (red) as compression builds
When Squeeze turns OFF (green), look for directional breakout
Confirm direction with MA alignment

Multi-Timeframe Analysis:

Lock to daily timeframe while trading intraday charts
Ensure intraday trades align with daily trend direction
Example: Only take long setups on 15-min chart when daily shows green MAs

Support/Resistance:

Major MAs (50, 100, 200) often act as dynamic support/resistance
Watch for price reactions when testing these levels

Best Practices

Combine with Price Action: Use the table as confirmation alongside your chart analysis
Multi-Timeframe Confluence: Check that multiple timeframes align for higher probability setups
Don't Trade on Table Alone: Use this as one tool in your complete trading system
Customize to Your Strategy: Adjust MA types and periods to match your trading style
Monitor All Indicators: Look for alignment across all indicators for strongest signals

Tips for Optimal Use

Day Traders: Enable "Lock to Daily" to stay aligned with the daily trend while trading shorter timeframes
Swing Traders: Use default chart timeframe on daily or weekly charts
Trend Followers: Focus on MA alignment - all green or all red indicates strong trends
Breakout Traders: Watch the Squeeze indicator closely for compression/expansion cycles
Position Traders: Use longer MA periods (e.g., 50, 100, 150, 200) for smoother signals
Notas de prensa
# Market Position Table Indicator

## Overview

The Market Position Table is a comprehensive multi-timeframe indicator that provides traders with an instant visual snapshot of market position relative to key technical indicators. This tool displays a clean, color-coded table directly on your chart, showing whether price is above or below critical moving averages, the Ichimoku Cloud, and whether the market is in a TTM Squeeze compression.

## Key Features

### Visual Status Dashboard
- **Real-time color coding**: Green for bullish positioning (above), Red for bearish positioning (below/compressed)
- **Clean table display**: Organized, easy-to-read format that doesn't clutter your chart
- **Customizable positioning**: Place the table anywhere on your chart for optimal viewing

### Technical Indicators Monitored
1. **Four Moving Averages** (20, 50, 100, 200 period)
- Shows whether price is above or below each MA
- Helps identify trend direction and strength

2. **Ichimoku Cloud**
- Displays whether price is above, below, or inside the cloud
- Gray color indicates price is within the cloud (neutral zone)

3. **TTM Squeeze Indicator**
- Shows when the market is in compression (Squeeze ON = Red)
- Alerts when the market is expanding (Squeeze OFF = Green)
- Helps identify potential breakout opportunities

### Flexible Customization

**Moving Average Options:**
- Choose from 5 MA types: SMA, EMA, WMA, VWMA, HMA
- Adjust all four MA periods to your preference
- Default settings: 20, 50, 100, 200 periods

**Timeframe Control:**
- **Lock to Daily**: View daily timeframe signals on any chart timeframe
- **Custom Timeframe**: Select any specific timeframe for calculations
- **Chart Timeframe**: Default behavior matches your current chart

**Ichimoku Settings:**
- Customize Tenkan, Kijun, and Senkou B periods
- Default: 9, 26, 52 (traditional settings)

**Squeeze Settings:**
- Adjust Bollinger Band length and multiplier
- Customize Keltner Channel length and multiplier
- Fine-tune sensitivity to match your trading style

**Visual Customization:**
- Table position: 9 placement options on your chart
- Table size: Tiny, Small, Normal, or Large
- Optional: Toggle MA plot lines on/off

## How to Use

### Interpretation

**Moving Averages:**
- **Green (ABOVE)**: Price is above the MA - bullish signal
- **Red (BELOW)**: Price is below the MA - bearish signal
- Multiple green MAs indicate strong uptrend
- Multiple red MAs indicate strong downtrend

**Ichimoku Cloud:**
- **Green (ABOVE)**: Price above cloud - bullish trend
- **Red (BELOW)**: Price below cloud - bearish trend
- **Gray (INSIDE)**: Price in cloud - consolidation/neutral

**Squeeze Indicator:**
- **Red (YES)**: Market is in compression - potential breakout setup
- **Green (NO)**: Market is expanding - trend continuation or reversal in progress

### Trading Applications

**Trend Confirmation:**
- Use multiple green MAs + price above Ichimoku cloud to confirm strong uptrends
- Use multiple red MAs + price below Ichimoku cloud to confirm strong downtrends

**Breakout Trading:**
- Watch for Squeeze YES (red) as compression builds
- When Squeeze turns NO (green), look for directional breakout
- Confirm direction with MA alignment

**Multi-Timeframe Analysis:**
- Lock to daily timeframe while trading intraday charts
- Ensure intraday trades align with daily trend direction
- Example: Only take long setups on 15-min chart when daily shows green MAs

**Support/Resistance:**
- Major MAs (50, 100, 200) often act as dynamic support/resistance
- Watch for price reactions when testing these levels

### Best Practices

1. **Combine with Price Action**: Use the table as confirmation alongside your chart analysis
2. **Multi-Timeframe Confluence**: Check that multiple timeframes align for higher probability setups
3. **Don't Trade on Table Alone**: Use this as one tool in your complete trading system
4. **Customize to Your Strategy**: Adjust MA types and periods to match your trading style
5. **Monitor All Indicators**: Look for alignment across all indicators for strongest signals

## Tips for Optimal Use

- **Day Traders**: Enable "Lock to Daily" to stay aligned with the daily trend while trading shorter timeframes
- **Swing Traders**: Use default chart timeframe on daily or weekly charts
- **Trend Followers**: Focus on MA alignment - all green or all red indicates strong trends
- **Breakout Traders**: Watch the Squeeze indicator closely for compression/expansion cycles
- **Position Traders**: Use longer MA periods (e.g., 50, 100, 150, 200) for smoother signals

**Disclaimer**: This indicator is for informational and educational purposes only. It should not be considered financial advice. Always conduct your own research and risk management before making trading decisions.

Exención de responsabilidad

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.