-Modified version of Squeeze Momentum Indicator by @LazyBear.
-Converted to version 5,
-Taken inspiration from @KivancOzbilgic for its buy sell calculations,
-Used @Bunghole strategy template with Take Profit, Stop Loss and Enable/Disable Toggles
-Added Custom Date Backtesting...
I welcome you to my first published script on TradingView: “Multi-timeframe Moving Averages + Stochastic RSI”.
The script is based on a simple formula: Buy signals are generated when a fast moving average is above a slower moving average (uptrend) and the Stochastic RSI K line is crossing above the oversold level (entry).
Sell signals are generated...
Continuing deeper and stronger with the screeners serie. I keep getting requests private messages and requests saying that screeners aren't possible with TradingView.
My answer is always... "Reallyyy ??" (I never find a better answer than that...)
I'll publish a few screeners just for everyone to understand what can be done with Pinescript. We...
TradingView just recently announced the alert() function that allows you to create dynamic alerts from both strategies and studies.
So I decided to update custom screener I published before. It was based on alerts from orders in strategies, that was the only way to create dynamic alerts in PineScript at that point.
With the alert() function code become cleaner...
Alerts on strategies were introduced just recently in TradingView.
These alerts have an alert_message placeholder which allows you to compose in PineScript very complex alerts and insert quite a lot of information in them.
This is just very simple example of how they can look like.
This simple script generates signals for testing the connection from TradingView to a REST API client via the webhook and demonstrates very basic concepts of gerenating alerts within the script.
This script also demonstrates how to visualize when a buy or a sell should take place and how to use diagnostics text for bug fixes/informational purposes.
This is for...