커뮤니티

수식변환 부탁드립니다.

프로필 이미지
루브르
2021-04-26 18:04:50
1350
글번호 148417
답변완료
안녕하세요. 키움에서 사용하던 수식 2가지입니다. 예스랭귀지로 수식변환 부탁드립니다. 항상 감사합니다. 수식1 AA=highest(V(1), 10); // crossup 70% of 10 candel's highest volume BB=crossup(V,AA*0.7); CC=highest(C(1), 10); // crossup 10 candel's highest DD=crossup(C, CC); EE=(highest(high(25),9)+lowest(low(25),9)+highest(high(25),26)+lowest(low(25),26))/4; FF=(highest(high(25),52)+lowest(low(25),52))/2; BB and DD and EE < C and FF < C 수식2 M=macd(12,26); valuewhen(1,crossup(m,0),c)
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2021-04-27 11:10:34

안녕하세요 예스스탁입니다. 1 var : AA(0),BB(False),CC(0),DD(false),EE(0),FF(0); AA = highest(V, 10)[1]; BB = crossup(V,AA*0.7); CC = highest(C, 10)[1]; DD = crossup(C, CC); EE=(highest(high,9)[25]+lowest(low,9)[25]+highest(high,26)[25]+lowest(low,26)[25])/4; FF=(highest(high,52)[25]+lowest(low,52)[25])/2; if BB and DD and EE < C and FF < C Then Find(1); 2 var : MACDV(0); MACDV = macd(12,26); if CrossUp(MACDV,0) Then var1 = C; Plot1(var1); 즐거운 하루되세요 > 루브르 님이 쓴 글입니다. > 제목 : 수식변환 부탁드립니다. > 안녕하세요. 키움에서 사용하던 수식 2가지입니다. 예스랭귀지로 수식변환 부탁드립니다. 항상 감사합니다. 수식1 AA=highest(V(1), 10); // crossup 70% of 10 candel's highest volume BB=crossup(V,AA*0.7); CC=highest(C(1), 10); // crossup 10 candel's highest DD=crossup(C, CC); EE=(highest(high(25),9)+lowest(low(25),9)+highest(high(25),26)+lowest(low(25),26))/4; FF=(highest(high(25),52)+lowest(low(25),52))/2; BB and DD and EE < C and FF < C 수식2 M=macd(12,26); valuewhen(1,crossup(m,0),c)