npx claudepluginhub joshuarweaver/cascade-code-devops-misc-2 --plugin lgbarn-trading-indicator-plugins<filename> [--format <md|inline>]tradovate/# Document Tradovate Indicator Generate documentation for a Tradovate JavaScript indicator. Arguments: $ARGUMENTS ## Documentation Modes ### --format md (Default) Generate a separate README.md file with: - Indicator overview - Parameter documentation - Usage examples - Trading interpretation ### --format inline Add documentation comments to the source code: - JSDoc comments - Parameter descriptions - Method documentation ## Documentation Process 1. Read the indicator file completely 2. Extract name and description from exports 3. Document all params with types and defaults 4. Explain ...
/documentGenerates focused documentation for components, functions, APIs, and features. Accepts [target] path with optional --type (inline|external|api|guide) and --style (brief|detailed).
/documentCreates evidence-based DIVIO-compliant documentation (tutorials, how-tos, references, explanations) via orchestrated research, review, and writing. Outputs reviewed Markdown file.
/documentAudits accessibility of Word, Excel, PowerPoint, and PDF documents using the document-accessibility-wizard agent.
/documentGenerates technical documentation from ADVPL/TLPP source code including Protheus.doc headers, full routine docs, and API docs. Supports --type header|full|api and --output options.
/documentGenerates on-demand documentation including API docs, architecture updates, and user guides for uncommitted changes, git diff ranges, directories, or changed files vs main.
/documentGenerates focused documentation for a specified target component, function, or feature. Supports inline/external/API/guide types and brief/detailed styles.
Generate documentation for a Tradovate JavaScript indicator. Arguments: $ARGUMENTS
Generate a separate README.md file with:
Add documentation comments to the source code:
# [Indicator Name]
[Brief description from module.exports.description]
## Overview
[2-3 sentences about what the indicator does and when to use it]
## Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| period | int | 14 | Lookback period for calculation |
| multiplier | float | 1.0 | Multiplier for bands |
## Plots
| Plot | Description |
|------|-------------|
| vwap | Volume-weighted average price |
| upper | Upper standard deviation band |
## Calculation
[Plain English explanation of the calculation]
## Trading Signals
| Signal | Condition | Interpretation |
|--------|-----------|----------------|
| Bullish | Price > VWAP | Above average price |
| Bearish | Price < VWAP | Below average price |
## Example Usage
1. Add indicator to chart
2. Configure [parameters] for your timeframe
3. Look for [signals]
## Author
Luther Barnum
## Version History
- v1.0.0: Initial release
/**
* [Indicator Name]
* @description [Brief description]
* @author Luther Barnum
* @version 1.0.0
*/
class MyIndicator {
/**
* Initialize indicator helpers
* Called once when indicator is loaded
*/
init() {
// ...
}
/**
* Calculate values for current bar
* @param {Object} d - Current bar data
* @param {number} i - Bar index
* @param {Object} history - Historical data access
* @returns {Object} Plot values
*/
map(d, i, history) {
// ...
}
}
Default search path: /Users/lgbarn/Personal/Indicators/Tradovate/
Output path: Same directory as source file