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
automatedtradingIchimoku CloudichimokukinkohyoRelative Strength Index (RSI)Stochastic RSI (STOCH RSI)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明