커뮤니티

수식 변환 부탁 드립니다.

프로필 이미지
newstory
2024-05-08 05:14:06
873
글번호 179230
답변완료
안녕하세. 수식 변환 부탁합니다. 감사합니다. U1 = if (c>= o, highestsince(1, c(1)<o(1) && c>= o, close), 0); U2 = if (c>= o, lowestsince(1, c(1)<o(1) && c>= o, open), 0); U3 = (u1+u2) / 2; U4 = valuewhen (1, c(1)>= o(1) && c<o, u3(1)); d1 = if (c<= o, highestsince(1, c(1)>=o(1) && c<= o, open), 0); d2 = if (c<= o, lowestsince(1, c(1)>=o(1) && c<= o, close), 0); d3 = (d1+d2) / 2; d4 = valuewhen(1, c(1)<= o(1) && c>o, d3(1)); x1 = if (c>= o, d4, u4); xx = if (c>= x1, volume, 0); xx(1) == 0 && xx>0
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2024-05-08 10:50:33

안녕하세요 예스스탁입니다. var : U1(0),U2(0),U3(0),U4(0); var : d1(0),d2(0),d3(0),d4(0); var : x1(0),xx(0); if C[1] < O[1] and C >= O Then { var1 = c; Var2 = o; u4 = u3[1]; } Else { if var1 > 0 and c > var1 Then var1 = c; if var2 > 0 and o < var2 Then var2 = o; } if C[1] >= O[1] and C <= O Then { var3 = o; Var4 = c; } Else { if var3 > 0 and o > var3 Then var3 = c; if var4 > 0 and c < var4 Then var4 = c; } U1 = iff (c>= o,var1, 0); U2 = iff (c>= o,Var2, 0); U3 = (u1+u2) / 2; d1 = iff(c<= o,Var3, 0); d2 = iff(c<= o,Var4, 0); d3 = (d1+d2) / 2; if c[1] <= o[1] and c > o Then d4 = d3[1]; x1 = iff (c>= o, d4, u4); xx = iff (c>= x1, volume, 0); if xx[1] == 0 && xx>0 Then Plot1(1); Else Plot1(0); 즐거운 하루되세요 > newstory 님이 쓴 글입니다. > 제목 : 수식 변환 부탁 드립니다. > 안녕하세. 수식 변환 부탁합니다. 감사합니다. U1 = if (c>= o, highestsince(1, c(1)<o(1) && c>= o, close), 0); U2 = if (c>= o, lowestsince(1, c(1)<o(1) && c>= o, open), 0); U3 = (u1+u2) / 2; U4 = valuewhen (1, c(1)>= o(1) && c<o, u3(1)); d1 = if (c<= o, highestsince(1, c(1)>=o(1) && c<= o, open), 0); d2 = if (c<= o, lowestsince(1, c(1)>=o(1) && c<= o, close), 0); d3 = (d1+d2) / 2; d4 = valuewhen(1, c(1)<= o(1) && c>o, d3(1)); x1 = if (c>= o, d4, u4); xx = if (c>= x1, volume, 0); xx(1) == 0 && xx>0