INVITE-ONLY SCRIPT
已更新 Ultra CMF + Stoch. and Choppiness Index

This is a fairly complex, but powerful indicator that combines 3 different indicators.
1. Chaikin Money Flow(CMF)-
Oscillator that uses the sum of Money Flow Volume (MFV) values over n periods to determine and compare the amount of
buying/selling pressure. We modified the CMF's scale so that values fluctuate between {-100, 100} for easier visualization.
If (CMF > 0)
then (buying pressure > selling pressure)
If (CMF < 0)
then (buying pressure < selling pressure)
Thus, CMF can be a valuable tool for confirming both uptrends and downtrends, as well as identifying divergences as a negative CMF
value in the midst of an uptrend indicates lack of strength.
In addition, we set bounds for the CMF values to prevent whipsaws during periods of horizontal price movement.
The CMF is shown on the bottom of the chart as the teal and fuchsia histogram.
Teal bars means (CMF < 0) and fuchsia bars means (CMF > 0).
2. Choppiness Index-
The Choppiness Index is another oscillator that works synergistically with the Chaikin Money Flow to prevent entries during choppy
conditions (when there is no clear trend direction and movement is horizontal). Although it is blind to the actual direction of the
price movement, we use it to distinguish periods of consolidation from "trendy" markets. Values fluctuate between {0, 100}, with 50
acting as the center-point. We've also set thresholds for chop values that are utlized to optimize entry and exit timing.
The Choppiness Index is plotted as the green and pink circle line at the top of the chart. If movement is choppy(choppy > 50), then
circles are pink. If choppiness is low(chop < 50), then the circles are green.
3. Fast and Slow Stochastics-
Lastly, we use a fast and a slow stochastic momentum oscillator. This is a fairly common approach, as it allows us to detect signals
on a wider range of sensitivity.The slow stochastic confirms the high quantity of signals generated by the more hyper-sensitive
fast stochastic.
The fast and slow K and D values are not plotted on the graph by default, but users can change that in the inputs to choose which
ones to show on the graph(as shown in the bottom pane). The upper and lower bounds can also be chosen to increase/decrease
signal sensitivity.
All values such as lengths, bounds, etc. can be changed by users through the input options.
The Graph:
Chaikin Money Flow - Shown as the teal and pink zero-centered oscillator at the bottom of the chart. Bars are teal when CMF is less than
zero and fuchsia when CMF value is greater than 0. Users can choose whether the CMF is plotted by changing the 'plotCMF' input.
-The CMF histogram is shown in the second and third panes.
Choppiness Index - Plotted as the pink and teal line of circles at the top of the chart. Circles are pink if they are above 50 (high chop) and
teal when they are below 50 (low chop). Users can choose whether it is plotted through the 'plotChop' input.
-The Choppiness Index is shown in the second and third panes.
Stochastics - Not plotted by default, but users can choose to have them shown by adjusting the values in the input options menu. If you want,
there is an option to plot both fast and slow K and D values (4 total lines) and the upper and lower bounds that are used to determine entries
and exits.
NOTE: I tried to show all the ways that you can choose to display all the different indicators in the different panes, but there are a million
different ways you can choose to have the chart laid out through changing the inputs. You could have it be as simple as plotting just the 'B'
and 'S' for entries and exits or a complex graph with the CMF, Chop, and stochastics all plotted together.
HOW TO USE:
There is a set of conditionals for each of the three indicators to determine both entry and exit points. To simplify this, we decided to divide them
into red circles for exit conditions and green squares for entry conditions.
LONG ENTRIES:
1. If the conditions for the stochastics are met, a green square is plotted at the top of the chart.
2. If the conditions for the CMF are met, a green square is plotted at the center of the chart.
3. If the conditions for Choppiness Index are met, a blue circle is plotted at the bottom.
TRADE WHEN: There is a green square at the top, green square in the middle, and a blue circle at the bottom.
A GREEN 'B' IS PLOTTED IN THE CENTER OF THE GRAPH WHEN THE ABOVE REQUIREMENTS ARE TRUE...Enter position at that point.
LONG EXIT:
1. If the conditions for the stochastics are met, a red circle is plotted at the top of the chart.
2. If the conditions for CMF are met, a red circle is plotted at the center of the chart.
3. If the conditions for Choppiness Index are met, a blue circle is plotted the bottom.
TRADE WHEN: There is a red circle at the top, red circle in the middle, and blue circle at the bottom.
A RED 'S' IS PLOTTED AT THE CENTER OF THE GRAPH WHEN THE ABOVE REQUIREMENTS ARE TRUE....Exit Position at that point.
ALERTS:
An alert is sent when all buy conditions are met, informing the trader to enter a long position.
The same is done for sell conditions.
Like I said earlier, there are tons of input options to change this indicator to fit your specific use, as well as display options. I've tailored the settings
for trading BTC/USD, but it is a very versatile indicator and can be adapted for whatever you're trading.
1. Chaikin Money Flow(CMF)-
Oscillator that uses the sum of Money Flow Volume (MFV) values over n periods to determine and compare the amount of
buying/selling pressure. We modified the CMF's scale so that values fluctuate between {-100, 100} for easier visualization.
If (CMF > 0)
then (buying pressure > selling pressure)
If (CMF < 0)
then (buying pressure < selling pressure)
Thus, CMF can be a valuable tool for confirming both uptrends and downtrends, as well as identifying divergences as a negative CMF
value in the midst of an uptrend indicates lack of strength.
In addition, we set bounds for the CMF values to prevent whipsaws during periods of horizontal price movement.
The CMF is shown on the bottom of the chart as the teal and fuchsia histogram.
Teal bars means (CMF < 0) and fuchsia bars means (CMF > 0).
2. Choppiness Index-
The Choppiness Index is another oscillator that works synergistically with the Chaikin Money Flow to prevent entries during choppy
conditions (when there is no clear trend direction and movement is horizontal). Although it is blind to the actual direction of the
price movement, we use it to distinguish periods of consolidation from "trendy" markets. Values fluctuate between {0, 100}, with 50
acting as the center-point. We've also set thresholds for chop values that are utlized to optimize entry and exit timing.
The Choppiness Index is plotted as the green and pink circle line at the top of the chart. If movement is choppy(choppy > 50), then
circles are pink. If choppiness is low(chop < 50), then the circles are green.
3. Fast and Slow Stochastics-
Lastly, we use a fast and a slow stochastic momentum oscillator. This is a fairly common approach, as it allows us to detect signals
on a wider range of sensitivity.The slow stochastic confirms the high quantity of signals generated by the more hyper-sensitive
fast stochastic.
The fast and slow K and D values are not plotted on the graph by default, but users can change that in the inputs to choose which
ones to show on the graph(as shown in the bottom pane). The upper and lower bounds can also be chosen to increase/decrease
signal sensitivity.
All values such as lengths, bounds, etc. can be changed by users through the input options.
The Graph:
Chaikin Money Flow - Shown as the teal and pink zero-centered oscillator at the bottom of the chart. Bars are teal when CMF is less than
zero and fuchsia when CMF value is greater than 0. Users can choose whether the CMF is plotted by changing the 'plotCMF' input.
-The CMF histogram is shown in the second and third panes.
Choppiness Index - Plotted as the pink and teal line of circles at the top of the chart. Circles are pink if they are above 50 (high chop) and
teal when they are below 50 (low chop). Users can choose whether it is plotted through the 'plotChop' input.
-The Choppiness Index is shown in the second and third panes.
Stochastics - Not plotted by default, but users can choose to have them shown by adjusting the values in the input options menu. If you want,
there is an option to plot both fast and slow K and D values (4 total lines) and the upper and lower bounds that are used to determine entries
and exits.
NOTE: I tried to show all the ways that you can choose to display all the different indicators in the different panes, but there are a million
different ways you can choose to have the chart laid out through changing the inputs. You could have it be as simple as plotting just the 'B'
and 'S' for entries and exits or a complex graph with the CMF, Chop, and stochastics all plotted together.
HOW TO USE:
There is a set of conditionals for each of the three indicators to determine both entry and exit points. To simplify this, we decided to divide them
into red circles for exit conditions and green squares for entry conditions.
LONG ENTRIES:
1. If the conditions for the stochastics are met, a green square is plotted at the top of the chart.
2. If the conditions for the CMF are met, a green square is plotted at the center of the chart.
3. If the conditions for Choppiness Index are met, a blue circle is plotted at the bottom.
TRADE WHEN: There is a green square at the top, green square in the middle, and a blue circle at the bottom.
A GREEN 'B' IS PLOTTED IN THE CENTER OF THE GRAPH WHEN THE ABOVE REQUIREMENTS ARE TRUE...Enter position at that point.
LONG EXIT:
1. If the conditions for the stochastics are met, a red circle is plotted at the top of the chart.
2. If the conditions for CMF are met, a red circle is plotted at the center of the chart.
3. If the conditions for Choppiness Index are met, a blue circle is plotted the bottom.
TRADE WHEN: There is a red circle at the top, red circle in the middle, and blue circle at the bottom.
A RED 'S' IS PLOTTED AT THE CENTER OF THE GRAPH WHEN THE ABOVE REQUIREMENTS ARE TRUE....Exit Position at that point.
ALERTS:
An alert is sent when all buy conditions are met, informing the trader to enter a long position.
The same is done for sell conditions.
Like I said earlier, there are tons of input options to change this indicator to fit your specific use, as well as display options. I've tailored the settings
for trading BTC/USD, but it is a very versatile indicator and can be adapted for whatever you're trading.
發行說明
Updated to Include Stop Loss僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫ProfitProgrammers。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
-Profit Programmers
profitprogrammer.com
profitprogrammer.com
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫ProfitProgrammers。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
-Profit Programmers
profitprogrammer.com
profitprogrammer.com
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。