커뮤니티

문의 드립니다.

프로필 이미지
ikksoo
2025-07-23 09:32:55
136
글번호 192684
답변완료
안녕하세요 ~ 아래의 지표 중, 종가/현재가 가 (수식3) 강도파동을 돌파하는 검색식을 부탁드립니다. (수식1) 매수거래 // 캔들 구성 요소 계산 upper_wick = if(C>O, H-C, H-O); lower_wick = if(C>O, O-L, C-L); spread = H-L; body_length = spread - (upper_wick + lower_wick); // 비율 계산 percent_upper_wick = upper_wick/spread; percent_lower_wick = lower_wick/spread; percent_body_length = body_length/spread; // 매수 거래량 buying_volume = if(C>O, (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*V, ((percent_upper_wick + percent_lower_wick)/2)*V); // 누적 매수 거래량 eavg(buying_volume, cumulation_length) (수식2) 매도거래 // 기본 계산 (수식1과 동일) upper_wick = if(C>O, H-C, H-O); lower_wick = if(C>O, O-L, C-L); spread = H-L; body_length = spread - (upper_wick + lower_wick); percent_upper_wick = upper_wick/spread; percent_lower_wick = lower_wick/spread; percent_body_length = body_length/spread; // 매도 거래량 selling_volume = if(C<O, (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*V, ((percent_upper_wick + percent_lower_wick)/2)*V); // 누적 매도 거래량 eavg(selling_volume, cumulation_length) (수식3) 강도파동 // 누적 거래량 계산 cumulative_buying = eavg(if(C>O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); cumulative_selling = eavg(if(C<O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); // 거래량 강도 파동의 EMA volume_strength = if(cumulative_buying > cumulative_selling, cumulative_buying, cumulative_selling); eavg(volume_strength, cumulation_length) (수식4) CVD // 매수/매도 거래량 재계산 buying_vol = eavg(if(C>O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); selling_vol = eavg(if(C<O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); // 델타 계산 buying_vol - selling_vol - 지표조건설정 cumulation_length : 14 감사합니다.
검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2025-07-23 12:56:09

안녕하세요 예스스탁입니다. input : cumulation_length(14); var : upper_wick(0),lower_wick(0),spread(0),body_length(0); var : percent_upper_wick(0),percent_lower_wick(0),percent_body_length(0); var : buying_volume(0),selling_volume(0); var : cumulative_buying(0),cumulative_selling(0),volume_strength(0); var : buying_vol(0),selling_vol(0); // 캔들 구성 요소 계산 upper_wick = iff(C>O, H-C, H-O); lower_wick = iff(C>O, O-L, C-L); spread = H-L; body_length = spread - (upper_wick + lower_wick); // 비율 계산 percent_upper_wick = upper_wick/spread; percent_lower_wick = lower_wick/spread; percent_body_length = body_length/spread; // 매수 거래량 buying_volume = iff(C>O, (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*V, ((percent_upper_wick + percent_lower_wick)/2)*V); // 누적 매수 거래량 var1 = Ema(buying_volume, cumulation_length); // 매도 거래량 selling_volume = iff(C<O, (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*V, ((percent_upper_wick + percent_lower_wick)/2)*V); // 누적 매도 거래량 var2 = ema(selling_volume, cumulation_length); // 누적 거래량 계산 cumulative_buying = Ema(iff(C>O, (((H-L)-(iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L)))/(H-L) + ((iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L))/2)/(H-L))*V, (((iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); cumulative_selling = Ema(iff(C<O, (((H-L)-(iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L)))/(H-L) + ((iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L))/2)/(H-L))*V, (((iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); // 거래량 강도 파동의 EMA volume_strength = iff(cumulative_buying > cumulative_selling, cumulative_buying, cumulative_selling); var3 = Ema(volume_strength, cumulation_length); // 매수/매도 거래량 재계산 buying_vol = Ema(iff(C>O, (((H-L)-(iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L)))/(H-L) + ((iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L))/2)/(H-L))*V, (((iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); selling_vol = Ema(iff(C<O, (((H-L)-(iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L)))/(H-L) + ((iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L))/2)/(H-L))*V, (((iff(C>O,H-C,H-O)+iff(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); // 델타 계산 var4 = buying_vol - selling_vol; if CrossUp(C,var3) then Find(1); 즐거운 하루되세요 > ikksoo 님이 쓴 글입니다. > 제목 : 문의 드립니다. > 안녕하세요 ~ 아래의 지표 중, 종가/현재가 가 (수식3) 강도파동을 돌파하는 검색식을 부탁드립니다. (수식1) 매수거래 // 캔들 구성 요소 계산 upper_wick = if(C>O, H-C, H-O); lower_wick = if(C>O, O-L, C-L); spread = H-L; body_length = spread - (upper_wick + lower_wick); // 비율 계산 percent_upper_wick = upper_wick/spread; percent_lower_wick = lower_wick/spread; percent_body_length = body_length/spread; // 매수 거래량 buying_volume = if(C>O, (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*V, ((percent_upper_wick + percent_lower_wick)/2)*V); // 누적 매수 거래량 eavg(buying_volume, cumulation_length) (수식2) 매도거래 // 기본 계산 (수식1과 동일) upper_wick = if(C>O, H-C, H-O); lower_wick = if(C>O, O-L, C-L); spread = H-L; body_length = spread - (upper_wick + lower_wick); percent_upper_wick = upper_wick/spread; percent_lower_wick = lower_wick/spread; percent_body_length = body_length/spread; // 매도 거래량 selling_volume = if(C<O, (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*V, ((percent_upper_wick + percent_lower_wick)/2)*V); // 누적 매도 거래량 eavg(selling_volume, cumulation_length) (수식3) 강도파동 // 누적 거래량 계산 cumulative_buying = eavg(if(C>O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); cumulative_selling = eavg(if(C<O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); // 거래량 강도 파동의 EMA volume_strength = if(cumulative_buying > cumulative_selling, cumulative_buying, cumulative_selling); eavg(volume_strength, cumulation_length) (수식4) CVD // 매수/매도 거래량 재계산 buying_vol = eavg(if(C>O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); selling_vol = eavg(if(C<O, (((H-L)-(if(C>O,H-C,H-O)+if(C>O,O-L,C-L)))/(H-L) + ((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V, (((if(C>O,H-C,H-O)+if(C>O,O-L,C-L))/2)/(H-L))*V), cumulation_length); // 델타 계산 buying_vol - selling_vol - 지표조건설정 cumulation_length : 14 감사합니다.