커뮤니티

문의합니다

프로필 이미지
뚜벅뚜벅
2011-11-24 11:25:39
417
글번호 45123
답변완료
Inputs: Length(14); Variables: idx(0), sum(0),Avgv(0),Power(0),PowAvg(0),Mean(0),PowStd(0),PriceSlope(0); idx = accum(1); Sum = accumn(idx*C,Length); Avgv = (accumn(idx,Length)*(accumn(C,Length)))/Length; Power = (accumn(Pow(idx,2),Length)); PowAvg = Pow(accumn(idx,Length),2)/Length; Mean = Sum - avgv; PowStd = Power - PowAvg; If PowStd == 0 Then PriceSlope = 0; Else PriceSlope = Mean / PowStd; if PriceSlope > 0 Then Plot1(PriceSlope,"Slope of Price",RED); Else Plot1(PriceSlope,"Slope of Price",blue); PlotBaseLine1(0, "기준선1"); 위식을 시스템으로 부탁합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2011-11-24 17:24:20

안녕하세요 예스스탁입니다. Inputs: Length(14); Variables: idx(0), sum(0),Avgv(0),Power(0),PowAvg(0),Mean(0),PowStd(0),PriceSlope(0); idx = accum(1); Sum = accumn(idx*C,Length); Avgv = (accumn(idx,Length)*(accumn(C,Length)))/Length; Power = (accumn(Pow(idx,2),Length)); PowAvg = Pow(accumn(idx,Length),2)/Length; Mean = Sum - avgv; PowStd = Power - PowAvg; If PowStd == 0 Then PriceSlope = 0; Else PriceSlope = Mean / PowStd; if crossup(PriceSlope,0) Then buy(); if CrossDown(PriceSlope,0) Then sell(); 0 상향돌파 매수, 0 하향이탈 매도하는 시스템입니다. 지표식만으로는 정확히 어떤 시스템을 원하시는지 알수 없습니다. 시스템의 내용에 대해 함께 올려주시기 바랍니다. 즐거운 하루되세요 > 뚜벅뚜벅 님이 쓴 글입니다. > 제목 : 문의합니다 > Inputs: Length(14); Variables: idx(0), sum(0),Avgv(0),Power(0),PowAvg(0),Mean(0),PowStd(0),PriceSlope(0); idx = accum(1); Sum = accumn(idx*C,Length); Avgv = (accumn(idx,Length)*(accumn(C,Length)))/Length; Power = (accumn(Pow(idx,2),Length)); PowAvg = Pow(accumn(idx,Length),2)/Length; Mean = Sum - avgv; PowStd = Power - PowAvg; If PowStd == 0 Then PriceSlope = 0; Else PriceSlope = Mean / PowStd; if PriceSlope > 0 Then Plot1(PriceSlope,"Slope of Price",RED); Else Plot1(PriceSlope,"Slope of Price",blue); PlotBaseLine1(0, "기준선1"); 위식을 시스템으로 부탁합니다.