커뮤니티

지표식 변환

프로필 이미지
조민철
2012-12-26 06:30:18
308
글번호 57578
답변완료
항상 감사드립니다 아래식은 키움증권에서 사용하는 식입니다 변환 부탁드립니다/주석도 같이부탁드립니다. 1.신1 A=valuewhen(1,time==93000,dayhigh()); if(time>90000&&time<93300,dayhigh(),A) 2.신2 A=valuewhen(1,time==93000,dayhigh()); B=valuewhen(1,time==93000,daylow()); if(time>90000&&time<93300,(dayhigh()+daylow())/2,(A+B)/2) 3.신3 B=valuewhen(1,time==93000,daylow()); if(time>90000&&time<93300,daylow(),B) 4.신4 A=valuewhen(1,time==93000,dayhigh()); if(time>90000&&time<93300,dayhigh(),A+1) 5.신5 B=valuewhen(1,time==93000,daylow()); if(time>90000&&time<93300,daylow(),B-1)
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-12-26 18:08:33

안녕하세요 예스스탁입니다. 1. if stime == 93000 Then var1 = dayhigh; if stime >= 90000 and stime < 93000 Then var2 = dayhigh; Else var2 = var1; plot1(var2); 2. if stime == 93000 Then{ var1 = dayhigh; var2 = daylow; } if stime >= 90000 and stime < 93000 Then var3 = (dayhigh+daylow)/2; Else var3 = (var1+var2)/2; plot1(var3); 3. if stime == 93000 Then var1 = daylow; if stime >= 90000 and stime < 93000 Then var2 = daylow; Else var2 = var1; plot1(var2); 4. if stime == 93000 Then var1 = dayhigh; if stime >= 90000 and stime < 93000 Then var2 = dayhigh; Else var2 = var1+1; plot1(var2); 5. if stime == 93000 Then var1 = daylow; if stime >= 90000 and stime < 93000 Then var2 = daylow; Else var2 = var1-1; plot1(var2); 즐거운 하루되세요 > 조민철 님이 쓴 글입니다. > 제목 : 지표식 변환 > 항상 감사드립니다 아래식은 키움증권에서 사용하는 식입니다 변환 부탁드립니다/주석도 같이부탁드립니다. 1.신1 A=valuewhen(1,time==93000,dayhigh()); if(time>90000&&time<93300,dayhigh(),A) 2.신2 A=valuewhen(1,time==93000,dayhigh()); B=valuewhen(1,time==93000,daylow()); if(time>90000&&time<93300,(dayhigh()+daylow())/2,(A+B)/2) 3.신3 B=valuewhen(1,time==93000,daylow()); if(time>90000&&time<93300,daylow(),B) 4.신4 A=valuewhen(1,time==93000,dayhigh()); if(time>90000&&time<93300,dayhigh(),A+1) 5.신5 B=valuewhen(1,time==93000,daylow()); if(time>90000&&time<93300,daylow(),B-1)