Skip to content

Commit 01fe203

Browse files
committed
docs: regenerate documentation files
1 parent 12e4cb1 commit 01fe203

10 files changed

Lines changed: 226 additions & 4 deletions

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ This documentation is automatically generated. To update:
7979

8080
---
8181

82-
*Last Generated: 2026-01-28T01:07:50.067Z*
82+
*Last Generated: 2026-01-28T01:10:24.099Z*
8383
*Documentation Version: 1.0.0*

docs/api/API-PINESCRIPT-OPTIMIZER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PineScript Optimizer API Documentation
22

3-
*Generated: 2026-01-28T01:07:50.057Z*
3+
*Generated: 2026-01-28T01:10:24.096Z*
44

55
### Main Class
66

docs/api/API-TEMPLATE-UTILS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TemplateUtils API Documentation
22

3-
*Generated: 2026-01-28T01:07:50.065Z*
3+
*Generated: 2026-01-28T01:10:24.098Z*
44

55
### Main Class
66

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444

4545
---
4646

47-
*Generated: 2026-01-28T01:07:50.067Z*
47+
*Generated: 2026-01-28T01:10:24.100Z*
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Test strategy for PineScript Optimizer validation
2+
// @param rsi_length:7-21-2 - RSI period length
3+
// @param rsi_overbought:70-90-5 - RSI overbought threshold
4+
5+
//@version=5
6+
strategy("Test Strategy", overlay=true)
7+
8+
// Input parameters
9+
rsi_length = 17, "RSI Length", minval=1, maxval=100)
10+
rsi_overbought = 80, "RSI Overbought", minval=50, maxval=100)
11+
12+
// Calculate RSI
13+
rsi_value = ta.rsi(close, rsi_length)
14+
15+
// Entry condition
16+
enterLong = rsi_value < 30
17+
enterShort = rsi_value > rsi_overbought
18+
19+
// Exit conditions
20+
exitLong = rsi_value > 70
21+
exitShort = rsi_value < 30
22+
23+
// Strategy logic
24+
if (enterLong)
25+
strategy.entry("Long", strategy.long)
26+
if (enterShort)
27+
strategy.entry("Short", strategy.short)
28+
if (exitLong)
29+
strategy.close("Long")
30+
if (exitShort)
31+
strategy.close("Short")
32+
33+
// Plot RSI
34+
plot(rsi_value, "RSI", color=color.blue)
35+
hline(30, "Oversold", color=color.green)
36+
hline(70, "Overbought", color=color.red)
37+
hline(rsi_overbought, "Custom Overbought", color=color.orange)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Test strategy for PineScript Optimizer validation
2+
// @param rsi_length:7-21-2 - RSI period length
3+
// @param rsi_overbought:70-90-5 - RSI overbought threshold
4+
5+
//@version=5
6+
strategy("Test Strategy", overlay=true)
7+
8+
// Input parameters
9+
rsi_length = 13, "RSI Length", minval=1, maxval=100)
10+
rsi_overbought = 75, "RSI Overbought", minval=50, maxval=100)
11+
12+
// Calculate RSI
13+
rsi_value = ta.rsi(close, rsi_length)
14+
15+
// Entry condition
16+
enterLong = rsi_value < 30
17+
enterShort = rsi_value > rsi_overbought
18+
19+
// Exit conditions
20+
exitLong = rsi_value > 70
21+
exitShort = rsi_value < 30
22+
23+
// Strategy logic
24+
if (enterLong)
25+
strategy.entry("Long", strategy.long)
26+
if (enterShort)
27+
strategy.entry("Short", strategy.short)
28+
if (exitLong)
29+
strategy.close("Long")
30+
if (exitShort)
31+
strategy.close("Short")
32+
33+
// Plot RSI
34+
plot(rsi_value, "RSI", color=color.blue)
35+
hline(30, "Oversold", color=color.green)
36+
hline(70, "Overbought", color=color.red)
37+
hline(rsi_overbought, "Custom Overbought", color=color.orange)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Test strategy for PineScript Optimizer validation
2+
// @param rsi_length:7-21-2 - RSI period length
3+
// @param rsi_overbought:70-90-5 - RSI overbought threshold
4+
5+
//@version=5
6+
strategy("Test Strategy", overlay=true)
7+
8+
// Input parameters
9+
rsi_length = 13, "RSI Length", minval=1, maxval=100)
10+
rsi_overbought = 85, "RSI Overbought", minval=50, maxval=100)
11+
12+
// Calculate RSI
13+
rsi_value = ta.rsi(close, rsi_length)
14+
15+
// Entry condition
16+
enterLong = rsi_value < 30
17+
enterShort = rsi_value > rsi_overbought
18+
19+
// Exit conditions
20+
exitLong = rsi_value > 70
21+
exitShort = rsi_value < 30
22+
23+
// Strategy logic
24+
if (enterLong)
25+
strategy.entry("Long", strategy.long)
26+
if (enterShort)
27+
strategy.entry("Short", strategy.short)
28+
if (exitLong)
29+
strategy.close("Long")
30+
if (exitShort)
31+
strategy.close("Short")
32+
33+
// Plot RSI
34+
plot(rsi_value, "RSI", color=color.blue)
35+
hline(30, "Oversold", color=color.green)
36+
hline(70, "Overbought", color=color.red)
37+
hline(rsi_overbought, "Custom Overbought", color=color.orange)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Test strategy for PineScript Optimizer validation
2+
// @param rsi_length:7-21-2 - RSI period length
3+
// @param rsi_overbought:70-90-5 - RSI overbought threshold
4+
5+
//@version=5
6+
strategy("Test Strategy", overlay=true)
7+
8+
// Input parameters
9+
rsi_length = 15, "RSI Length", minval=1, maxval=100)
10+
rsi_overbought = 70, "RSI Overbought", minval=50, maxval=100)
11+
12+
// Calculate RSI
13+
rsi_value = ta.rsi(close, rsi_length)
14+
15+
// Entry condition
16+
enterLong = rsi_value < 30
17+
enterShort = rsi_value > rsi_overbought
18+
19+
// Exit conditions
20+
exitLong = rsi_value > 70
21+
exitShort = rsi_value < 30
22+
23+
// Strategy logic
24+
if (enterLong)
25+
strategy.entry("Long", strategy.long)
26+
if (enterShort)
27+
strategy.entry("Short", strategy.short)
28+
if (exitLong)
29+
strategy.close("Long")
30+
if (exitShort)
31+
strategy.close("Short")
32+
33+
// Plot RSI
34+
plot(rsi_value, "RSI", color=color.blue)
35+
hline(30, "Oversold", color=color.green)
36+
hline(70, "Overbought", color=color.red)
37+
hline(rsi_overbought, "Custom Overbought", color=color.orange)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Test strategy for PineScript Optimizer validation
2+
// @param rsi_length:7-21-2 - RSI period length
3+
// @param rsi_overbought:70-90-5 - RSI overbought threshold
4+
5+
//@version=5
6+
strategy("Test Strategy", overlay=true)
7+
8+
// Input parameters
9+
rsi_length = 19, "RSI Length", minval=1, maxval=100)
10+
rsi_overbought = 80, "RSI Overbought", minval=50, maxval=100)
11+
12+
// Calculate RSI
13+
rsi_value = ta.rsi(close, rsi_length)
14+
15+
// Entry condition
16+
enterLong = rsi_value < 30
17+
enterShort = rsi_value > rsi_overbought
18+
19+
// Exit conditions
20+
exitLong = rsi_value > 70
21+
exitShort = rsi_value < 30
22+
23+
// Strategy logic
24+
if (enterLong)
25+
strategy.entry("Long", strategy.long)
26+
if (enterShort)
27+
strategy.entry("Short", strategy.short)
28+
if (exitLong)
29+
strategy.close("Long")
30+
if (exitShort)
31+
strategy.close("Short")
32+
33+
// Plot RSI
34+
plot(rsi_value, "RSI", color=color.blue)
35+
hline(30, "Oversold", color=color.green)
36+
hline(70, "Overbought", color=color.red)
37+
hline(rsi_overbought, "Custom Overbought", color=color.orange)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Test strategy for PineScript Optimizer validation
2+
// @param rsi_length:7-21-2 - RSI period length
3+
// @param rsi_overbought:70-90-5 - RSI overbought threshold
4+
5+
//@version=5
6+
strategy("Test Strategy", overlay=true)
7+
8+
// Input parameters
9+
rsi_length = 15, "RSI Length", minval=1, maxval=100)
10+
rsi_overbought = 90, "RSI Overbought", minval=50, maxval=100)
11+
12+
// Calculate RSI
13+
rsi_value = ta.rsi(close, rsi_length)
14+
15+
// Entry condition
16+
enterLong = rsi_value < 30
17+
enterShort = rsi_value > rsi_overbought
18+
19+
// Exit conditions
20+
exitLong = rsi_value > 70
21+
exitShort = rsi_value < 30
22+
23+
// Strategy logic
24+
if (enterLong)
25+
strategy.entry("Long", strategy.long)
26+
if (enterShort)
27+
strategy.entry("Short", strategy.short)
28+
if (exitLong)
29+
strategy.close("Long")
30+
if (exitShort)
31+
strategy.close("Short")
32+
33+
// Plot RSI
34+
plot(rsi_value, "RSI", color=color.blue)
35+
hline(30, "Oversold", color=color.green)
36+
hline(70, "Overbought", color=color.red)
37+
hline(rsi_overbought, "Custom Overbought", color=color.orange)

0 commit comments

Comments
 (0)