커뮤니티

문의드립니다.

프로필 이미지
부양가족
2015-10-29 19:13:50
203
글번호 91878
답변완료
날씨가 많이 쌀쌀해 졌습니다. 감기조심하기바랍니다. 1번) 지표식을 15분봉 기준 매시 13분 28분 43분 58분에 지표가 그려지도록 수정부탁드립니다. 과거봉의 지표는 그려지고 현재봉에만 해당됩니다. 2번)지표식을 당일 최초로 만족하는 첫봉에만 지표가 표시되도록 수정 부탁드립니다. 감사합니다. 1번) var : count(0),Price(0),idx(0); var4 = BollBandup(20,2); var5 = BollBandup(80,2); var6 = BollBandup(240,2); condition1 = c > highest(c,24)[1] ; ##125봉중-최고가 Condition2 = crossup(c,var5); Condition3 = crossup(c,var6); ##주가-240bbup돌파 ### 메인조건 if Condition1 == true and Condition3 == true and var4 > var6*0.8 and dayopen < dayclose(1)*1.15 and var4 > var4[1] and var4[1] <= var6[1] then{ Price = C; count = 0; idx = 0; } ### 지표조건 idx = idx+1; if idx == 2 and C >= Price Then{ count = count+1; plot1(H); } if idx > 2 and crossup(C,Price) Then{ count = count+1; if count == 1 Then plot1(H); } 2번) if date != date[1] Then{ var1 = min(c,o); } if DayClose(1) > DayClose(2)*1.10 and var1 <= dayclose(1) and c > o*1.015 and c > DayClose(1) then{ Plot1(c); }
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-10-29 19:42:08

안녕하세요 예스스탁입니다. 1. 문의하신 내용 가능하지 않습니다. 2. if date != date[1] Then{ var1 = min(c,o); Condition1 = false; } if Condition1 == false and DayClose(1) > DayClose(2)*1.10 and var1 <= dayclose(1) and c > o*1.015 and c > DayClose(1) then{ Condition1 = true; Plot1(c); } 즐거운 하루되세요 > 부양가족 님이 쓴 글입니다. > 제목 : 문의드립니다. > 날씨가 많이 쌀쌀해 졌습니다. 감기조심하기바랍니다. 1번) 지표식을 15분봉 기준 매시 13분 28분 43분 58분에 지표가 그려지도록 수정부탁드립니다. 과거봉의 지표는 그려지고 현재봉에만 해당됩니다. 2번)지표식을 당일 최초로 만족하는 첫봉에만 지표가 표시되도록 수정 부탁드립니다. 감사합니다. 1번) var : count(0),Price(0),idx(0); var4 = BollBandup(20,2); var5 = BollBandup(80,2); var6 = BollBandup(240,2); condition1 = c > highest(c,24)[1] ; ##125봉중-최고가 Condition2 = crossup(c,var5); Condition3 = crossup(c,var6); ##주가-240bbup돌파 ### 메인조건 if Condition1 == true and Condition3 == true and var4 > var6*0.8 and dayopen < dayclose(1)*1.15 and var4 > var4[1] and var4[1] <= var6[1] then{ Price = C; count = 0; idx = 0; } ### 지표조건 idx = idx+1; if idx == 2 and C >= Price Then{ count = count+1; plot1(H); } if idx > 2 and crossup(C,Price) Then{ count = count+1; if count == 1 Then plot1(H); } 2번) if date != date[1] Then{ var1 = min(c,o); } if DayClose(1) > DayClose(2)*1.10 and var1 <= dayclose(1) and c > o*1.015 and c > DayClose(1) then{ Plot1(c); }