OPEN-SOURCE SCRIPT
Actualizado Ichimoku Backtester with TP, SL, and Cloud Confirmation Option

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.
Notas de prensa
Added RSI options for Entry and TP.Notas de prensa
Added option to take profit after X bar closes past the RSI threshold.Notas de prensa
Updating defaults to have no RSI, no TP, no SLNotas de prensa
Updated Backtester to have toggle for Stoch RSI and cleaned up RSI logic on strategy exit.Notas de prensa
Cleaning up Inputs, Removing Stochastic RSI, removing TP after sequential RSINotas de prensa
Added back Stoch RSI Toggle per user request. Moved date range to top so the data selector is usable.Notas de prensa
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
Notas de prensa
Updated the color of the chikou span so it's easier to see.Notas de prensa
Fixing entry and exit logic from updateNotas de prensa
Updating name and cleaning up some logicNotas de prensa
Fixed broken short entry logicScript de código abierto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Exención de responsabilidad
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.
Script de código abierto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Exención de responsabilidad
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.