커뮤니티

TS지표식인데 YT로 바꿔 주세요.

프로필 이미지
헐레
2009-05-22 15:32:30
513
글번호 22368
답변완료
Input : lower_line(99), upper_line(101) ; Vars : BarVolume(0),ToTVolume(0),BarPrice(0),ToTPrice(0),AvgFPrice(0),BarFP(0),ToTFP(0), rang1(0),rang2(0),rang3(0), Disparity(0) ; if (timetominutes(time)-timetominutes(time[1])) < 0 then begin ToTPrice =0; ToTVolume =0; AvgFPrice =0; end; BarPrice = (close * Volume); ToTPrice = ToTPrice + BarPrice; BarVolume = Volume; ToTVolume = ToTVolume + BarVolume; if ToTPrice <> 0 and ToTVolume <> 0 then begin AvgFPrice = (ToTPrice / ToTVolume); Disparity = ( Close / AvgFPrice ) * 100 ; end; Plot1(Disparity, "AVG_P-Dis"); Plot2(100, "Base-Line"); Plot3(lower_line,"Lower-Line"); Plot4(upper_line,"Upper-line"); YT로 바꿔 주세용
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2009-05-22 16:35:15

안녕하세요 예스스탁입니다. Input : lower_line(99), upper_line(101) ; Vars : BarVolume(0),ToTVolume(0),BarPrice(0),ToTPrice(0),AvgFPrice(0),BarFP(0),ToTFP(0), rang1(0),rang2(0),rang3(0), Dis(0) ; if (timetominutes(stime)-timetominutes(stime[1])) < 0 then begin ToTPrice =0; ToTVolume =0; AvgFPrice =0; end; BarPrice = (close * Volume); ToTPrice = ToTPrice + BarPrice; BarVolume = Volume; ToTVolume = ToTVolume + BarVolume; if ToTPrice <> 0 and ToTVolume <> 0 then begin AvgFPrice = (ToTPrice / ToTVolume); dis = ( Close / AvgFPrice ) * 100 ; end; Plot1(dis, "AVG_P-Dis"); Plot2(100, "Base-Line"); Plot3(lower_line,"Lower-Line"); Plot4(upper_line,"Upper-line"); 즐거운 하루되세요 > 헐레 님이 쓴 글입니다. > 제목 : TS지표식인데 YT로 바꿔 주세요. > Input : lower_line(99), upper_line(101) ; Vars : BarVolume(0),ToTVolume(0),BarPrice(0),ToTPrice(0),AvgFPrice(0),BarFP(0),ToTFP(0), rang1(0),rang2(0),rang3(0), Disparity(0) ; if (timetominutes(time)-timetominutes(time[1])) < 0 then begin ToTPrice =0; ToTVolume =0; AvgFPrice =0; end; BarPrice = (close * Volume); ToTPrice = ToTPrice + BarPrice; BarVolume = Volume; ToTVolume = ToTVolume + BarVolume; if ToTPrice <> 0 and ToTVolume <> 0 then begin AvgFPrice = (ToTPrice / ToTVolume); Disparity = ( Close / AvgFPrice ) * 100 ; end; Plot1(Disparity, "AVG_P-Dis"); Plot2(100, "Base-Line"); Plot3(lower_line,"Lower-Line"); Plot4(upper_line,"Upper-line"); YT로 바꿔 주세용