AlgoRider_Fr

Ichimoku Strategy - Easiest Backtest [A.R.]

AlgoRider_Fr تم تحديثه   
▓ INTRODUCTION

This indicator allows a new "sandbox" approach to the Ichimoku system allowing to combine several entry, confirmation and exit conditions, to add basic risk management, to be able to backtest the performance of the strategy using a table directly on chart, and automate entry and exit signals using alerts.

▓ DEFINITION

The Ichimoku strategy is a trading system based on technical analysis, using a set of graphical indicators to evaluate the trend, strength and support/resistance levels of a financial asset. It integrates components such as the conversion line (Tenkan), the baseline (Kijun), the cloud delimited by the Senkou Span A and the Senkou Span B (SSA - SSB - Kumo) and the lagging span (Chikou) to provide different trading signals.

▓ ADDED VALUE

Several indicators and strategies concerning Ichimoku are already available on Tradingview, we are publishing this indicator to make this strategy even more accessible, what makes it original:

▪️ Unique Settings Windows, easy-to-read. The settings categories are clearly separated. Some parameters are aligned to avoid having an endless list of parameters to modify. This makes the settings window easy to understand and pleasant to use.

▪️ Sandbox type settings, you can choose 1 or 2 Entry conditions, choose to add 1 Confirmation, choose to add between 1 and 3 Exit Conditions. Dozens of possible configurations.

▪️ Possibility of adding basic Risk Management (TP/SL)

▪️ Backtest table directly on chart that allow to get quickly the results (script execution <1 sec) which makes it practical, allowing dozens of different configurations to be tested in a short period of time

▪️ Monitoring historical and current trades on chart thanks to Boxes and Labels


▓ HOW TO USE

You can try the indicator with default settings but you can also modify backtesting settings and trade Entry conditions, Entry Confirmation, and Exit conditions, also you can decide to add a Stop Loss and/or a Take Profit. Then you can find the stats of the backtesting in a table directly in the top right corner of the chart. Finally you can automate the strategy using Alert conditions. You can find all the settings below:

Initial backtesting settings:

🔹Set up Side: Choose Long|Short, Long or Short

🔹Set up Investment: Choose an amount in $, it simulates the equity / funds on the trading account.

🔹Set up Position Size: Choose an amount in $, it simulates the amount of the position size of each trade. If you want to simulate leverage trading, you can put a Position Size superior to Investment. For exemple Investment = 10000 and Position Size = 20000 simulates a x2 leverage.

🔹Set up your Fee rate %: Each trade entry and trade exit, a % of position size will be deducted from the PnL stats. For example if you choose 0.04% with 10000 Position Size, 4$ will be deducted each trade entry and each trade exit = 8$ fees each trade.

🔹Set up the Start and End date: It allows to backtest the strategy over a period of time, for Example from 01-01-2021 to 01-12-2022. By default the end date is year 2050, the backtest will start to take into account data from Start Date to the current time.


Backtest the main Ichimoku sub-strategies choosing entry conditions:

🔸Cloud Breakouts trading: Choose this Entry condition to start a trade when Price crosses the Cloud Upside (Long) or Downside (Short)

🔸Tenkan x Kijun cross trading: Choose this Entry condition to start a trade when Tenkan (Red line) crosses Kijun (Blue line) Upside (Long) or Downside (Short)

* There is no repaint, a signal is validated after the condition is confirmed at the end of the previous candle. If a signal appears on the chart, it won't ever disappear.

Entry Confirmations:

✔️ Chikou Above or Below price: if you check this setting, Long entry signals will be confirmed only when the Chikou (White Line) is Above the current price and Short entry signals will be confirmed only when the Chikou (White Line) is below the current price. In the Ichimoku system the Chikou is often used to confirm all types of signals.

Exit Conditions:
❌ Cloud Reintegrations: When a trade is open (Long or Short), if the price goes back into the cloud the trade is closed

❌ Reverse Cloud Breakouts: When a Long trade is open, if the price breaks out of the cloud from below the trade is closed. When a Short trade is open, if the price breaks out of the cloud from above the trade is closed.

❌ Reverse Tenkan-Kijun Cross: When a Long trade is open, if the Tenkan crosses Downside the Kijun the trade is closed. When a Short trade is open, if the Tenkan crosses Upside the Kijun the trade is closed.

Basic Risk Management:
⛔️ SL: Choose to set up a Stop Loss
✅ 1 single TP: Choose to set up a Take Profit

Signals:
🔔 Entry/Exit Alerts available: 4 types of alert conditions are available ENTRY LONG, ENTRY SHORT, EXIT LONG, EXIT SHORT. The entry conditions trigger at the beginning of the candle, choose alert frequence = once per bar.


👉 Tips: Easier to find profitable configurations in High Timeframe above H4.

▓ BACKTESTING SYSTEM

The Backtesting system integrated into the script tracks each trade. It allows you to test the strategy over a fixed period between a start date and an end date. It also allows to quickly and directly display on the chart the most important data to determine if a configuration is profitable such as the % PnL, the Max Drawdown, the amount of fees, the risk-reward ratio. It has been designed to be easy and quick to use even for a beginner.

═════════════════════════════════════════════════════════════════════════
The information published here on TradingView is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors.


Important to note: The source code of this indicator is not accessible because it benefits from the code of our backtesting system present in other non-public indicators that we protect. Our indicators with the same backtesting system are published in separate publications because putting them together in a single script would considerably slow down the execution of the script.
ملاحظات الأخبار:
UPDATE: fix visual tab

To know more about our indicators & strategies, please visit our website: algorider.io
نص برمجي محمي
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟