커뮤니티

지표를 부탁드립니다...

프로필 이미지
미우
2022-02-13 09:47:48
858
글번호 156213
답변완료
안녕하세요 1.선물 3분봉차트에 9시10분에서 15시30분까지 시간이 흘러가면서 거래량이 제일 많은 봉 순서대로 1.2. 가장거래량 적은 봉에 1개 3개봉에 표시를하고싶습니다. 점이나 가로선으로 나타냈으면합니다..감사합니다.
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2022-02-14 13:44:29

안녕하세요 예스스탁입니다. 거래량 가장 많은 봉은 RED, 두번쨰는 magenta, 거래량 가장 작은 봉은 BLUE로 점이 찍히게 작성해 드립니다. input : StartTime(91000),EndTime(153000); var : T(0),HVx1(0),HVx2(0),HD1(0),HT1(0); var : Hv1(0),Hv2(0),LV(0),LVx(0),HH1(0); if (sdate != sdate[1] and stime >= EndTime) or (sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then T = 0; if Bdate != Bdate[1] Then T = 0; if (sdate != sdate[1] and stime >= StartTime) or (sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then { T = 1; HV1 = V; HD1 = sDate; HT1 = sTime; HH1 = H; HV2 = 0; HVx1 = Text_New(HD1,HT1,HH1,"●"); Text_SetStyle(HVx1,2,1); Text_SetColor(Hvx1,RED); LV = V; LVx = Text_New(sDate,sTime,L,"●"); Text_SetStyle(LVx,2,0); Text_SetColor(Lvx,BLUE); } Else { if T == 1 Then { if V > HV1 Then { HV1 = V; HD1 = sDate; HT1 = sTime; HH1 = H; Text_Delete(HVx1); HVx1 = Text_New(HD1,HT1,HH1,"●"); Text_SetStyle(HVx1,2,1); Text_SetColor(Hvx1,RED); if HV2 > 0 Then Text_Delete(HVx2); HV2 = HV1[1]; HVx2 = Text_New(HD1[1],HT1[1],HH1[1],"●"); Text_SetStyle(HVx2,2,1); Text_SetColor(Hvx2,MAGENTA); } Else { if V > HV2 Then { if HV2 > 0 Then Text_Delete(HVx2); HV2 = V; HVx2 = Text_New(sDate,sTime,H,"●"); Text_SetStyle(HVx2,2,1); Text_SetColor(Hvx2,MAGENTA); } } if V < LV Then { LV = V; Text_Delete(LVx); LVx = Text_New(sDate,sTime,L,"●"); Text_SetStyle(LVx,2,0); Text_SetColor(Lvx,BLUE); } } } 즐거운 하루되세요 > 미우 님이 쓴 글입니다. > 제목 : 지표를 부탁드립니다... > 안녕하세요 1.선물 3분봉차트에 9시10분에서 15시30분까지 시간이 흘러가면서 거래량이 제일 많은 봉 순서대로 1.2. 가장거래량 적은 봉에 1개 3개봉에 표시를하고싶습니다. 점이나 가로선으로 나타냈으면합니다..감사합니다.