OPEN-SOURCE SCRIPT
已更新

Motivational Text Table

452
Release Notes - Motivational Text Table Indicator v1.0

Standalone Indicator:
  • A new, standalone Pine Script v6 indicator that displays a motivational text table directly on the chart.

Customizable Text:
  • Users can set their own motivational message through the "Custom Motivational Text" input.


Configurable Appearance:

  • Change the text color and background color of the table.
  • Adjust the text size by choosing from "tiny", "small", "normal", "large", or "huge".
  • Select the table’s position on the chart from multiple preset locations (e.g., top_left, middle_center, bottom_right, etc.).


Static Display:
  • The table is drawn on the last bar, ensuring that the motivational text remains static during realtime updates.


User-Friendly Design:
  • The interface is simple and easy to customize, making it perfect for users who need a daily dose of motivation directly on their TradingView charts.

Enjoy your motivational boost on every chart!
發行說明
Patch Notes: “Motivational Text Table” Script

New “Motivational Text” section

Added top‐level inputs for motivationalText, color, background, size, and position.

Created a one-cell motivationalTable that displays your custom message only on the last bar.

Cleaner default message

Trimmed leading spaces in motivationalText so it looks crisp (“Patience Pays” instead of extra indentation).

Centralized text styling via getTextSize() helper for consistent sizing.

UI grouping & organization

Moved motivational settings into their own “Table Settings” group for clarity.

Separated the motivational table logic from the day-counter and custom-rules sections with clear comment headers.

Keep shining patience and self-control in your code and in life! 🌿







發行說明
Here’s what’s brand-new in the updated script compared to your original:

Show/Hide Entry Toggle

A checkbox to turn the entry-price line & its label on or off.

Points vs. Absolute Price Input

Choose whether your “entry” is a fixed price or an offset in ticks from close.

Dynamic P/L Display Mode

Toggle between showing your profit/loss in raw price points or in ticks.

Automatic “+”/“−” Sign & Coloring

Prepends a “+” for gains or “–” for losses and switches text color (green/red/neutral) accordingly.

Custom Handles Counter

A separate label that always shows how many ticks you’re away from entry (“handles”).

On-Chart Offset Controls

dx (bars) and dy (ticks) inputs let you nudge the P/L label anywhere relative to the bar and price.

Label Text-Size Picker

Pick from tiny → huge so the P/L and handles labels scale to your taste.

Box & Font Color Settings

Fully configurable background (“boxColor”/“plBgColor”) and font colors for every label.

Robust Cleanup

Whenever you turn off the entry or P/L toggles (or clear the entry), all lines & labels are immediately deleted to avoid clutter.
發行說明
Bug Fixes

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。