OPEN-SOURCE SCRIPT
Diupdate 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.
Catatan Rilis
Added RSI options for Entry and TP.Catatan Rilis
Added option to take profit after X bar closes past the RSI threshold.Catatan Rilis
Updating defaults to have no RSI, no TP, no SLCatatan Rilis
Updated Backtester to have toggle for Stoch RSI and cleaned up RSI logic on strategy exit.Catatan Rilis
Cleaning up Inputs, Removing Stochastic RSI, removing TP after sequential RSICatatan Rilis
Added back Stoch RSI Toggle per user request. Moved date range to top so the data selector is usable.Catatan Rilis
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
Catatan Rilis
Updated the color of the chikou span so it's easier to see.Catatan Rilis
Fixing entry and exit logic from updateCatatan Rilis
Updating name and cleaning up some logicCatatan Rilis
Fixed broken short entry logicSkrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.