커뮤니티

CT 변환 문의

프로필 이미지
회원
2014-07-23 18:52:37
168
글번호 77035
답변완료
안녕하세요. 아래 CT 수식 YT로 변환좀 부탁 드릴게요. 랭귀지가 바뀌니 적응이 빨리 안되네요. 이제까지 다루었던 함수나 지표를 YT로 변환한 것을 보면서 공부하는게 이해가 빠를것 같습니다. 다소 귀찮은(?) 문의 드려서 죄송합니다. ^^; 감사합니다. Var9 = (highd+lowd)/2 Var15= highd-opend Var16= opend-lowd Var11 = highd(1)-lowd(1) Var12 = highd-lowd Var20 = close-lowd Var26 = highd-close Var21= hhv(1, high, mo1) Var22= llv(1, low, mo1) Var28= mov(Var21, mo2, s) Var29= mov(Var22, mo2, s) Var10= mov(close, 4, s) Var49= Var21-var22 If Var15<>0 And Var16<>0 Then Var55= Var15/var16 End If Var80= high-low Var84= Abs(close-var9) Var85= Abs(opend-close) '------------------------------------------------------------ Var57= slowk(50, 30) Var58= slowd(50, 30, 30) Var30= slowk(40, 15) Var53= slowd(40, 15, 15) Var76= slowk(20, 7) Var77= slowd(20, 7, 7) Var95= volMacd(20, 40) Var98= volMacdSignal(20, 40, 15) 'Var93= MacdSignal(close, 48, 104, 36) Var14= BbandTop(close, 40, 2, s) Var25= BbandMid(close, 40, 2, s) Var27= BbandBot(close, 40, 2, s) Var63= Var14-var27 If tdate(1)<>tdate Then Var74=0 Var75=0 End If If crossup(Var30, Var53) Then Var96= close Var74= Var74+1 End If If crossdn(Var30, Var53) Then Var97= close Var75= Var75+1 End If '------------------------------------------------------------------- If tdate<>tdate(1) Then Var38=0 End If If ttime>=0900 And ttime<=1515 Then Var38= Var38+1 End If If Var38<20 Then Var81= hhv(1, Var80, Var38) End If If Var38>=20 Then Var81= hhv(1, Var80, 20) End If '--------------------------------------------------------- If tdate(1)<>tdate Then Var99=0 End If Var99= Var99+volume Var68= ttime/900 '----------------------------------------------------------------------------- Var50= maxlist(1, highd(1), highd(2), highd(3), highd(4)) Var51= minlist(1, lowd(1), lowd(2), lowd(3), lowd(4)) Var54= Var50-var51 Cond5= highd<=highd(1) Or (highd>highd(1) And Var26<1.2) Cond6= opend<=highd(1) Or (opend>highd(1) And (ttime<1000 Or (ttime>=1000 And close<=closed(1)))) Cond13= Var54>7.0 And Var27>2.5 And closed(1)>closed(5) Cond14= Var28(1)>var28(2) And Var29(1)<var29(2) Cond16= Var11>=2.3 And opend<=highd(1) And opend>=lowd(1) And close>var74 And close<var70 Cond18= Var16>1.2 And Var84<=0.30
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2014-07-24 14:58:07

안녕하세요 예스스탁입니다. Var9 = (highd(0)+lowd(0))/2; Var15= highd(0)-opend(0); Var16= opend(0)-lowd(0); Var11 = highd(1)-lowd(1); Var12 = highd(0)-lowd(0); Var20 = close-lowd(0); Var26 = highd(0)-close; Var21= nthhighest(1, high, mo1); Var22= NthLowest(1, low, mo1); Var28= ma(Var21, mo2); Var29= ma(Var22, mo2); Var10= ma(close, 4); Var49= Var21-var22; If Var15<>0 And Var16<>0 Then{ Var55= Var15/var16; } Var80= high-low; Var84= Abs(close-var9); Var85= Abs(opend(0)-close); #------------------------------------------------------------ Var57= StochasticsK(50, 30); Var58= StochasticsD(50, 30, 30); Var30= StochasticsK(40, 15); Var53= StochasticsD(40, 15, 15); Var76= StochasticsK(20, 7); Var77= StochasticsD(20, 7, 7); Var95= ema(V,20)-ema(V,40); Var98= ema(var95,15); #Var93= MacdSignal(close, 48, 104, 36); Var14= BollBandUp(40, 2); Var25= ma(c,40); Var27= BollBandDown(40, 2); Var63= Var14-var27; If sdate[1] <> sdate Then { Var74=0; Var75=0; } If crossup(Var30, Var53) Then{ Var96= close; Var74= Var74+1; } If crossdown(Var30, Var53) Then{ Var97= close; Var75= Var75+1; } #------------------------------------------------------------------- If sdate<>sdate[1] Then { Var38=0; } If stime>=090000 And stime<=151500 Then { Var38= Var38+1; } If Var38<20 Then { Var81= NthHighest(1, Var80, Var38); } If Var38>=20 Then{ Var81= NthHighest(1, Var80, 20); } #--------------------------------------------------------- If sdate[1]<>sdate Then { Var99=0; } Var99= Var99+volume; Var68= stime/900; #----------------------------------------------------------------------------- Var50= maxlist(1, highd(1), highd(2), highd(3), highd(4)); Var51= minlist(1, lowd(1), lowd(2), lowd(3), lowd(4)); Var54= Var50-var51; Condition5= highd(0)<=highd(1) Or (highd(0)>highd(1) And Var26<1.2); Condition6= opend(0)<=highd(1) Or (opend(0)>highd(1) And (stime<100000 Or (stime>=100000 And close<=closed(1)))); Condition13= Var54>7.0 And Var27>2.5 And closed(1)>closed(5); Condition14= Var28[1]>var28[2] And Var29[1]<var29[2]; Condition16= Var11>=2.3 And opend(0)<=highd(1) And opend(0)>=lowd(1) And close>var74 And close<var70; Condition18= Var16>1.2 And Var84<=0.30; 즐거운 하루되세요 > HI_mi****** 님이 쓴 글입니다. > 제목 : CT 변환 문의 > 안녕하세요. 아래 CT 수식 YT로 변환좀 부탁 드릴게요. 랭귀지가 바뀌니 적응이 빨리 안되네요. 이제까지 다루었던 함수나 지표를 YT로 변환한 것을 보면서 공부하는게 이해가 빠를것 같습니다. 다소 귀찮은(?) 문의 드려서 죄송합니다. ^^; 감사합니다. Var9 = (highd+lowd)/2 Var15= highd-opend Var16= opend-lowd Var11 = highd(1)-lowd(1) Var12 = highd-lowd Var20 = close-lowd Var26 = highd-close Var21= hhv(1, high, mo1) Var22= llv(1, low, mo1) Var28= mov(Var21, mo2, s) Var29= mov(Var22, mo2, s) Var10= mov(close, 4, s) Var49= Var21-var22 If Var15<>0 And Var16<>0 Then Var55= Var15/var16 End If Var80= high-low Var84= Abs(close-var9) Var85= Abs(opend-close) '------------------------------------------------------------ Var57= slowk(50, 30) Var58= slowd(50, 30, 30) Var30= slowk(40, 15) Var53= slowd(40, 15, 15) Var76= slowk(20, 7) Var77= slowd(20, 7, 7) Var95= volMacd(20, 40) Var98= volMacdSignal(20, 40, 15) 'Var93= MacdSignal(close, 48, 104, 36) Var14= BbandTop(close, 40, 2, s) Var25= BbandMid(close, 40, 2, s) Var27= BbandBot(close, 40, 2, s) Var63= Var14-var27 If tdate(1)<>tdate Then Var74=0 Var75=0 End If If crossup(Var30, Var53) Then Var96= close Var74= Var74+1 End If If crossdn(Var30, Var53) Then Var97= close Var75= Var75+1 End If '------------------------------------------------------------------- If tdate<>tdate(1) Then Var38=0 End If If ttime>=0900 And ttime<=1515 Then Var38= Var38+1 End If If Var38<20 Then Var81= hhv(1, Var80, Var38) End If If Var38>=20 Then Var81= hhv(1, Var80, 20) End If '--------------------------------------------------------- If tdate(1)<>tdate Then Var99=0 End If Var99= Var99+volume Var68= ttime/900 '----------------------------------------------------------------------------- Var50= maxlist(1, highd(1), highd(2), highd(3), highd(4)) Var51= minlist(1, lowd(1), lowd(2), lowd(3), lowd(4)) Var54= Var50-var51 Cond5= highd<=highd(1) Or (highd>highd(1) And Var26<1.2) Cond6= opend<=highd(1) Or (opend>highd(1) And (ttime<1000 Or (ttime>=1000 And close<=closed(1)))) Cond13= Var54>7.0 And Var27>2.5 And closed(1)>closed(5) Cond14= Var28(1)>var28(2) And Var29(1)<var29(2) Cond16= Var11>=2.3 And opend<=highd(1) And opend>=lowd(1) And close>var74 And close<var70 Cond18= Var16>1.2 And Var84<=0.30