SIGGEN syntaxWave Signal
Syntax is (without the spaces):: function amplitude +/- y-offset @ period +/- x-offset (in seconds)
e.g. sin10-30@600-3600
— sinewave of amplitudes -10 and 10; offset by -30 (i.e. between -40 and -20); period of 600 seconds; offset by -3600 seconds (1 hr)*
Function supported are:
- sin (sine)
- cos (cosine)
- saw (saw wave)
- sq (square wave)
- sc (S-curve)
To create just static trends of a single number write
siggen/7
Tip if you would like to trend:
eg: siggen/sin4@300
eg: siggen/saw1000000@30d+5d - Max of 1000000 starting at 0, 30 days off set by 5d (note -5d is invalid)
calc/ADD(rand20~1@2000000)
Wave Generation
Syntax: function amplitude +/- y-offset @ period +/- x-offset (in seconds)
Function supported are:
- sin (sine)
- cos (cosine)
- saw (saw wave)
- sq (square wave)
- sc (S-curve)
EG: siggen/sin10-30@1d-1h → Sine Wave of amplitude 10 with a -30 y-axis offset. A period of 1d with 1d x-axis offset.
Ramp Generation
Syntax: function amplitude @ CyclicTimePeriod
CyclicTimePeriod: day, bday, month or year
EG: siggen/ramp10@dayTip | ||
---|---|---|
| ||
Sine Wave of amplitude 10 with a -30 y-axis offset. A period of 1d with 1h x-axis offset. siggen/sin10-30@1d+1h |
Note | ||
---|---|---|
| ||
x-offset has to be positive if using (1m,1d,1h ..) if you need negative use -1000 which is the same as -1000s |
Ramp Signal
Syntax: function amplitude @ CyclicTimePeriod
CyclicTimePeriod: day, bday, month or year
→Tip | ||
---|---|---|
|
Ramp Wave of amplitude 10. A period of 1d. siggen/ramp10@day |
Random Value Signal
Syntax: function average ~ range @ smoothingFactorEG: siggen/rand10~5@3600000 → Random Value signal with a mean of 10 and a range of +/- 5. A smoothing factor of 3600000 (default)
Tip | ||
---|---|---|
| ||
Ramp Wave of amplitude 10. A period of 1d. siggen/rand10~5@3600000 |
Note | ||
---|---|---|
| ||
Positive values only. If you require a negative random number then multiply it by -1. |
Constant Value GenerationSignal
Syntax: value
EG: siggen/10 → A flat signal with value 10.
Epm macro trendmultichart | ||
---|---|---|
|
Epm macro trendmultichart | ||
---|---|---|
| ||
Epm macro trendmultichart | ||
| ||
Epm macro trendmultichart | ||
|
Epm macro trendmultichart | ||
---|---|---|
| ||
Epm macro trendmultichart | ||
|
Epm macro trendmultichart | ||
---|---|---|
| ||
Epm macro trendmultichart | ||
|