gregh2

Ichimoku Backtester with TP, SL, and Cloud Confirmation Option

gregh2 Updated   
Started with the Basic Ichimoku strategy from Mizuki32. Added Take Profit, Stop Loss (for both long and short), and a toggle to wait for confirmation from the cloud.
Release Notes:
Added RSI options for Entry and TP.
Release Notes:
Added option to take profit after X bar closes past the RSI threshold.
Release Notes:
Updating defaults to have no RSI, no TP, no SL
Release Notes:
Updated Backtester to have toggle for Stoch RSI and cleaned up RSI logic on strategy exit.
Release Notes:
Cleaning up Inputs, Removing Stochastic RSI, removing TP after sequential RSI
Release Notes:
Added back Stoch RSI Toggle per user request. Moved date range to top so the data selector is usable.
Release Notes:
This update cleans up the code and corrects many bugs. It is recommended you update your strategy and the matching indicator.

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
Release Notes:
Updated the color of the chikou span so it's easier to see.
Release Notes:
Fixing entry and exit logic from update
Release Notes:
Updating name and cleaning up some logic
Release Notes:
Fixed broken short entry logic
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?