OPEN-SOURCE SCRIPT
已更新 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.
版本注释
Added RSI options for Entry and TP.版本注释
Added option to take profit after X bar closes past the RSI threshold.版本注释
Updating defaults to have no RSI, no TP, no SL版本注释
Updated Backtester to have toggle for Stoch RSI and cleaned up RSI logic on strategy exit.版本注释
Cleaning up Inputs, Removing Stochastic RSI, removing TP after sequential RSI版本注释
Added back Stoch RSI Toggle per user request. Moved date range to top so the data selector is usable.版本注释
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
版本注释
Updated the color of the chikou span so it's easier to see.版本注释
Fixing entry and exit logic from update版本注释
Updating name and cleaning up some logic版本注释
Fixed broken short entry logic开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。