커뮤니티

답변 감사 합니다.

프로필 이미지
졸던
2026-02-26 14:38:34
184
글번호 230802

감사 합니다.


지표
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2026-03-03 14:40:50

안녕하세요 예스스탁입니다. plot 출력까지만 되게 작성해 드립니다. var : newDay(False); var : todayLow(Nan); var : todayHigh(Nan); var : fibHigh(Nan); var : fibLow(Nan); var : tempHigh(Nan); var : tempLow(Nan); newDay = dayofweek(sDate) != dayofweek(sDate[1]); if (newDay) Then { todayLow = low; todayHigh = high; fibHigh = Nan; fibLow = nan; tempHigh = nan; tempLow = nan; } if (low < todayLow) Then { todayLow = low; fibLow = todayLow; tempHigh = Nan; } if (high > todayHigh) Then { todayHigh = high; fibHigh = todayHigh; tempLow = Nan; } if IsNan(fibLow) == False and high > fibLow and (IsNan(tempHigh) == true or high > tempHigh) Then tempHigh = high; if IsNan(fibHigh) == False and low < fibHigh and (IsNan(tempLow) == true or low < tempLow) Then tempLow = low; var : activeHigh(0),activeLow(0); var : fibLevel1(0),fibLevel2(0),fibLevel3(0),fibLevel4(0),fibLevel5(0); activeHigh = iff(IsNan(tempHigh) == true, fibHigh , tempHigh); activeLow = iff(IsNan(tempLow) == true, fibLow , tempLow); fibLevel1 = activeHigh - (activeHigh - activeLow) * 0.236; fibLevel2 = activeHigh - (activeHigh - activeLow) * 0.382; fibLevel3 = activeHigh - (activeHigh - activeLow) * 0.5; fibLevel4 = activeHigh - (activeHigh - activeLow) * 0.618; fibLevel5 = activeHigh - (activeHigh - activeLow) * 0.764; plot1(todayHigh,"Today's High",Green); plot2(todayLow,"Today's Low",Red); plot3(activeHigh,"Active High",Orange); plot4(activeLow,"Active Low",Purple); plot5(fibLevel1,"Fib 23.6%",Blue); plot6(fibLevel2,"Fib 38.2%",Blue); plot7(fibLevel3,"Fib 50.0%",Blue); plot8(fibLevel4,"Fib 61.8%",Blue); plot9(fibLevel5,"Fib 76.4%",Blue); 즐거운 하루되세요
프로필 이미지

졸던

2026-03-04 13:35:58

졸던 님에 의해 삭제된 답변입니다.