ImmortalFreedom

Simple Square Wave Generator

ImmortalFreedom Wizard Telah dikemas kini   
The title pretty much sums up what purpose this tool serves. It is NOT an indicator, just a simple square wave generator. I built this from scratch to test transient responses of filters I have devised to visually inspect the performance of smoothers, moving averages, lag, etc... I'm not sure if anyone may find it useful, but I figured you might be able to source the square wave TO another indicator as long as your indicator/filter you have has: price = input(close, "Source", source), plot(yourMovingAverageOrFilter(price, integerFromInput)). Look for the lowest "SSqWG" in your source selection. I coupled the built-in CCI and RSI to show how it's easily possible. Features include a "Wave Length (Bars)" setting in the "Format" panel, the square wave phase is shift-able to the left and the right, and there is also an amplitude adjustment as well. Let me know if you have any ideas on how you may personally use this if you wish to elaborate briefly. I would like to thank the entire TV development team for making the "Apply Indicator to" feature. That's some really cool tech for tethering indicator windows together, so we can now Frankenstein our scripts together while inspecting the different wave form results in separate windows. That's some revolutionary thinking, awesome job Tradingview DEV team!
Nota Keluaran:
#1 - Provided new look with PSv4.0
#2 - Added percent peak ranges
Nota Keluaran:
Updated square generator function
Skrip dilindungi
Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.
Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?