커뮤니티

변환좀..

프로필 이미지
회원
2008-06-18 16:04:35
1097
글번호 15777
답변완료
Input : periods(10); Plot1((High - Low[periods]) / Average(Range, Periods) * SquareRoot (Periods), "LRWI High"); If CheckAlert Then Begin If Plot1 Crosses Above Plot4 or Plot1 Crosses Below Plot4 Then Alert = True; End; Plot2((High[periods] - Low) / Average(Range, Periods) * SquareRoot (Periods), "LRWI Lows"); Plot4(0, "Zero"); If checkAlert Then Begin If Plot1 Crosses Above Plot4 or Plot1 Crosses Below Plot4 Then Alert = True; End; TS언어인데.. YT 로 변환하고 싶습니다. 감사합니다.
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2008-06-19 09:47:15

안녕하세요 예스스탁입니다. Input : periods(10); var1 = (High - Low[periods]) / Average(Range, Periods) * SquareRoot(Periods); var2 = (High[periods] - Low) / Average(Range, Periods) * SquareRoot(Periods); Plot1(var1, "LRWI High"); plot2(var2, "LRWI Lows"); PlotBaseLine1(0,"0선"); If crossup(var1,0) or crossup(var1,0) then { Alert("cross %.2f",C); PlaySound("C:₩Program Files₩예스트레이더3₩Data₩alert.wav"); } 0선 상향이나 하향할때 경보창과 함께 소리가 납니다. PlaySound안에는 웨이브 파일의 경로를 적어주시면 됩니다. 즐거운 하루되세요 > CJ_coco 님이 쓴 글입니다. > 제목 : 변환좀.. > Input : periods(10); Plot1((High - Low[periods]) / Average(Range, Periods) * SquareRoot (Periods), "LRWI High"); If CheckAlert Then Begin If Plot1 Crosses Above Plot4 or Plot1 Crosses Below Plot4 Then Alert = True; End; Plot2((High[periods] - Low) / Average(Range, Periods) * SquareRoot (Periods), "LRWI Lows"); Plot4(0, "Zero"); If checkAlert Then Begin If Plot1 Crosses Above Plot4 or Plot1 Crosses Below Plot4 Then Alert = True; End; TS언어인데.. YT 로 변환하고 싶습니다. 감사합니다.