OPEN-SOURCE SCRIPT

[pp] Signal Generator

Cập nhật
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.

Phát hành các Ghi chú
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

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


Trade, Code, & Travel.

pinescriptstrategy.com
Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm