커뮤니티

수식변환 문의

프로필 이미지
anj
2023-03-30 01:36:21
1949
글번호 167689
답변완료
아래 수식은 키움증권 영웅문 수식인데요 이 수식을 예스트레이더 종목검색식과 검색식으로 변환 부탁드려요(__) 1. //전일 종가가 저가(지지선)를 깨고 AA=C(1)<lowest(C(2), 60)*0.97; //Demark 목표고가 BB=if(C(1)>O(1), (H(1)+L(1)+C(1)+H(1))/2-L(1), (if(C(1)<O(1), (H(1)+L(1)+C(1)+L(1))/2-L(1), (H(1)+L(1)+C(1)+C(1))/2-L(1)) ) ); //Demark 기준값 CC=if(C(1)>O(1), (H(1)+L(1)+C(1)+H(1))/4, (if(C(1)<O(1), (H(1)+L(1)+C(1)+L(1))/4, (H(1)+L(1)+C(1)+C(1))/4) ) ); DD=(O>=BB) or crossup(C,BB); EE= (O>=CC) or crossup(C,CC); FF=V>=V(1)*Vmul; GG=C>O; HH=C(1)<=O; AA and (DD or EE) and FF and GG and HH 2. 지표변수 period_max:60 period_min:10 lower:90 upper:140 CANDLE=sum(1); AA=highest(C(1), 125); BB=valuewhen(1, crossup(C, AA), CANDLE); cloud1=( highest(high,9)+ lowest(low,9)+ highest(high,26)+ lowest(low,26) )/4; cloud2=( highest(high,52)+ lowest(low,52) )/2; condition= crossup(C, AA) and (CANDLE-BB(1)<period_max) and (period_min< CANDLE-BB(1)) and (lower<disparity(60) and disparity(60) <upper) and (C > cloud1(25) and C > cloud2(25)) and (O < cloud1(25)*1.3 and O < cloud2(25)*1.3)
종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-03-30 10:45:11

안녕하세요 예스스탁입니다. 1-1 종목검색 input : Vmul(2); var : AA(False), BB(0),CC(0),DD(False),EE(False),FF(False),GG(False),HH(False); AA=C[1]<lowest(C[2], 60)*0.97; //Demark 목표고가 BB=iff(C>O[1],(H[1]+L[1]+C[1]+H[1])/2-L[1], (iff(C[1]<O[1],(H[1]+L[1]+C[1]+L[1])/2-L[1],(H[1]+L[1]+C[1]+C[1])/2-L[1]))); //Demark 기준값 CC=iff(C[1]>O[1], (H[1]+L[1]+C[1]+H[1])/4, (iff(C[1]<O[1], (H[1]+L[1]+C[1]+L[1])/4, (H[1]+L[1]+C[1]+C[1])/4))); DD = (O>=BB) or crossup(C,BB); EE = (O>=CC) or crossup(C,CC); FF = V>=V[1]*Vmul; GG = C>O; HH = C[1]<=O; if AA and (DD or EE) and FF and GG and HH Then Find(1); 1-2 검색 input : Vmul(2); var : AA(False), BB(0),CC(0),DD(False),EE(False),FF(False),GG(False),HH(False); AA=C[1]<lowest(C[2], 60)*0.97; //Demark 목표고가 BB=iff(C>O[1],(H[1]+L[1]+C[1]+H[1])/2-L[1], (iff(C[1]<O[1],(H[1]+L[1]+C[1]+L[1])/2-L[1],(H[1]+L[1]+C[1]+C[1])/2-L[1]))); //Demark 기준값 CC=iff(C[1]>O[1], (H[1]+L[1]+C[1]+H[1])/4, (iff(C[1]<O[1], (H[1]+L[1]+C[1]+L[1])/4, (H[1]+L[1]+C[1]+C[1])/4))); DD = (O>=BB) or crossup(C,BB); EE = (O>=CC) or crossup(C,CC); FF = V>=V[1]*Vmul; GG = C>O; HH = C[1]<=O; if AA and (DD or EE) and FF and GG and HH Then plot1(H,"검색",magenta); 2-1 종목검색 input : period_max(60),period_min(10),lower(90),upper(140); var : CANDLE(0),cloud1(0),cloud2(0); var : AA(0),BB(0); CANDLE = CANDLE+1; AA=highest(C[1], 125); if CrossUp(C,AA) Then BB = CANDLE; cloud1 =( highest(high,9)+ lowest(low,9)+ highest(high,26)+ lowest(low,26) )/4; cloud2=( highest(high,52)+ lowest(low,52) )/2; if crossup(C, AA) and (CANDLE-BB[1]<period_max) and (period_min< CANDLE-BB[1]) and (lower<disparity(60) and disparity(60) <upper) and (C > cloud1[25] and C > cloud2[25]) and (O < cloud1[25]*1.3 and O < cloud2[25]*1.3) Then Find(1); 2-2 input : period_max(60),period_min(10),lower(90),upper(140); var : CANDLE(0),cloud1(0),cloud2(0); var : AA(0),BB(0); CANDLE = CANDLE+1; AA=highest(C[1], 125); if CrossUp(C,AA) Then BB = CANDLE; cloud1 =( highest(high,9)+ lowest(low,9)+ highest(high,26)+ lowest(low,26) )/4; cloud2=( highest(high,52)+ lowest(low,52) )/2; if crossup(C, AA) and (CANDLE-BB[1]<period_max) and (period_min< CANDLE-BB[1]) and (lower<disparity(60) and disparity(60) <upper) and (C > cloud1[25] and C > cloud2[25]) and (O < cloud1[25]*1.3 and O < cloud2[25]*1.3) Then plot1(H,"검색",magenta); 즐거운 하루되세요 > anj 님이 쓴 글입니다. > 제목 : 수식변환 문의 > 아래 수식은 키움증권 영웅문 수식인데요 이 수식을 예스트레이더 종목검색식과 검색식으로 변환 부탁드려요(__) 1. //전일 종가가 저가(지지선)를 깨고 AA=C(1)<lowest(C(2), 60)*0.97; //Demark 목표고가 BB=if(C(1)>O(1), (H(1)+L(1)+C(1)+H(1))/2-L(1), (if(C(1)<O(1), (H(1)+L(1)+C(1)+L(1))/2-L(1), (H(1)+L(1)+C(1)+C(1))/2-L(1)) ) ); //Demark 기준값 CC=if(C(1)>O(1), (H(1)+L(1)+C(1)+H(1))/4, (if(C(1)<O(1), (H(1)+L(1)+C(1)+L(1))/4, (H(1)+L(1)+C(1)+C(1))/4) ) ); DD=(O>=BB) or crossup(C,BB); EE= (O>=CC) or crossup(C,CC); FF=V>=V(1)*Vmul; GG=C>O; HH=C(1)<=O; AA and (DD or EE) and FF and GG and HH 2. 지표변수 period_max:60 period_min:10 lower:90 upper:140 CANDLE=sum(1); AA=highest(C(1), 125); BB=valuewhen(1, crossup(C, AA), CANDLE); cloud1=( highest(high,9)+ lowest(low,9)+ highest(high,26)+ lowest(low,26) )/4; cloud2=( highest(high,52)+ lowest(low,52) )/2; condition= crossup(C, AA) and (CANDLE-BB(1)<period_max) and (period_min< CANDLE-BB(1)) and (lower<disparity(60) and disparity(60) <upper) and (C > cloud1(25) and C > cloud2(25)) and (O < cloud1(25)*1.3 and O < cloud2(25)*1.3)