TradingView
gingin1327
23. Febr. 2023 04:33

Chitukiย 

Bitcoin / TetherUS PERPETUAL CONTRACTBinance

Beschreibung

โ‹…
Produced according to Bitcoin and Ethereum 1D, 1W, and 1M candle charts.
When you use it for general stock charts or altcoins, make sure to backtest it thoroughly before using it.
*To facilitate backtesting, this have a vertical line that allows you to easily specify the start time.๐Ÿ˜



This indicator is simply based on the Engulfing patterns.
I focused on finding inflection points and wrote them based on 1D chart.


โ–ฒโ–ผ Small and fat arrows: Displays simple engulfing patterns.
(Displays only those whose lengths differ by at least 1.2 times from each other)


โ†‘โ†“ Slim and long arrows: Displays actual trading. (Backtesting reflects this.)
Compare the 7 lowest points to find the bullish Engulfing .
Compare the 14 highest points to find the Bearish Engulfing .
Switch the long and short positions to each other.
Long/short position entry at the market price, mid-price, and closing price of Engulfing Candles.




The charts from 2014 to January 2023 were back-tested and the error ranges were calculated and adjusted in detail.

In conclusion, you can think of it as an Engulfing Pattern Finder tailored to the Bitcoin chart.



This is how I did trading before I made this indicator, and I programmed the trading method as an indicator and I think it's pretty reliable but...
Please don't blindly trust ONLY the indicator(s).





///Properties setting Recommend///
Base currency : USD
Oder size : 18% of equity
Pyramiding : 21 (in plenty / Bcuz one deal is divided into three times.)
Commission : according to the exchange's commission
Recalculate : None
Margin : never less than 50%

Versionshinweise

โ‹…
-English description-

1. We have finally added Stop Loss function.
-The default setting is 5%, but user can custom it.
-Stop Loss can be set for each "Long/Short" in three separate sessions.
-*Stop Loss is displayed as "SL_Long/Short".

2. Name improvement
Names that could have been confused have been changed.

-Close Short -> Switch to Long
-Close Long -> Switch to Short
-Bullish Engulfing Long(1/3) -> CTK Long(1/3)
-Bearish Engulfing Short(1/3) -> CTK Short(1/3)
-Newly added : SL_Long / SL_Short


3. Change the initial setting value of the date setting
1 Jan 2023 -> 11 Nov 2921

Thank you!



-ํ•œ๊ตญ์–ด ์„ค๋ช…-

1. ๋“œ๋””์–ด Stop Loss ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ•˜์˜€์Šต๋‹ˆ๋‹ค.
๊ธฐ๋ณธ ์„ค์ •์€ 5%์ด์ง€๋งŒ ์‚ฌ์šฉ์ž๊ฐ€ ์ปค์Šคํ…€ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
์„ธ ๋ฒˆ์— ๋‚˜๋ˆ„์–ด ์ง„ํ–‰๋˜๋Š” ๊ฐ๊ฐ์˜ "ํฌ์ง€์…˜"์— ๊ฐ๊ฐ Stop Loss๋ฅผ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
*Stop Loss๋Š” "SL_Long/Short"๋กœ ํ‘œ์‹œ ๋ฉ๋‹ˆ๋‹ค.

2. ๋ช…์นญ ๊ฐœ์„ 
ํ—ท๊ฐˆ๋ฆด ์ˆ˜ ์žˆ์—ˆ๋˜ ๋ช…์นญ๋“ค์ด ๋ณ€๊ฒฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

-Close Short -> Switch to Long
-Close Long -> Switch to Short
-Bullish Engulfing Long(1/3) -> CTK Long(1/3)
-Bearish Engulfing Short(1/3) -> CTK Short(1/3)
*์‹ ๊ทœ ์ถ”๊ฐ€ : SL_Long / SL_Short

3. ๋‚ ์งœ ์„ค์ •์˜ ์ดˆ๊ธฐ ์„ค์ • ๊ฐ’ ๋ณ€๊ฒฝ
1 Jan 2023 -> 11 Nov 2921

๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

Versionshinweise

โ‹…
-English description-

1. You can now set the sensitivity of the signal in the "Input" tab.
- The lower the value, the more sensitive the signal is.
- The default setting is Long10 / Short28.

2. Minor typo correction
- Default value of the date setting : 11 Nov 2921 -> 11 Nov 2021
- CTK short -> CTK Short

Thank you!



-ํ•œ๊ตญ์–ด ์„ค๋ช…-

1. ์ด์ œ ์‹œ๊ทธ๋„์˜ ๋ฏผ๊ฐ๋„๋ฅผ "Input"ํƒญ์—์„œ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
- ์ž…๋ ฅ๊ฐ’์ด ๋‚ฎ์„ ์ˆ˜๋ก ๋” ๋ฏผ๊ฐํ•˜๊ฒŒ ๋ฐ˜์‘ํ•ฉ๋‹ˆ๋‹ค.
- ๊ธฐ๋ณธ์„ธํŒ…์€ Long10 / Short28์ž…๋‹ˆ๋‹ค.

2. ์‚ฌ์†Œํ•œ ์˜คํƒ€ ์ˆ˜์ •
- ๋‚ ์งœ๊ฐ’ ๊ธฐ๋ณธ์„ค์ • : 11 Nov 2921 -> 11 Nov 2021
- CTK short -> CTK Short

Versionshinweise

โ‹…
-English description-

1. The indicator now cancels all orders from the opposite position each time the position is switched.
2. We solved the problem that the signal was not displayed properly when there was a gap between the previous day's open (or close) and today's close (or open) in the stock market.
3. The code has been briefly rearranged.
//Updates are always developed in a more reliable direction.
//This patch has significantly improved returns, but the goal is to improve losses as much as possible.


-ํ•œ๊ตญ์–ด ์„ค๋ช…-

1. ์ด์ œ ํฌ์ง€์…˜์„ ์Šค์œ„์นญํ•  ๋•Œ๋งˆ๋‹ค ๋ฐ˜๋Œ€ํŽธ ํฌ์ง€์…˜์˜ ์˜ค๋”๋“ค์„ ๋ชจ๋‘ ์ทจ์†Œํ•ฉ๋‹ˆ๋‹ค.
2. ์ฃผ์‹์‹œ์žฅ์—์„œ ์ „๋‚ open(๋˜๋Š” close)์™€ ์˜ค๋Š˜close(๋˜๋Š” open) ์‚ฌ์ด์— ๊ฐญ์ด ์ƒ๊ฒผ์„ ๋•Œ ์‹œ๊ทธ๋„์ด ์ œ๋Œ€๋กœ ํ‘œ์‹œ๋˜์ง€ ์•Š๋˜ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.
3. ์ฝ”๋“œ๋ฅผ ๊ฐ„๋žตํ•˜๊ฒŒ ์žฌ์ •๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค.
//์—…๋ฐ์ดํŠธ๋Š” ํ•ญ์ƒ ๋” ์•ˆ์ •์ ์ธ ๋ฐฉํ–ฅ์œผ๋กœ ๊ฐœ๋ฐœํ•ฉ๋‹ˆ๋‹ค.
//์ด๋ฒˆ ํŒจ์น˜์˜ ๊ฒฝ์šฐ์—” ์ˆ˜์ต๋ฅ ์ด ๋Œ€ํญ ํ–ฅ์ƒ๋˜์—ˆ์ง€๋งŒ ์†์‹ค์œจ์„ ์ตœ๋Œ€ํ•œ ์ค„์ด๋Š” ๋ฐฉํ–ฅ์œผ๋กœ ๊ฐœ์„ ํ•˜๋Š” ๊ฒƒ์ด ๋ชฉํ‘œ์ž…๋‹ˆ๋‹ค.

Versionshinweise

โ‹…
-English description- (-ํ•œ๊ตญ์–ด ์„ค๋ช…-)
Minor typo correction (์‚ฌ์†Œํ•œ ์˜คํƒ€ ์ˆ˜์ •)

Versionshinweise

โ‹…
-English description-
1. The "Sensitivity: Long" item on the "Input tab" has been changed to make it easier to understand.
Please set the "sensitivity: Long" to 7 to use the same as the old version released in February.
(Default value is 5.)

2. Minor typo correction
- CTK Long Long -> CTK Long

-ํ•œ๊ตญ์–ด ์„ค๋ช…-
1. Inputํƒญ์˜ "Sensitivity: Long" ํ•ญ๋ชฉ์„ ์ดํ•ดํ•˜๊ธฐ ์‰ฝ๊ฒŒ ๋ณ€๊ฒฝํ•˜์˜€์Šต๋‹ˆ๋‹ค.
2์›”๋‹ฌ์— ์ถœ์‹œํ•œ ๊ตฌ๋ฒ„์ „๊ณผ ๋™์ผํ•˜๊ฒŒ ์‚ฌ์šฉํ•˜๋ ค๋ฉด "Sensitivity: Long"๋ฅผ 7๋กœ ์„ค์ •ํ•ด์ฃผ์„ธ์š”.
(๊ธฐ๋ณธ๊ฐ’์€ 5์ž…๋‹ˆ๋‹ค.)

2. ์˜คํƒ€์ˆ˜์ •
- CTK Long Long -> CTK Long

Versionshinweise

โ‹…
version 1.07
-English description-
1. UI improvement (Input tab)
- Added version information.
- We grouped "Senitivity" / "Stop Loss" to make them easier to distinguish.
- Added tooltips to each item.


-ํ•œ๊ตญ์–ด ์„ค๋ช…-
1. UI๊ฐœ์„  (Input ํƒญ)
- ๋ฒ„์ „์ •๋ณด๋ฅผ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค.
- "Senitivity" ์™€ "Stop Loss" ํ•ญ๋ชฉ์„ ์•Œ์•„๋ณด๊ธฐ ์‰ฝ๊ฒŒ ๊ทธ๋ฃนํ™” ํ–ˆ์Šต๋‹ˆ๋‹ค.
- ๊ฐ ํ•ญ๋ชฉ์— ํˆดํŒ์„ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค.

Versionshinweise

โ‹…
-English description-

Bug fixed : "Switch to short" was overreacting.


-ํ•œ๊ตญ์–ด ์„ค๋ช…-

"Switch to short"๊ฐ€ ๊ณผํ•˜๊ฒŒ ๋ฐ˜์‘ํ•˜๋˜ ๋ถ€๋ถ„์„ ์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค.
Kommentare
serdar7434
โ‹…
Hello,
I'm testing your strategy. Thanks for your effort!

It had less Max Drawdown on previous versions.
I tested with settings below. Max drawdown was 413USD
BTCUSDTPERP - 1D
Backtest daterange: 2019-09-20 โ€” 2023-03-01
Initial Capital: 1000 USD
Order Size: 500 USD
Pyramiding: 21
Commision: 0.04
Slippage: 1

After you've updated, the Max drawdown is 614USD. It looks that isn't better on improving losses after the updates.
gingin1327
โ‹…
@serdar7434, Hi my friend. I'm so glad you tested my indicator.

Actually, the default value of the previous version has changed a little.
Instead of changing the item "Sensitivity: Long (The lower, the more sensitive)" to allow the user to adjust,
I set the default to be a little more sensitive.
If you want to use the same setting as the previous(old) version, you can set the "Sensitivity: Long" item to "7".

If you want to reduce Max drawdown further, you can also set the "Stop Loss" value lower.

Thank you so much for the test and I hope you find your best setting!

*And I just updated a new version.
*I recommend setting "Order size" to "18% of equity" rather than setting it to a specific amount.
Mehr