OPEN-SOURCE SCRIPT

[pp] Signal Generator

Aktualisiert
Research and Development Tool.

For anyone who is familiar with working with digital signals (audio/electrical engineers) you might appreciate this Signal Generator.
You can select and vary 4 different types of signals.


Logistic Map
If you're not familiar with the logistic map, then go watch a youtube video. By default the equation is meant to represent chaos and is a good alternative for random number generation.


Random
This uses the built-in random number generator. I'm not sure if it's better to use this or the logmap default settings. Either way, you have a choice.


Unit Impulse
Good for creating a transient impulse.


Step Impulse
Similar to the unit impulse. Except constant and not a transient.


Synthesizer
It comes with 4 wave functions (Sine, Triangle, Square, Saw) that can be combined for additive synthesis. Each wave function contains its own respective phase and amplitude control.


Credits
Many of these functions were taken from pinecoders.com/techniques/dsp/ with the exception of the logistic map. I simply aggregated them all into this toolkit for ease of use.


How to use
This is not a trading indicator. This is meant to be used for research and development. You could use it to test strategies, by generating white noise with the logmap and creating trading signals. Or you could use it for teaching and learning. Using the constant data as a dependable, repeatable resource.

Versionshinweise
Updated Signal output.

Included two new signal outputs:
+1 and -1
RSI

I found these two useful additions good for testing external scripts that depend on signals.
digitalsignallogisticmapequationlogmapOscillatorssignalsignalgeneratorsynthesizer

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?


Trade, Code, & Travel.

pinescriptstrategy.com
Auch am:

Haftungsausschluss