빙구처럼 트레이딩: 코인 차트 "처음부터" 공부하기 #52- 일봉 보조지표 만들기 II (Keltner Channel) by roostermine

View this thread on steempeak.com
· @roostermine ·
$1.29
빙구처럼 트레이딩: 코인 차트 "처음부터" 공부하기 #52- 일봉 보조지표 만들기 II (Keltner Channel)
---

이어서 만드는 실용적인 보조지표! 수익률이나, 신뢰도 측면에서는 많은 데이터 및 하락장에서 데이터 측정을 시작한 한 시간 봉 대비 떨어질 수 있으나, 코딩을 하여 사용하실 분들이 아니라면 현실적으로 사용하기 불가능하기에 일봉 데이터를 제작해보고 있습니다. 

---

# 복습

![image.png](https://files.steempeak.com/file/steempeak/roostermine/rhI4Xu9K-image.png)
> https://www.steemcoinpan.com/sct/@roostermine/51-i-keltner-channel

워낙 아이디어가 단순해서 그냥 어제 그림 그대로 가져왔습니다. 가격을 중심으로 켈트너 채널을 만든 다음, 윗 라인을 돌파할 때 매수, 다시 돌아올 때 매도를 하는 아주 간단한 전략 입니다. 

--- 


![image.png](https://files.steempeak.com/file/steempeak/roostermine/QWlRl4RU-image.png)

코딩으로 나타내면, 이런 가격에서 매수/매도를 반복하며 기회를 노리다가, 시세가 급격하게 터지는 구간을 한 번씩 먹어주는 전략이라고 할 수 있습니다. 위 예시에서는 1번 크게 익절하기 위하여 2 번은 매수 후 거의 비슷한 가격에 매도를 하여 리스크 관리를 해주었습니다. (리스크 관리: 손실 최소화 )

---

# 분석 

>plot(sma(close,Trendma), style = cross, color= red)
plot(HighBand, style= cross, color = blue)

일단 분석을 하려면 진입 조건을 알려주는 모든 것들이 보여야 하니깐, 필터로 사용하고 있는 이동평균선을 가시화 해줍니다. 그리고 흐리멍텅한 색깔로 보이는 진입 조건을 보여주는 켄트너 윗선도 색깔을 변경해줍니다. 

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/HcejTPse-image.png)

대충 보아하니 요러하군요. 그냥 눈에 딱 보고 드는 생각이 200 일 이동평균선이 너무 비효율적입니다. 물론 이건 최적화 단계에서 하는 것이지만, 이정도일 경우에는... 후딱 처리를 해주죠. 제가 원하는 느낌은

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/1soanQ1B-image.png)

초록색 선 느낌으로, 17년도 불장 및 현재 조정을 주는 경우에 어느정도 닿아 지금 발생하는 매수 시그널에 대해서는 필터링 했으면 좋겠습니다. 대충 100 일 정도로 바꿔주면 될 것 같습니다. (느낌상 ㅋㅋ)

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/mQqDjmw8-image.png)

크흐.. 나의 눈은 정확. 

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/Y3FNgZUf-image.png)
>200일선 데이터

![image.png](https://files.steempeak.com/file/steempeak/roostermine/VI8rw1Qe-image.png)
>100일선 데이터

수익률이 늘긴 늘었는데, 손실률도 늘어서, 200 쓰는게 낫네요... 이왕 이렇게된서 최적화를 좀 해봅시다. 고쳐보고 싶은 점이 이것 밖에 없어서..

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/65R8Xzbh-image.png)

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/khBzABX1-image.png)

오케이! 데이터를 분석해봅시다. 일단 수익률 편차가 조금 있었습니다. 60 일 기준으로 이동평균선을 잡았을 경우에 수익률이 가장 높군요. 신기하네요. 보통 긴 이동평균선 일수록 추세를 잘 잡는다고 알려져있는데, 종목별로 테스팅이 필요한 이유 입니다!

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/UleDR3Wz-image.png)

그리고 60 일 기준으로 했을 때 손실률도 가장 낮은 것 같습니다. 물론 좀 더 큰 주기에서 손실률이 더 낮지만, 수익률이 비례할 경우 60일을 사용했을 때 더 좋은 성과가 나옵니다. 

손실률은 달러로 계산했습니다. 시작 자본이 천불 이기 때문에 최악의 경우 25% 까이고 시작하게 됩니다. (아마 초고점 잡는 것보다 어렵지 싶습니다)

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/Gg1L5eC5-image.png)

흐음 이친구를 좀 분석해보죠. 

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/d9mTT6gR-image.png)

비트코인 탄생 이후 정말 강한 추세를 타고 급등한 다음 위에서 노는 모습입니다. 상승률이 눈대충으로 400% 정도 오르고 그 이후에 천천히 400 퍼센트를 채웠군요. 

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/9XwfMa3n-image.png)

최소 거래 기간을 2년으로 잡는 편인데, 17년 초 부터 거래를 했다면 350 % 정도 포트폴리오가 상승 했겠습니다. 

---

이제 켈트너 채널에 대한 부분을 최적화해보겠습니다. 계수는 냅두고, 주기를 건들여주죠. 

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/47tzEsGs-image.png)

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/QsELLzFf-image.png)

어후야.. 수익률이 35에 피크가 있군요. 

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/E6MoQCuH-image.png)

손실액수 체크도 좀 해주면, 길게 주면 역시 손실이 커지는 군요. 확실한 추세가 보입니다. (길면 각도가 상대적으로 낮아져서 손실시 더 크게 손실, 이길 시 더 크게 이김) 최대한 짧으면서, 수익률이 큰 것을 골라주면 되겠습니다. 35 당첨!

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/WeTWyejC-image.png)

좋습니다. 천프로 가까히 찍어버렸습니다. 물론 오버피팅을 한게 없지 않아 있는데... 어쨋든!!!

---

# 오늘의 성과! 

![image.png](https://files.steempeak.com/file/steempeak/roostermine/7RuRj2WG-image.png)

![image.png](https://files.steempeak.com/file/steempeak/roostermine/WeTWyejC-image.png)

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/NOvEAS37-image.png)

수익률이 1.5배 가량 증가 했으며, 손실률은 20% 정도 증가! 이런 불균형 아주 좋습니다. 진입 횟수도 증가하여 약간의 신뢰도를 높여주었습니다! 

---

# 비교! 

![image.png](https://files.steempeak.com/file/steempeak/roostermine/B1mO8l8b-image.png)

---

![image.png](https://files.steempeak.com/file/steempeak/roostermine/rrsnfUWD-image.png)

---

질문, 댓글, 팔로우는 감사합니다!

새로운 아이디어, 종목 추천 등은 언제나 환영입니다!

---
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 45 others
properties (23)
post_id78,507,323
authorroostermine
permlink52-ii-keltner-channel
categorysct
json_metadata{"app":"steempeak\/1.14.10","format":"markdown","tags":["sct","zzan","liv","palnet","steemleo"],"users":["roostermine"],"links":["https:\/\/www.steemcoinpan.com\/sct\/@roostermine\/51-i-keltner-channel"],"image":["https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/rhI4Xu9K-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/QWlRl4RU-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/HcejTPse-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/1soanQ1B-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/mQqDjmw8-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/Y3FNgZUf-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/VI8rw1Qe-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/65R8Xzbh-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/khBzABX1-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/UleDR3Wz-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/Gg1L5eC5-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/d9mTT6gR-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/9XwfMa3n-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/47tzEsGs-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/QsELLzFf-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/E6MoQCuH-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/WeTWyejC-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/7RuRj2WG-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/NOvEAS37-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/B1mO8l8b-image.png","https:\/\/files.steempeak.com\/file\/steempeak\/roostermine\/rrsnfUWD-image.png"]}
created2019-07-30 06:54:54
last_update2019-07-30 06:54:54
depth0
children5
net_rshares3,891,254,759,303
last_payout2019-08-06 06:54:54
cashout_time1969-12-31 23:59:59
total_payout_value0.996 SBD
curator_payout_value0.292 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length4,107
author_reputation32,029,897,993,437
root_title"빙구처럼 트레이딩: 코인 차트 "처음부터" 공부하기 #52- 일봉 보조지표 만들기 II (Keltner Channel)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (109)
@dj-on-steem ·
시봉 도장 깨고 일봉으로 고고~ ^^
properties (22)
post_id78,614,325
authordj-on-steem
permlinkpvlb1x
categorysct
json_metadata{"tags":["sct"],"app":"steemit\/0.1"}
created2019-08-02 03:29:57
last_update2019-08-02 03:29:57
depth1
children0
net_rshares0
last_payout2019-08-09 03:29:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length20
author_reputation15,019,887,046,324
root_title"빙구처럼 트레이딩: 코인 차트 "처음부터" 공부하기 #52- 일봉 보조지표 만들기 II (Keltner Channel)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@lovelyyeon.sct ·
@roostermine님~ 요 며칠 글도 활동도 뜸하신 것 같은데, 무슨 일 있으신가요? 별일 없이 무사히 잘 오시기를 바랍니다...
properties (22)
post_id78,751,076
authorlovelyyeon.sct
permlinkpvsdl1
categorysct
json_metadata{"tags":["sct"],"users":["roostermine"],"app":"steemcoinpan\/0.1"}
created2019-08-05 23:07:54
last_update2019-08-05 23:07:54
depth1
children2
net_rshares0
last_payout2019-08-12 23:07:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length74
author_reputation489,778,819,368,445
root_title"빙구처럼 트레이딩: 코인 차트 "처음부터" 공부하기 #52- 일봉 보조지표 만들기 II (Keltner Channel)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@roostermine ·
연님~ 바빠지기도 했고, 글을 작성하도 손해가 나기 시작해서요... 하핫 
레퍼럴 홍보도 해볼까 했는데 구조적으로 역설적인 부분도 좀 보이네요... ㅠㅠ

Posted using [Partiko iOS](https://partiko.app/referral/roostermine)
properties (22)
post_id78,753,324
authorroostermine
permlinkroostermine-re-lovelyyeon-sct-pvsdl1-20190806t010605931z
categorysct
json_metadata{"app":"partiko","client":"ios"}
created2019-08-06 01:06:06
last_update2019-08-06 01:06:06
depth2
children1
net_rshares0
last_payout2019-08-13 01:06:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length155
author_reputation32,029,897,993,437
root_title"빙구처럼 트레이딩: 코인 차트 "처음부터" 공부하기 #52- 일봉 보조지표 만들기 II (Keltner Channel)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@lovelyyeon.sct ·
아 그러셨군요.. 음~ 일단 지금 미활용 sct가 있으시고 소각글을 꾸준히 하신다면 조합가입도 고려해보심이 좋을것같아요. 여러모로 기운내세요~!!!
properties (22)
post_id78,758,580
authorlovelyyeon.sct
permlinkpvsvk3
categorysct
json_metadata{"tags":["sct"],"app":"steemcoinpan\/0.1"}
created2019-08-06 05:36:06
last_update2019-08-06 05:36:06
depth3
children0
net_rshares0
last_payout2019-08-13 05:36:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length82
author_reputation489,778,819,368,445
root_title"빙구처럼 트레이딩: 코인 차트 "처음부터" 공부하기 #52- 일봉 보조지표 만들기 II (Keltner Channel)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steemitboard ·
Congratulations @roostermine! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@roostermine/birthday2.png</td><td>Happy Birthday! - You are on the Steem blockchain for 2 years!</td></tr></table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@roostermine) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=roostermine)_</sub>


###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
post_id82,340,334
authorsteemitboard
permlinksteemitboard-notify-roostermine-20191206t173218000z
categorysct
json_metadata{"image":["https:\/\/steemitboard.com\/img\/notify.png"]}
created2019-12-06 17:32:18
last_update2019-12-06 17:32:18
depth1
children0
net_rshares0
last_payout2019-12-13 17:32:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length632
author_reputation38,705,954,145,809
root_title"빙구처럼 트레이딩: 코인 차트 "처음부터" 공부하기 #52- 일봉 보조지표 만들기 II (Keltner Channel)"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000