OPEN-SOURCE SCRIPT

Ichimoku Backtester with TP, SL, and Cloud Confirmation Option

Telah dikemas kini
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.
Nota Keluaran
Added RSI options for Entry and TP.
Nota Keluaran
Added option to take profit after X bar closes past the RSI threshold.
Nota Keluaran
Updating defaults to have no RSI, no TP, no SL
Nota Keluaran
Updated Backtester to have toggle for Stoch RSI and cleaned up RSI logic on strategy exit.
Nota Keluaran
Cleaning up Inputs, Removing Stochastic RSI, removing TP after sequential RSI
Nota Keluaran
Added back Stoch RSI Toggle per user request. Moved date range to top so the data selector is usable.
Nota Keluaran
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
Nota Keluaran
Updated the color of the chikou span so it's easier to see.
Nota Keluaran
Fixing entry and exit logic from update
Nota Keluaran
Updating name and cleaning up some logic
Nota Keluaran
Fixed broken short entry logic
automatedtradingIchimoku CloudichimokukinkohyoRelative Strength Index (RSI)Stochastic RSI (STOCH RSI)

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian