TradingView
gregh2
Feb 12, 2021 2:43 PM

Ichimoku Basic Alerts 

Ethereum / TetherUSBinance

Description

Started with Ichimoku Kinko Hyo by Mizuki32. Converted to study and added alerting and cloud confirmation.

Release Notes

Cleaning up comments

Release Notes

Added RSI for Entry and TP. Separate TP alerts for exiting long and short positions.

Release Notes

Added option to wait for X sequential bars past RSI Threshold

Release Notes

Updating defaults to use only the Cloud (RSI off by default)

Release Notes

Fixed bug where disabling longs or shorts disabled all alerts. Removed sequential RSI TP option. Grouped inputs.

Release Notes

Added Stoch RSI to match the Backtester

Release Notes

This update cleans up the code and corrects many bugs. It is recommended you update your indicator (and the matching backtesting strategy that was also updated)

MAJOR BUGFIXES:
1. Corrected logic for tenkan and kijun cross to use crossover and crossunder fuctions. This prevents possible misfiring of alerts
2. Corrected RSI and Long/Short logic so RSI TP fires correctly.
3. Correct the Chikou Span Plotting (it was plotting in the wrong direction of the current price).
4. Corrected offsets. Previous indicator that logic was sourced from incorrect offset everything by +1

ENHANCEMENTS:
1. RSI TP plots are now more visible and have text

Release Notes

Fixing logic for entry so it doesn't fire again until it has exited its long or short

Release Notes

Updated color of the chikou span so it's easier to see.

Release Notes

Fixed bug that was reintroduced in refactor.

Release Notes

Fixing latest fix :)

Release Notes

Fixed broken short entry logic
Comments
rocknroller101
Hey. You've done a great job on this indicator! i wanted to suggest maybe adding alerts for long take profit and short take profit.
gregh2
@rocknroller101, Thank you and sorry I missed your comment long ago. To which sort of TP condition are you referring? Currently I have RSI there and I didn't include percentage-based because that should be set in a limit order on deal open.
BitFreakingCoin
Bravo & thx you!
I don't know if adding alerts for long take profit and short take profit would be possible, but it would be the cherry on the cake.
csevinctav
you are a wonder my friend.Thank you very much for sharing.
UnknownUnicorn20656593
Thanks very much for this Script which I use on my main chart. I've been studying the code and trying to establish when the "Waiting For Cloud Confirmation" signal would appear but I'm having difficulty understanding it. Could you explain more about this piece of code. Many thanks
gregh2
@richard-fernie,This setting will make it wait until the forming cloud ahead is green for an "open long", or red for an "open short". This is the default behavior of Ichimoku Cloud. It was missing from the indicator I started with. I left it configurable because it backtested better when off for some coin pairs on specific intervals.
Cylastrading
Hi, does this actually send me notification for every alerts? Thanks
gregh2
@Cylastrading, Yes - if you configure it to do so. The alert conditions for Open Long, Open Short, and RSI TP can all be alerted on.
Cylastrading
@gregh2, ok ty, im not used to alerts. Do i need to place basic alert with tradingview?
Or is it a way to do it with your script? Thanks in advance for the response
gregh2
@Cylastrading, After adding the indicator and configuring the settings to your liking, right click the chart and select "Add Alert...". Then use the dropdown to select the indicator ('Ichimoku Basic Alerts') and the condition ('Open Long'). Then from there you can tell it what to do with the alert (alert in the app, send an email, SMS, JSON message to a webhook URL).
More