PROTECTED SOURCE SCRIPT

ICT OTE Strategy

435
Strategy Overview
This strategy is designed to automate a specific trading setup based on the concepts of Inner Circle Trader (ICT). Its primary goal is to identify significant market structure swings, frame a Fibonacci retracement over the most recent price leg, and execute a trade when the price pulls back to a key user-defined level. It is a counter-trend entry strategy, meaning it looks to enter a trade during a pullback within an established trend.

How It Works: Step-by-Step
1. Swing Detection:

The strategy first identifies significant swing highs and swing lows.

A swing high is confirmed only if it's higher than a specific number of bars to its left and right (defined by "Left Strength" and "Right Strength" in the settings).

The same logic applies to swing lows, which must be lower than the bars around them. This filtering ensures only structurally important turning points are considered.

2. Defining the Trading Range:

Once a new swing is confirmed, the strategy defines the most recent dealing range.

If a new swing high forms, the range is drawn from the previous swing low up to this new high. This is considered a bullish leg.

If a new swing low forms, the range is drawn from the previous swing high down to this new low. This is considered a bearish leg.

3. Fibonacci Retracement & Trade Setup:

An automatic Fibonacci retracement tool is drawn over this newly defined dealing range. The 0.0 level is placed at the end of the move, and the 1.0 level is at the beginning.

The strategy then prepares to enter a trade based on this range.

4. Trade Execution:

Entry: A limit order is placed at a specific Fibonacci level within the range, waiting for the price to retrace. The default entry is the 0.618 level, but this can be changed in the settings.

For a bullish leg, it places a LONG (Buy) order, anticipating that the price will bounce from the retracement level.

For a bearish leg, it places a SHORT (Sell) order, anticipating that the price will be rejected from the retracement level.

Stop Loss: The Stop Loss is automatically placed at the 1.0 level of the Fibonacci range. This is the point where the original trade idea is invalidated.

Take Profit: The Take Profit is automatically placed at the 0.0 level of the Fibonacci range. This is the target at the end of the price leg.

Key Features & Customization
Automated Trade Logic: The entire process, from identifying the setup to placing the entry, stop loss, and take profit, is fully automated.

Visual Aid: The script draws the swing points and the Fibonacci retracement on the chart, so you can visually confirm the setups the strategy is taking.

Customizable Entry: You can change the "Entry Level" in the settings to test different Fibonacci levels, such as the Optimal Trade Entry (OTE) at 0.705.

Toggle Visuals: You can turn the Fibonacci drawing on or off to keep your chart clean while still allowing the strategy to run in the background.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.