/trading-indicators:tradovate:document <filename> [--format <md|inline>]from trading-indicators
Generates documentation for Tradovate JavaScript indicators in either a separate README.md or inline JSDoc format.
Ships in trading-indicators. Installing the plugin adds it to Claude Code.
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
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
33 commands in this plugin
/ninja:add-featureAdd Feature to NinjaTrader IndicatorAdd a feature to an existing NinjaTrader indicator/ninja:cleanupCleanup NinjaScript IndicatorClean up NinjaScript indicator code/ninja:compareCompare NinjaScript IndicatorsCompare NinjaScript indicators or versions/ninja:convertConvert NinjaScript IndicatorConvert a NinjaScript indicator to another platform/ninja:debugDebug NinjaScript IndicatorDebug and troubleshoot NinjaScript indicator errors/ninja:documentDocument NinjaScript IndicatorGenerate documentation for a NinjaScript indicatornpx claudepluginhub lgbarn/trading-indicator-plugins --plugin trading-indicatorsOther plugins' commands for the same job