Indicator

Indicator

Indicator

Indicator

clock_sync🕐 Clock Sync
A lightweight utility indicator that detects time synchronization issues between your local PC clock and the exchange server.
How it works:
On a 1-minute chart, the indicator compares the timestamp of the latest candle against your local system time. If the two don't match, a red clock emoji appears above the bar, alerting you to a potential desync. If your clock is in sync, nothing is displayed.
Why it matters:
Time mismatches can cause problems for traders who rely on precise execution timing, scheduled entries, or automation scripts. Even a one-minute drift can lead to unexpected behavior in time-sensitive strategies. This indicator gives you a quick visual confirmation that your clock is in sync with the exchange.
Settings:
- 24/7 Mode: Check this box to run the sync check continuously, ignoring the time window.
- Timezone: Select your local timezone from a list of major zones worldwide. Defaults to America/Los_Angeles.
- Start Hour / Start Minute: The time the sync check becomes active. Defaults to 00:00 (midnight).
- End Hour / End Minute: The time the sync check stops. Defaults to 06:28 AM.
- The time window supports overnight ranges (e.g., start at 22:00, end at 06:00).
Usage:
- Apply to any 1-minute chart.
- Configure your timezone and the hours you want monitoring active.
- If no emoji appears, your clock is synced or you are outside the active window.
- If a red clock label appears on the latest bar, your local time is out of sync with the exchange.
- Enable 24/7 Mode if you want continuous monitoring regardless of time of day.
Notes:
- Only active on 1-minute timeframes.
- Only evaluates the most recent (last) bar.
- Outside the configured time window, the indicator does nothing.
- Useful as a diagnostic tool alongside automated or time-based trading systems. Indicator

High-Probability Entry System by Dahhans,DfirstX🎯 WHAT IT DOES
This indicator combines 4 different factors to identify high-probability trade entries. It only shows a signal when ALL conditions align, filtering out weak setups.
🔧 HOW IT WORKS (4 FACTORS)
| Factor | What It Measures | Long Signal | Short Signal |
| --------------- | --------------------- | ---------------------------- | -------------------------------- |
| 1. Trend | Price vs 50 EMA | Price > 50 EMA ✅ | Price < 50 EMA ✅ |
| 2. EMA Cross | 9 EMA crossing 21 EMA | 9 crosses ABOVE 21 ✅ | 9 crosses BELOW 21 ✅ |
| 3. RSI Momentum | RSI direction | RSI turning UP from oversold | RSI turning DOWN from overbought |
| 4. Confirmation | Price vs both EMAs | Price > both EMAs | Price < both EMAs |
📈 VISUALS
| Visual | Meaning |
| ---------------- | --------------------------------------------- |
| Green Background | Uptrend (price above 50 EMA) |
| Red Background | Downtrend (price below 50 EMA) |
| BUY Label | All 4 conditions met - high probability long |
| SELL Label | All 4 conditions met - high probability short |
| Red Line | Stop loss level |
| Blue Line | 9 EMA (fast) |
| Red Line | 21 EMA (slow) |
| Orange Line | 50 EMA (trend) |
🎯 SCORE SYSTEM (0-4)
| Score | Meaning |
| ----- | -------------------------------------- |
| 4/4 | Perfect alignment - HIGH probability |
| 3/4 | Strong setup - good to trade |
| 2/4 | Weak setup - avoid or smaller position |
| 0-1/4 | No trade |
Only trade when score is 3 or 4.
🛑 RISK MANAGEMENT
• Stop Loss: Automatically calculated using ATR (2x ATR below entry for longs)
• Position Sizing: Risk 1-2% per trade
• Never trade against the trend
⚠️ WHEN IT FAILS
| Market Condition | Why It Fails |
| ---------------- | ------------------------------------ |
| Sideways/Choppy | EMA crosses but no trend |
| Low Volume | Signals but no follow-through |
| News Events | Gap moves skip stop loss |
| Over-optimized | Works on historical data, not future |
📋 EXAMPLE TRADE
BTC at $67,000
├── Price > 50 EMA ($65,000) ✅ TREND
├── 9 EMA crosses above 21 EMA ✅ CROSS
├── RSI turning up from 35 ✅ MOMENTUM
└── Price > both EMAs ✅ CONFIRMATION
RESULT: BUY signal at $67,000
STOP: $64,500 (2x ATR)
TARGET: $70,000+
🎯 BEST TIMEFRAMES
| Timeframe | Quality |
| --------- | -------------------------------- |
| Daily | Best signals (less noise) |
| 4H | Good balance |
| 1H | More signals, more false signals |
📚 KEY CONCEPTS USED
| Concept | Explanation |
| ------------- | ------------------------------------------------------ |
| EMA (9/21/50) | Moving averages - 9 is fast, 21 is medium, 50 is trend |
| RSI | Momentum oscillator - measures overbought/oversold |
| ATR | Volatility measure - used for stop loss |
| Confluence | Multiple factors agreeing = higher probability |
This indicator is designed to filter out noise and only show you trades when the odds are in your favor.
Indicator

Indicator

Geopbytech Risk Based Lots Calculator📊 Geopbytech – Risk Based Lots Calculator
Built by Juan C. Delgado
A lightweight and fast position size calculator designed to help traders determine optimal lot size directly from the PulseWire chart.
No more switching to external websites during live execution.
Simply input:
Account Size (USD)
Risk Ratio %
Stop-Loss distance (pips or points)
The tool instantly calculates the correct lot size based on proper risk management.
🔹 How It Works
The calculator determines:
Risk ($) = Account Size × Risk %
Lot Size = Risk ($) ÷ (Stop-Loss Units × $ Value per Unit per 1 Lot)
Everything updates instantly as you change values.
🔹 Example
Account Size Risk % Stop Loss Result
$10,000 1% 20 pips 0.50 lots
$5,000 1% 15 pips 0.33 lots
$8,000 2% 30 pips 0.53 lots
🔹 Default Configuration (Forex – EURUSD)
By default, the script is optimized for standard Forex pairs like EURUSD.
You only need to:
Enter Account Size
Enter Risk %
Enter Stop-Loss in pips
The script automatically calculates pip value using standard 100,000 contract size.
🔹 Trading Gold (XAUUSD)
If you are trading Gold:
Enable:
✔ Override $ per unit (non-FX)
Then adjust:
• Override $ per 1 unit per 1 lot
(or use Custom Unit Size if needed depending on broker specification)
Because gold brokers may use different contract sizes.
🔹 Trading Indices
For indices (NAS100, US30, SPX, etc.):
You can:
• Leave override OFF (if PulseWire provides correct point value)
OR
• Enable Override and manually define $ value per point per lot
Depends on your broker's contract specification.
🔹 Trading Cross Pairs (GBPJPY, EURJPY, etc.)
For Forex crosses:
Leave override OFF.
If calculation warning appears:
Adjust "Custom Unit Size" to match correct pip structure.
Example:
GBPJPY may require adjusting unit size depending on feed.
🔹 Inputs Explained
Account Size (USD)
Your total trading account balance.
Risk Ratio %
Percentage of account you are willing to lose per trade.
(Example: 1% = disciplined risk management)
Stop-Loss (pips / points)
Distance from entry to stop loss.
This must match what you use in the PulseWire position tool.
Custom Unit Size (price)
Advanced setting.
Used when your symbol does not follow standard pip or tick logic.
You define how much price movement equals 1 unit.
FX Contract Size
Default: 100,000 (standard lot in Forex).
Only change if your broker uses non-standard contract sizes.
🎨 UI Customization
You can customize:
• Theme (Dark / Light / Midnight)
• Dashboard Position
• Transparency
• Text Size
• Warning visibility
⚠️ Important Notes
This tool calculates position size based on PulseWire symbol specifications.
Broker contract sizes may vary.
Always verify:
Pip value
Contract size
Margin requirements
Final order size
Before placing a live trade.
⚠️ Disclaimer
This tool is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or trading recommendations.
Trading involves substantial risk and may result in loss of capital.
Use at your own risk.
👤 Author
Built by Juan C. Delgado
Geopbytech Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Interactive TA↕️ Interactive TA is a proof-of-concept indicator that enables moving average selection directly on the chart through an interactive selector, without opening the settings panel. Drag the selector marker vertically to switch between SMA, EMA, VWMA, HMA, and DEMA — the selected moving average updates on the price overlay in real time. Built as an educational framework for interactive technical analysis in PineScript, the indicator demonstrates how PulseWire's price input can be repurposed as a draggable on-chart control, establishing a template for developers to build interactive indicators, dashboards, and selection tools beyond what PineScript natively offers.
💡 CONCEPT 💡
PineScript currently offers no command buttons, toggles, or selection controls that operate directly on the chart. All indicator configuration is handled through the settings panel, requiring the user to open a dialog, adjust values, and close it before seeing the result. This workflow, while functional, interrupts the analytical process and disconnects the user from the chart during configuration changes.
Interactive TA demonstrates a workaround to this limitation. The indicator uses input.price — a PineScript function originally designed for anchoring price levels on a chart — as a vertically draggable selector. By mapping the vertical position of this price input to discrete zones, each corresponding to a different moving average type, the indicator transforms a simple price anchor into a functional control element.
The lower pane of the chart serves as the control surface. A selector marker is displayed with labeled zones on the right side, each representing a moving average type (SMA, EMA, VWMA, HMA, DEMA). The currently active zone is highlighted, and the selected moving average is plotted on the upper price chart using force_overlay , with its type and length displayed in the top-right corner. Dragging the selector marker into a different zone immediately switches the active moving average in real time.
This approach demonstrates that interactive technical analysis — where chart elements respond to direct user manipulation rather than static settings — is achievable within PineScript's existing capabilities. The moving average selector is intentionally simple; it exists to illustrate the interactive pattern itself, which can be extended to virtually any indicator parameter or selection logic.
🔶 HOW TO USE 🔶
Add the indicator to your chart. The lower pane displays the selector with labeled zones, and the upper chart displays the currently selected moving average.
Click and drag the orange selector marker up or down to move it into the zone of the desired moving average type.
Release the drag. The moving average on the upper chart updates immediately to reflect the new selection. Interactive Selector : The arrows indicate the drag points where the user can click and slide the selector line vertically to switch between moving average types. The currently selected type (VWMA) is highlighted in orange, and the corresponding moving average is plotted on the upper chart.
Pane sizing: The lower pane can be resized by dragging the horizontal divider between the upper and lower panes. This allows the user to adjust the vertical spacing of the zone labels for comfort and readability. Making the lower pane taller spreads the labels out; making it shorter compresses them. This is standard PulseWire behavior and provides an additional layer of visual customization.
Pane scale: The numeric values on the lower pane's vertical axis are internal zone coordinates used for selector positioning and do not represent price.
🛠️ SETTINGS 🛠️
MA Length : Sets the period for the moving average calculation. Default is 50.
MA Color : Sets the color of the moving average line on the upper chart.
Selector Color : Sets the color of the selector pointer, zone highlight, and the type label on the upper chart.
Auto-Generated By PineScript : System input created by the interactive selector. No adjustment needed.
🔑 PRACTICAL ADVANTAGES 🔑
The ability to adjust indicator parameters directly on the chart, without leaving the visual context of price action, offers practical advantages for technical analysis:
Rapid comparison. Switching between moving average types to evaluate their behavior on the same price action takes a single drag gesture rather than multiple clicks through the settings panel. This enables quick side-by-side evaluation of how different calculations respond to the same market conditions.
Reduced context switching. Opening the settings dialog shifts attention away from the chart. Interactive controls keep the analyst's focus on price action while making adjustments, preserving the visual continuity of the analysis.
Faster live workflow. During active market sessions, the difference between a one-second drag and a multi-step settings change can affect the pace of analysis. Interactive controls compress the decision-to-observation cycle.
Education and presentation. When demonstrating technical analysis concepts to others, the ability to switch between indicator types in real time — visibly, on the chart — is more effective than toggling settings behind a dialog. The audience sees the change happen, which reinforces understanding of how different indicators behave.
Exploration. Interactive controls lower the friction of experimentation. When switching between options is effortless, analysts are more likely to explore alternatives they might otherwise skip, potentially discovering indicator configurations better suited to current market conditions.
DEMA (50) : Selected via the interactive slider. The selector is positioned in the DEMA zone, with the corresponding label highlighted and the double exponential moving average plotted on the upper chart. EMA (50) : Selected on the same chart and timeframe. The selector has been dragged to the EMA zone, switching the overlay without changing any settings. Comparing the two charts reveals how the EMA responds differently to the same price action.
🔮 EXPANDING THE CONCEPT 🔮
Interactive TA is released as a proof of concept and an open invitation to the PineScript development community. The interactive pattern demonstrated here — mapping a draggable price input to discrete zones that drive indicator logic — is not limited to moving average selection. The same framework can be adapted to control virtually any aspect of a technical analysis tool.
Timeframe or source selection controlled by an on-chart slider
Strategy mode switching between parameter presets
Alert threshold adjustment through direct chart interaction
Multi-indicator dashboards where a single control determines which overlay is visible
Sensitivity or risk level tuning without opening settings
These are starting points, not boundaries. The framework is deliberately generic — a draggable position mapped to an array of options — and developers are encouraged to extend it in directions not anticipated here. As the community explores and builds upon this workaround, the case for native support becomes increasingly evident. Definable slider ranges, anchored control elements, minimum and maximum value constraints, step intervals, and discrete input types would significantly expand the potential for building interactive analytical tools in PineScript.
⚠️ NOTE ⚠️
Interactive TA is a proof-of-concept indicator designed for educational purposes and as a development framework. It demonstrates an innovative approach to on-chart interactivity in PineScript and is intended to serve as a template for further development by the community. The included moving average selector is a demonstration of the interactive pattern, not a standalone trading tool. It is not intended as financial advice or a trading signal generator. Users and developers are encouraged to adapt, extend, and build upon this framework to suit their own analytical needs. Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Martingale Grid BotMartingale Grid Bot (MGB)
The strategy is designed to test grid trading with a possible increase in the size of each subsequent order based on the martingale principle. The strategy itself does not contain any trade decision logic and is fully driven by external signals coming from indicators used on the chart. A new grid of orders is created when an entry signal is received, provided that there is no active grid.
❗ Warning
Trading with leverage and martingale involves increased risk. This strategy is a rather rough tool and is intended for testing purposes only. The author is not responsible for any possible discrepancies between the strategy results and real trading.
Settings
Direction - Trading direction. Possible values: Long and Short.
Entry Signal Source - Source of the entry signal that initiates the creation of a new order grid. If one of the price sources (open, high, low, close, etc.) is selected, a new grid will be created automatically after the previous grid is fully closed.
Start Time - Date and time when the strategy starts operating. Marked on the chart with a vertical dashed line.
No Repainting Mode - A mode intended to reduce discrepancies between historical and real-time strategy behavior (repainting).
Enabled — a new grid is created only after the bar is closed. The first order can be filled no earlier than on the next bar.
Disabled — in real-time, a new grid can be created immediately upon receiving a signal or after the previous grid is closed by take profit or stop loss.
❗ Attention
For correct real-time operation, recalculation on every tick must be enabled in the strategy settings.
GRID
Grid Depth % - The depth of the order grid, specified as a percentage of the closing price at the moment the grid is created.
Orders Count - The number of orders in the grid. The first order is placed at the current closing price at the time of grid creation.
Martingale Multiplier - Position size multiplier. Each subsequent order in the grid will be increased by this factor. The size of the first order is defined in the strategy settings.
Leverage - Leverage multiplier for margin trading. Used to check available funds when creating grid orders. It is recommended to use it together with the margin parameters in the strategy settings.
Take Profit % - Calculated on each strategy update based on the average entry price. If none of the grid orders have been filled yet, the take-profit level for the first order is displayed on the chart.
Stop Loss % - Calculated from the price of the first grid order and does not change during the strategy operation. Orders whose price exceeds the stop-loss level will be automatically canceled.
TABLE
Show Table - Controls the display of the table with all orders of the current grid. If there is no active grid, no order data is displayed. Text and background colors are determined automatically based on the chart background color.
Order Size - Determines how the grid order size is displayed: in contracts or in currency.
Table Size - Font size in the table.
Timezone - Used to correctly display the order fill time relative to the chart time. The order fill time (status: filled) can be seen by hovering over the corresponding status cell in the table.
VISUAL
Long Entry - Color of the dotted lines representing grid orders when trading long. Also defines the color of the vertical line indicating the strategy start time.
Short Entry - Color of the dotted lines representing grid orders when trading short. Also defines the color of the vertical line indicating the strategy start time.
Take Profit - Color of the solid line representing the take-profit level.
Stop Loss - Color of the solid line representing the stop-loss level.
Strategy

Pinescript Custom Performance BoostThis small script is a custom function that works similarly to the built-in calc_bars_count and max_bars_back functions, but can be used far more flexibly and significantly reduces the required computation time of Pine Script scripts.
The advantages over calc_bars_count are substantial.
The standard function works with a fixed value, e.g. calc_bars_count = 20000. The custom function, on the other hand, works on a percentage basis, e.g. with 20% of the total available chart bars.
In addition, calc_bars_count always affects the entire code, while the custom function can be applied selectively to specific parts of the script.
These two differences enable a much more flexible and efficient usage.
Fixed number of bars vs. percentage-based limitation:
The number of available bars varies greatly, not only depending on the ticker and timeframe used, but also on the PulseWire subscription (approx. 5,000–40,000 historical bars).
For example, when using calc_bars_count = 20000, only charts that have more than 20,000 candles benefit. If the available number of bars is lower, there is no performance benefit at all until the value is changed after the first slow calculation.
When using the custom function with, for example, 50%, only 50% of the available bars are always calculated, regardless of how many bars are available. This results in a performance gain with shorter calculation times regardless of the chart.
Entire code vs. partial code sections:
calc_bars_count = 20000 affects the entire code globally, meaning the script processes data from only those 20,000 bars.
The custom function, however, can be used selectively for specific sections of the code. This makes it possible to continue accessing certain values across all available bars, while limiting only the truly computation-intensive parts of the script to a percentage-based range.
In this way, computation time can be drastically reduced without restricting the overall size of the data sets.
It is also possible to imitate max_bars_back and selectively limit specific values instead of limiting all of them.
I hope this is useful to some of you. Have fun with it! Indicator

Indicator

Indicator
