OPEN-SOURCE SCRIPT

Donchian Fibonacci Trading Tool

DONCHIAN FIBONACCI TRADING TOOL
This indicator is based on a Donchian Channel with Fibonacci zones I published before. Features are added which enable trading decisions, it suggests when to open either a long or a short position, it provides suggestions for a stop loss level and suggests a take profit level, the calculation of the take profit suggestion can be altered in the inputs. The user should devise a trading strategy on his own, several strategies are possible, but as a Donchian Channel is used, these must come down to refinements in the classical Turtle Trading system.
NO LAGGING
Donchian Channels have no lagging, this tool being based on these, has none as well. The only added feature with a little lagging is the Hull MA, all other features work at once and report right now the historical context of the present bar or candle even while it is developping.
ANY TIME FRAME
This indicator works in any time frame. However, when the user sets the prediction calculation to percent, then in small intraday time frames the result will be relatively huge.
FALSE SIGNALS
Fibonacci retracement levels are based on inclinations which exist in nature and which also exist in the financial markets. The expectations, labeled ‘DFT: expect’, based on these levels, are usually correct. The take profit levels otoh, labeled ‘DFT: predict’, are usually incorrect. The trader should take care and needs proper ‘gut feeling’ in using these
FEATURES TRIGGERED BY THE MARKET ENTERING OR LEAVING ZONES
1. REACTIVE COLORS
The zone in which the close is, is brighter coloured.
2. ENTRY AND EXIT MARKERS NEAR UP- OR DOWN TREND ZONES
If the close enters the Up Trend or Down Trend zone, coming from another zone, a triangle is placed just outside the channel border. If it leaves the zone, an X cross is placed.
3. MARKET SITUATION EXPECTATION LEVELS (OFFSET)
The indicator can report four market situations which may be valid for the last candle:
3.1. Market is in up trend: a blue dot is placed in an offset (=future) position of the High Border,
expect levels are placed offset of High Border and the Highest Fibonacci line,
3.2. Market is in down trend: a red dot is placed offset the Low Border, also expect levels offset the Low Border and the Lowest Fibonacci line.
3.3. Market is high ranging, i.e. last break out was at High Border and market is not in up- or down trend. A green dot is placed offset the Center High Fibonacci line and expect levels offset the Highest and Center Low Fibonacci lines.
3.4. Market is low ranging, i.e. last break out was at Low Border and market is not in up- or down trend. A brown dot is placed offset the Center Low Fibonacci line and expect levels offset the Center High and Lowest Fibonacci lines.
FEATURES TRIGGERED BY AN ATTEMPT TO BREAK OUT OF THE CHANNEL BORDERS
4. SWING LINE
When the High Border is touched, the Swing Line changes its level to the Highest Fibonacci line and changes its color to blue. When the Low Border is touched, the Swing Line changes its level to the Lowest Fibonacci line and changes its color to red. This way you can see whether the general trend is up- or down and also if and when the line has been crossed.
5. DIAMOND MARKERS (OFFSET)
These markers flash when the last bar or candle or the one before that, touches a channel border, the offset is equal to the expect levels.
6. PREDICTION LEVEL (OFFSET)
The prediction level flashes in the same situation as the diamond marker. The default level is 1 Average True Range. Most are in fact false signals. One can switch the prediction level off by setting the added amount to 0, then only the Diamond Markers will flash
OTHER FEATURES
7. HULL MOVING AVERAGE
Its direction provides an indication of the price dynamics.
8. SUPPRESSION OF PLOTTING SOME LAST VALUES
Quite a few lines stop before the last bar or candle. This way the last candle seem free loating and the chart reports only the values the user needs.

Enjoy, Eykpunter.
Donchian Channels (DC)Fibonaccitrading

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm