커뮤니티

부탁 드립니다.

프로필 이미지
그리워
2021-04-21 11:23:31
1301
글번호 148242
답변완료
aa=(highestsince(1,crossup(trix(20),0),c)+ lowestsince(1,crossdown(trix(20),0),c))/2; //100 a=Highest(h(1), 20, 1); a1=Highest(h(1), 40, 1); a2=Highest(h(1), 60, 1); crossup(c,a) and crossup(c,a1) and crossup(c,a2) and c>aa //100 and SUM(if(V(1)*2<= V, 1,0),3) //100 and c>predayclose() //100 and o(1)/c(1)>0.5 //100 and L/H>0.7 //100 and H/C>0.3 //100 and C>dayopen() //100 and Disparity(5) >= 90 //100 and c<predayclose()*1.15 // 100 and c>BBandsUp(30,1.8) //100 and time >= 090200 and time <= 153000 //100 어제의 수식 정말 감사 합니다. 죄송 하지만, 한 번 더 부탁 드려요. 위에 신호가 나온 종목 중에서 macd 오실레이터 값 5, 20, 5 이것이 0선을 상향 돌파 할 때, 종목을 찾고 싶습니다.
종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2021-04-21 14:43:51

안녕하세요 예스스탁입니다. input : short(5), long(20), signal(5); Var : MACDv(0), MACDs(0),macdo(0); var : trixv(0),hh(0),ll(0),aa(0),a(0),a1(0),a2(0); if sdate != sdate[1] Then Condition1 = False; trixv = trix(20); if crossup(trixv,0) Then hh = C; Else { if hh > 0 and C > hh Then hh = c; } if CrossDown(trixv,0) Then ll = C; Else { if ll > 0 and C < ll Then ll = c; } aa = (hh+ll)/2; a = Highest(h, 20)[1]; a1 = Highest(h, 40)[1]; a2 = Highest(h, 60)[1]; if crossup(c,a) and crossup(c,a1) and crossup(c,a2) and c>aa //100 and AccumN(iff(V[1]*2<= V, 1,0),3) >= 1 //100 and c>dayclose(1) //100 and o[1]/c[1]>0.5 //100 and L/H>0.7 //100 and H/C>0.3 //100 and C>dayopen() //100 and Disparity(5) >= 90 //100 and c<dayclose(1)*1.15 // 100 and c>BollBandUp(30,1.8) //100 and stime >= 090200 and stime <= 153000 //100 Then Condition1 = true; MACDv = MACD(short, long); MACDs = ema(MACDv,signal); macdo = MACDv-MACDs; if Condition1 == true and CrossUp(MACDv,0) Then Find(1); 즐거운 하루되세요 > 그리워 님이 쓴 글입니다. > 제목 : 부탁 드립니다. > aa=(highestsince(1,crossup(trix(20),0),c)+ lowestsince(1,crossdown(trix(20),0),c))/2; //100 a=Highest(h(1), 20, 1); a1=Highest(h(1), 40, 1); a2=Highest(h(1), 60, 1); crossup(c,a) and crossup(c,a1) and crossup(c,a2) and c>aa //100 and SUM(if(V(1)*2<= V, 1,0),3) //100 and c>predayclose() //100 and o(1)/c(1)>0.5 //100 and L/H>0.7 //100 and H/C>0.3 //100 and C>dayopen() //100 and Disparity(5) >= 90 //100 and c<predayclose()*1.15 // 100 and c>BBandsUp(30,1.8) //100 and time >= 090200 and time <= 153000 //100 어제의 수식 정말 감사 합니다. 죄송 하지만, 한 번 더 부탁 드려요. 위에 신호가 나온 종목 중에서 macd 오실레이터 값 5, 20, 5 이것이 0선을 상향 돌파 할 때, 종목을 찾고 싶습니다.