pAulseperformance

[pp] Signal Generator

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 www.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.

版本注释:
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.

Trade, Code, & Travel.

www.pinescriptstrategy.com
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?