OPEN-SOURCE SCRIPT

CBC Flip

ที่อัปเดต:
This is an indicator for the Candle By Candle (CBC) Flip strategy as created by maplestax
It’s useful to traders because it’s a simple approach to gauge if bulls or bears are in control for any particular candle. The logic is as follows:
If the most recent candle close is above the previous candle high, then bulls are in control.
If the most recent candle close is below the previous candle low, then bears are in control.
If neither of these 2 conditions are met, then whoever was already in control remains in force until one of the 2 conditions is met and the sentiment is flipped, hence the name CBC Flip.

My script is original because there are no other CBC Flip scripts available on TV. This is the first, which is why I created it, to help other traders benefit from the power of CBC Flips.
The indicator output is simply interpreted as follows:
Triangle up = bulls in control
Triangle down = bears in control

In my experience this script is best used on the 5 or 10 minute time frames, as it helps to keep you in the trade for the bigger moves once a trend is established, while not getting shaken out from the “noisy” up/down candle price action of lower time frames like the 1 minute.

I’ve also had more success with this indicator when only taking long trades once the green triangle appears and price is above VWAP, and only taking short trades once the red triangle appears and price is below VWAP.
เอกสารเผยแพร่
In the original version, a generic alert appeared when either the bulls or bears were in control. I've now created separate alerts, one alert for bulls, another for bears.
เอกสารเผยแพร่
As per the updated chart above,
When CBC flips long, suggested risk is candle low
When CBC flips short, suggested risk is candle high
เอกสารเผยแพร่
Removed the = in the <= >= to eliminate fake outs when it closes on the high or on the low of the previous candle. It needs to close above (not on) the high of the previous candle for longs, and close below (not on) the low of the previous candle for shorts.
เอกสารเผยแพร่
Added the option to now print the CBC flip on any time frame, rather than only printing the CBC flips on the current chart time frame. e.g if your chart is currently on the 2m TF but wanting to see the CBC flips that are happening on the 10m TF.

Also added the option of background colour changes on the candles where the CBC flips occur.
Candlestick AnalysisCandlestick analysissentiment

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำจำกัดสิทธิ์ความรับผิดชอบ