커뮤니티

39569번에 대해서 문의 드립니다.

프로필 이미지
해와달
2016-02-09 17:03:06
206
글번호 95245
답변완료

첨부 이미지

1.39569번에 대해 지표설치시 1,2,3,4,5라는 숫자가 나오는데 이 숫자는 어떤 의미인지 알고 싶습니다. 2.39569번에 대해 지표를 설치하고 틱차트를 보면 시간이 지나면 지날수록 전에 나온 박스선이 계속 연장되어서 나타납니다. 그래서 지표를 삭제하고 다시 설치하면 정상적으로 나타나고 하지만 다시 설치한 상태에서 시간이 지나면 다시 연장되어서 나타납니다. 해결할 방법이 있는지 궁금합니다.( 분차트에서는 정상적으로 나타납니다.) 3.새로운 박스가 형성이 될 때 나타나는 수직선이 가늘게 나타납니다. 이를 굵게 나타낼 수 있는 방법이 있는지 알고 싶습니다. 4.첨부파일에서 왼쪽 두개의 차트는 1분차트, 오른쪽 두개의 차트는 120틱차트입니다.
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2016-02-11 14:12:04

안녕하세요 예스스탁입니다. 1 해당식은 이전에 사용자분들이 문의하셔서 인터넷검색으로 다른 랭귀지로 작성된 식을 예스랭귀지로 변환해서 올려드린식입니다. 해당 지표에 대해서는 저희쪽에도 자료가 없습니다. 해당 숫자는 박스구성후 등락에 따른 국면에 대한 번호인것 같습니다. 즉 새로운 박스가 생성되고 상승하락의 횟수이고 5번 발생후 박스를 이탈하면 새로운 박스가 그려지게 됩니다. 2. 해당 부분은 따로 수정이 가능하지 않습니다. 3 마지막 수직선도 동일굵기로 표현되게 수정한 식입니다. inputs : ShowAll(true),굵기(0),상승(red),하락(blue); var : BoxTop(0), BoxBtm(0), Ctr(0), BBD(0), BBT(0), EBD(0), EBT(0), UpBand(0), DnBand(0), CurrState(1), TextId(-1), TopId(-1), TopIdP(-1), BtmId(-1), BtmIdP(-1), LSId(-1), LSIdP(-1), RSId(-1), RSIdP(-1), HiFirst(true), LoFirst(false), State1(false), State2(false), State3(false), State4(false), State5(false), DrawBox(false), ValidBox(false), HadBreak(false), NewBox(false); if index == 1 then begin BoxTop = high; BoxBtm = low; State1 = true; BBD = date; BBT = time; end; if NewBox and high > UpBand then begin BBD = date; BBT = time; TL_SetEnd(TopId, BBD, BBT, UpBand); TL_SetEnd(BtmId, BBD, BBt, DnBand); RSIdP = RSId ; RSId = TL_New(BBD, BBT, DnBand, BBD, BBT, UpBand); if ShowAll == false and RSIdP <> -1 then TL_Delete( RSIdP ) ; if HiFirst then TL_SetColor(RSId, 상승); else TL_SetColor(RSId, 하락); NewBox = false; State1 = true; LoFirst = false; HiFirst = true; end; if NewBox and low < DnBand then begin BBD = date; BBT = time; TL_SetEnd(TopId, BBD, BBT, UpBand); TL_SetEnd(BtmId, BBD, BBt, DnBand); RSIdP = RSId; RSId = TL_New(BBD, BBT, DnBand, BBD, BBT, UpBand); if ShowAll == false and RSIdP <> -1 then TL_Delete(RSIdP); if HiFirst then TL_SetColor(RSId, 상승) ; else TL_SetColor(RSId, 하락); NewBox = false; State1 = true; HiFirst = false; LoFirst = true; end; if HiFirst then begin if State4 then begin if high > BoxTop then begin BoxTop = high; State1 = true; State4 = false; CurrState = 1; end else begin if low < BoxBtm then begin State4 = false; State3 = true; BoxBtm = low; CurrState = 3; end else begin State4 = false; State5 = true; CurrState = 5; end; end; end; if State3 then begin if high > BoxTop then begin BoxTop = high; State1 = true; State3 = false; CurrState = 1; end else begin if low < BoxBtm then begin State3 = true; BoxBtm = low; CurrState = 3; end else begin State3 = false; State4 = true; CurrState = 4; end; end; end; if State2 then begin if high > BoxTop then begin BoxTop = high; State1 = true; State2 = false; CurrState = 1; end else begin State2 = false; State3 = true; BoxBtm = low; CurrState = 3; end; end; if State1 then begin if high > BoxTop then begin BoxTop = high; State1 = true; CurrState = 1; end else begin State1 = false; State2 = true; CurrState = 2; end; end; end else begin #{ Using LoFirst } if State4 then begin if low < BoxBtm then begin BoxBtm = low; State1 = true; State4 = false; CurrState = 1; end else begin if high > BoxTop then begin State3 = true; State4 = false; BoxTop = high; CurrState = 3; end else begin State4 = false; State5 = true; CurrState = 5; end; end; end; if State3 then begin if low < BoxBtm then begin BoxBtm = low; State1 = true; State3 = false; CurrState = 1; end else begin if high > BoxTop then begin State3 = true; BoxTop = high; CurrState = 3; end else begin State3 = false; State4 = true; CurrState = 4; end; end; end; if State2 then begin if low < BoxBtm then begin Boxbtm = low; State1 = true; State2 = false; CurrState = 1; end else begin State2 = false; State3 = true; BoxTop = high; CurrState = 3; end; end; if State1 then begin if low < BoxBtm then begin BoxBtm = low; State1 = true; CurrState = 1; end else begin State1 = false; State2 = true; CurrState = 2; end; end; end; #{ END IF HIFIRST OR LOFIRST } if State5 then begin DrawBox = true; EBD = date; EBT = time; end; if DrawBox then begin TopIdP = TopId; BtmIdP = BtmId; LSIdP = LSId; TopId = TL_New(BBD, BBT, BoxTop, EBD, EBT, BoxTop); BtmId = TL_New(BBD, BBT, BoxBtm, EBD, EBT, BoxBtm); LSId = TL_New(BBD, BBT, BoxBtm, BBD, BBT, BoxTop); if ShowAll == false then begin if TopIdP <> -1 then TL_Delete(TopIdP); if BtmIdP <> -1 then TL_Delete(BtmIdP); if LSIdP <> -1 then TL_Delete(LSidP); end; if HiFirst then begin TL_SetColor(TopId, 상승); TL_SetColor(BtmId, 상승); TL_SetColor(LSId, 상승); end else begin TL_SetColor(TopId, 하락); TL_SetColor(BtmId, 하락); TL_SetColor(LSId, 하락); end; State1 = false; State2 = false; State3 = false; State4 = false; State5 = false; DrawBox = false; ValidBox = true; end; if ValidBox then begin UpBand = BoxTop; DnBand = BoxBtm; ValidBox = false; NewBox = true; BoxTop = high; BoxBtm = low; end; TL_SetSize(TopId,굵기); TL_SetSize(BtmId,굵기); TL_SetSize(LSId,굵기); TL_SetSize(RSId,굵기); if HiFirst then TextId = Text_New(date, time, high * 1.0005, NumToStr(CurrState, 0)); else TextId = Text_New(date, time, low * 0.9995, NumToStr(CurrState, 0)); 즐거운 하루되세요 > 해와달 님이 쓴 글입니다. > 제목 : 39569번에 대해서 문의 드립니다. > 1.39569번에 대해 지표설치시 1,2,3,4,5라는 숫자가 나오는데 이 숫자는 어떤 의미인지 알고 싶습니다. 2.39569번에 대해 지표를 설치하고 틱차트를 보면 시간이 지나면 지날수록 전에 나온 박스선이 계속 연장되어서 나타납니다. 그래서 지표를 삭제하고 다시 설치하면 정상적으로 나타나고 하지만 다시 설치한 상태에서 시간이 지나면 다시 연장되어서 나타납니다. 해결할 방법이 있는지 궁금합니다.( 분차트에서는 정상적으로 나타납니다.) 3.새로운 박스가 형성이 될 때 나타나는 수직선이 가늘게 나타납니다. 이를 굵게 나타낼 수 있는 방법이 있는지 알고 싶습니다. 4.첨부파일에서 왼쪽 두개의 차트는 1분차트, 오른쪽 두개의 차트는 120틱차트입니다.