커뮤니티

점검 부탁드립니다

프로필 이미지
회원
2015-01-08 17:54:26
165
글번호 82064
답변완료
수식점검 부탁드립니다. var : value1(0), value2(0), value3(0); var : sindex1(0), sindex2(0), Lindex1(0), Lindex2(0), sindex3(0), sindex4(0), Lindex3(0), Lindex4(0); value1 = stochasticsD(12,5,5); Condition1 = value1 < value1[1] and value1[1] > value1[2]; Condition2 = H < H[1] and H[1] >= H[2]; Condition3 = value1 > value1[1] and value1[1] > value1[2]; Condition4 = L > L[1] and L[1] >= L[2]; sindex1 = MRO(Condition1,15,1); sindex2 = MRO(Condition1,15,2); Lindex1 = MRO(Condition2,15,1); Lindex2 = MRO(Condition2,15,2); sindex3 = MRO(Condition3,15,1); sindex4 = MRO(Condition3,15,2); Lindex3 = MRO(Condition4,15,1); Lindex4 = MRO(Condition4,15,2); if value1[sindex1+1] < value1[sindex2+1] and H[Lindex1+1] > H[Lindex2+1] and Condition1 and Highest(H,5) == highest(H,15) then var1 = 1; else var1 = 0; plot1(var1); if value1[sindex3+1] > value1[sindex4+1] and L[Lindex3+1] < L[Lindex4+1] and Condition1 and Lowest(L,5) == lowest(L,15) then var1 = -1; else var1 = 0; plot2(var1);
지표
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2015-01-09 09:27:03

안녕하세요 예스스탁입니다. 식의 어떤 부분을 점검해 드려야 할지 모르겠습니다. 식상 문법에러가 없고 조건만족시 지표도 잘 출력되고 있습니다. 자세한 내용 올려주시기 바랍니다. 즐거운 하루되세요 > NH_WR****** 님이 쓴 글입니다. > 제목 : 점검 부탁드립니다 > 수식점검 부탁드립니다. var : value1(0), value2(0), value3(0); var : sindex1(0), sindex2(0), Lindex1(0), Lindex2(0), sindex3(0), sindex4(0), Lindex3(0), Lindex4(0); value1 = stochasticsD(12,5,5); Condition1 = value1 < value1[1] and value1[1] > value1[2]; Condition2 = H < H[1] and H[1] >= H[2]; Condition3 = value1 > value1[1] and value1[1] > value1[2]; Condition4 = L > L[1] and L[1] >= L[2]; sindex1 = MRO(Condition1,15,1); sindex2 = MRO(Condition1,15,2); Lindex1 = MRO(Condition2,15,1); Lindex2 = MRO(Condition2,15,2); sindex3 = MRO(Condition3,15,1); sindex4 = MRO(Condition3,15,2); Lindex3 = MRO(Condition4,15,1); Lindex4 = MRO(Condition4,15,2); if value1[sindex1+1] < value1[sindex2+1] and H[Lindex1+1] > H[Lindex2+1] and Condition1 and Highest(H,5) == highest(H,15) then var1 = 1; else var1 = 0; plot1(var1); if value1[sindex3+1] > value1[sindex4+1] and L[Lindex3+1] < L[Lindex4+1] and Condition1 and Lowest(L,5) == lowest(L,15) then var1 = -1; else var1 = 0; plot2(var1);
프로필 이미지

회원

2015-01-09 11:00:25

> 예스스탁 님이 쓴 글입니다. > 제목 : Re : 점검 부탁드립니다 > 안녕하세요 예스스탁입니다. 식의 어떤 부분을 점검해 드려야 할지 모르겠습니다. 식상 문법에러가 없고 조건만족시 지표도 잘 출력되고 있습니다. 자세한 내용 올려주시기 바랍니다. 즐거운 하루되세요 > NH_WR****** 님이 쓴 글입니다. > 제목 : 점검 부탁드립니다 > 수식점검 부탁드립니다. var : value1(0), value2(0), value3(0); var : sindex1(0), sindex2(0), Lindex1(0), Lindex2(0), sindex3(0), sindex4(0), Lindex3(0), Lindex4(0); value1 = stochasticsD(12,5,5); Condition1 = value1 < value1[1] and value1[1] > value1[2]; Condition2 = H < H[1] and H[1] >= H[2]; Condition3 = value1 > value1[1] and value1[1] > value1[2]; Condition4 = L > L[1] and L[1] >= L[2]; sindex1 = MRO(Condition1,15,1); sindex2 = MRO(Condition1,15,2); Lindex1 = MRO(Condition2,15,1); Lindex2 = MRO(Condition2,15,2); sindex3 = MRO(Condition3,15,1); sindex4 = MRO(Condition3,15,2); Lindex3 = MRO(Condition4,15,1); Lindex4 = MRO(Condition4,15,2); if value1[sindex1+1] < value1[sindex2+1] and H[Lindex1+1] > H[Lindex2+1] and Condition1 and Highest(H,5) == highest(H,15) then var1 = 1; else var1 = 0; plot1(var1); if value1[sindex3+1] > value1[sindex4+1] and L[Lindex3+1] < L[Lindex4+1] and Condition1 and Lowest(L,5) == lowest(L,15) then var1 = -1; else var1 = 0; plot2(var1);