답변완료
문의 드립니다.
평소 많은 정보 주심에 감사드립니다.
아래 신호 수식에 대한 종목 검색식 요청 드립니다.
aa=(highestsince(1,crossup(trix(20),0),c)+
lowestsince(1,crossdown(trix(20),0),c))/2;
M = BBandsUP(30, 1.8);
LL = Lowest(M, 기간);
HH = Highest(M, 기간);
NL = Valuewhen(1, M<LL(1),M);
Valuewhen(1,BarsSince(M<LL(1))==(기간-k),NL);
CrossUp(C,NL) and c>aa
감사합니다.
2025-06-21
266
글번호 191989
검색
답변완료
수식부탁드립니다
var : shortPeriod(5), longPeriod(20); var : bh(0),bd(0),bt(0),tl1(0),tx1(0),A1(0),A2(0),A3(0); var : sl(0),sd(0),st(0),tl2(0),tx2(0),B1(0),B2(0),B3(0); var : A31(0),B31(0); value1 = wma(C, shortPeriod); value2 = wma(C, longPeriod); If CrossUP(value1, value2) Then { buy(); bh = h; bd = sDate; bt = sTime; if sl > 0 Then { A1 = sd; A2 = st; A3 = sl; A31 = A3[1]; TL_SetEnd(TL1,A1,A2,A3[1]); tl1 = TL_New(A1,A2,A3,NextBarSdate,NextBarStime,A3); Text_SetLocation(Tx1,A1,A2,A3[1]); if A3 > A31 Then tx1 = Text_New(NextBarSdate,NextBarStime,A3,"▲"+NumToStr(A3,1)); Else tx1 = Text_New(NextBarSdate,NextBarStime,A3,NumToStr(A3,1)); Text_SetColor(tx1,Blue); Text_SetStyle(tx1,1,0); } } If CrossDown(value1, value2) Then { sell(); sl = l; sd = sDate; st = sTime; if bh > 0 Then { B1 = bd; B2 = bt; B3 = bh; B31 = B3[1]; TL_SetEnd(TL2,B1,B2,B3[1]); TL2 = TL_New(B1,B2,B3,NextBarSdate,NextBarStime,B3); Text_SetLocation(tx2,B1,B2,B3[1]); if B3 < B31 Then tx2 = Text_New(NextBarSdate,NextBarStime,B3,"▼"+NumToStr(B3,1)); Else tx2 = Text_New(NextBarSdate,NextBarStime,B3,NumToStr(B3,1)); Text_SetColor(tx2,Red); Text_SetStyle(tx2,1,1); } } if MarketPosition == 1 Then { if h > bh Then { bh = h; bd = sDate; bt = sTime; } } if MarketPosition == -1 Then { if l < sl Then { sl = l; sd = sDate; st = sTime; } } TL_SetEnd(tl1,NextBarSdate,NextBarStime,A3); TL_SetEnd(tl2,NextBarSdate,NextBarStime,B3); Text_SetLocation(tx1,NextBarSdate,NextBarStime,A3); Text_SetLocation(tx2,NextBarSdate,NextBarStime,B3); 60 일선 기준 - 위에서는 골든신호, 라인, 수치표시 - 아래에서는 데드신호, 라인, 수치표시가 되도록 부탁드립니다
2025-06-23
253
글번호 191988
시스템
답변완료
예스트레이더 종목검색으로 요청합니다^^*
*아래수식은 키움에서 작성한 수식입니다..
이것을 예스트레이더 종목검색으로 요청드립니다..
======================================================================
*아래 P2상수값은 40 입니다..
LT=LOWEST(L,P2);
HT=HIGHEST(H,P2);
NewH=VALUEWHEN(1,H>HT(1),H);
BOX1=HIGHEST(H,P2-2)<HIGHEST(H,P2-1);
TOP=VALUEWHEN(1,BarsSince(H>HT(1))==(P2-2) AND BOX1,NewH);
BTM=VALUEWHEN(1,BarsSince(H>HT(1))==(P2-2) AND BOX1,LT);
2025-06-21
267
글번호 191987
종목검색
답변완료
수식 문의 드립니다.
안녕하세요.
수식 문의 드립니다.
1. 볼린저_스퀴즈_상단
M20=ma(가격, 기간1, 종류);
M5=ma(가격, 기간2, 종류);
교차 = M20*2-M5;
이격 = M5-M20;
A = M20 + 이격*(비율/100);
---------------------------------
2. 중심선
M20=ma(가격, 기간1, 종류);
M5=ma(가격, 기간2, 종류);
교차 = M20*2-M5;
이격 = M5-M20;
A = M20 + 이격*(비율/100);
B = M20 - 이격*(비율/100);
(A+B)/2
--------------------------------
3. G/C
A = M20 + 이격;
B = M20 - 이격;
조건 = CrossUp(A, B) or CrossDown(A, B);
Valuewhen(1, 조건, 위치)
---------------------------------------------
4_.스퀴즈_하단
M20=ma(가격, 기간1, 종류);
M5=ma(가격, 기간2, 종류);
교차 = M20*2-M5;
이격 = M5-M20;
B = M20 - 이격*(비율/100);
===========================
가격 = (H+L+C)/3
기간1 = 20
기간2 = 5
종류 = 지수
비율 = 200
위치 = (A+B)/2
-------------------------------------------
부탁드립니다.
감사 합니다
2025-06-21
303
글번호 191986
지표
답변완료
수식작성 부탁드립니다.
운영자님 안녕하세요.
지난번 요청드려 받은 아래의 지표를 이용하여 시스템 수식을 만들려고 합니다.
매수조건 : cumulative_volume_delta 값이 red 에서 green 으로 변경될 때 매수
매도조건 : cumulative_volume_delta 값이 green 에서 red 으로 변경될 때 매도
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_volume(0),cumulative_selling_volume(0);
var : volume_strength_wave(0),ema_volume_strength_wave(0),cumulative_volume_delta(0);
upper_wick = iff(close>open , high-close , high-open);
lower_wick = iff(close>open , open-low , close-low);
spread = high-low;
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(close>open , (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*volume , ((percent_upper_wick + percent_lower_wick)/2) * volume);
selling_volume = iff(close<open , (percent_body_length + (percent_upper_wick + percent_lower_wick)/2)*volume , ((percent_upper_wick + percent_lower_wick)/2) * volume);
cumulative_buying_volume = ema(buying_volume,cumulation_length);
cumulative_selling_volume = ema(selling_volume,cumulation_length);
volume_strength_wave = iff(cumulative_buying_volume > cumulative_selling_volume , cumulative_buying_volume , cumulative_selling_volume);
ema_volume_strength_wave = ema(volume_strength_wave , cumulation_length);
cumulative_volume_delta = cumulative_buying_volume - cumulative_selling_volume;
plot1(cumulative_buying_volume,"cumulative_buying_volume",green);
plot2(cumulative_selling_volume,"cumulative_selling_volume",red);
plot3(ema_volume_strength_wave,"ema_volume_strength_wave",gray);
plot4(cumulative_volume_delta,"cumulative_volume_delta",iff(cumulative_volume_delta>0 ,green , red));
2025-06-20
306
글번호 191981
시스템