커뮤니티

VIDYA지표

프로필 이미지
knoll
2017-08-21 13:23:05
227
글번호 112108
답변완료
안녕하세요 신한,이베스트증권에는 VIDYA라는 지표가 있습니다 지표로 추가할 수도 있고 수식관리자에서 원하는 대로 편집해 쓸수 있습니다(내장함수로 등록되어 있어 그렇겠지요) VIDYA(C,CMO기간,Smooth)인데요 예를 들어 종가 20일 VIDYA를 쓰고 싶으면 VIDYA(C,20,3) 이렇게 쓰면 됩니다 이베스트에서 잘 사용하고 있는 VIDYA를 예스트레이더 에서 사용하고 싶은데 어떻게 사용 할수 있나요? 내장함수로 정의해 주긴 어렵겠지요 그러면 사용자함수로 지정하는 수식을 알고 싶습니다
지표
답변 3
프로필 이미지

예스스탁 예스스탁 답변

2017-08-23 13:15:29

안녕하세요 예스스탁입니다. 올리신 내용만으로는 어떤 지표인지 알수가 없습니다. 해당랭귀지에서 사용하는 함수가 아닌 계산내용을 올려주셔야 랭귀지로 작성해 볼수 있습니다 즐거운 하루되세요 > knoll 님이 쓴 글입니다. > 제목 : VIDYA지표 > 안녕하세요 신한,이베스트증권에는 VIDYA라는 지표가 있습니다 지표로 추가할 수도 있고 수식관리자에서 원하는 대로 편집해 쓸수 있습니다(내장함수로 등록되어 있어 그렇겠지요) VIDYA(C,CMO기간,Smooth)인데요 예를 들어 종가 20일 VIDYA를 쓰고 싶으면 VIDYA(C,20,3) 이렇게 쓰면 됩니다 이베스트에서 잘 사용하고 있는 VIDYA를 예스트레이더 에서 사용하고 싶은데 어떻게 사용 할수 있나요? 내장함수로 정의해 주긴 어렵겠지요 그러면 사용자함수로 지정하는 수식을 알고 싶습니다
프로필 이미지

knoll

2017-08-23 13:55:21

VIDYA(Input,CMOPeriod,Smooth) ////////////////////////////////////////////////////// 이 식은 이베스트증권 수식관리자 에서 VIDYA를 설명한 내용입니다 VIDYA is an acronym of Variable Index DYnamic Average The VIDYA is an exponential moving average that automatically adjusts the smoothing weight based on the volatility of the data series The more volatile the data is, the more weight is given to the more recent values. The VIDYA solves a problem with most moving averages sc = 2/(n+1) vi = CMO(Price) VIDYA = sc*vi*Price + (1-SC*vi)*Price[-1] SC = Moothing Constant VI Volatirity Index ////////////////////////////////////////////////////// 아래 식은 인터넷에 떠 있는 내용입니다. 참고하셔요 //VIDYA(VIDYA, by Tushar Chande) if currentbar <= period then VIDYA = close; else begin k = std(close, period) / std(close,per2); sc = 2 / (period + 1); VIDYA = k*sc*close + (1 - k*sc)*VIDYA[1]; end; //////////////////////////////////////////// VARIABLE INDEX DYNAMIC AVERAGE (VIDYA) The Variable Index Dynamic Average (VIDYA) was developed by Tushar Chande. The calculation of this indicator is analogous to that of the Exponential Moving Average (EMA) with a dynamically adjusted lookback period that depends on relative price volatility. The higher the volatility, the higher the emphasis on price becomes and the faster VIDYA adapts to price changes. Volatility is measured through the Chande Momentum Oscillator (CMO). This indicator can be used as any moving average, to identify and trade trends. Traders often use it in combination with other signals and analysis techniques. > 예스스탁 님이 쓴 글입니다. > 제목 : Re : VIDYA지표 > 안녕하세요 예스스탁입니다. 올리신 내용만으로는 어떤 지표인지 알수가 없습니다. 해당랭귀지에서 사용하는 함수가 아닌 계산내용을 올려주셔야 랭귀지로 작성해 볼수 있습니다 즐거운 하루되세요 > knoll 님이 쓴 글입니다. > 제목 : VIDYA지표 > 안녕하세요 신한,이베스트증권에는 VIDYA라는 지표가 있습니다 지표로 추가할 수도 있고 수식관리자에서 원하는 대로 편집해 쓸수 있습니다(내장함수로 등록되어 있어 그렇겠지요) VIDYA(C,CMO기간,Smooth)인데요 예를 들어 종가 20일 VIDYA를 쓰고 싶으면 VIDYA(C,20,3) 이렇게 쓰면 됩니다 이베스트에서 잘 사용하고 있는 VIDYA를 예스트레이더 에서 사용하고 싶은데 어떻게 사용 할수 있나요? 내장함수로 정의해 주긴 어렵겠지요 그러면 사용자함수로 지정하는 수식을 알고 싶습니다
프로필 이미지

예스스탁 예스스탁 답변

2017-08-23 14:22:06

안녕하세요 예스스탁입니다. 작성해본 식인데 정확성여부를 확답드리기는 어렵습니다. 아래 내용 참고하셔서 수정보완하시기 바랍니다. INPUTS : Period(20), Smooth(5); VARS : UPv(0), DNv(0), Ups(0), Dns(0), AbsCmo(0), SC(0), VIDYA(0); UPv = iff(C>C[1], C-C[1],0); DNv = iff(C<C[1], ABS(C-C[1]),0); UpS = accumN(UPv,Period); DnS = accumN(DNv,Period); IF ups-dns >0 THEN AbsCmo=ABS((ups-dns)/(ups+dns)); SC= 2/(Smooth+1); IF Currentbar==Period THEN VIDYA=C; IF Currentbar>Period THEN VIDYA=(SC*AbsCmo*C)+((1-(SC*AbsCmo))*VIDYA[1]); plot1(VIDYA); 즐거운 하루되세요 > knoll 님이 쓴 글입니다. > 제목 : Re : Re : VIDYA지표 > VIDYA(Input,CMOPeriod,Smooth) ////////////////////////////////////////////////////// 이 식은 이베스트증권 수식관리자 에서 VIDYA를 설명한 내용입니다 VIDYA is an acronym of Variable Index DYnamic Average The VIDYA is an exponential moving average that automatically adjusts the smoothing weight based on the volatility of the data series The more volatile the data is, the more weight is given to the more recent values. The VIDYA solves a problem with most moving averages sc = 2/(n+1) vi = CMO(Price) VIDYA = sc*vi*Price + (1-SC*vi)*Price[-1] SC = Moothing Constant VI Volatirity Index ////////////////////////////////////////////////////// 아래 식은 인터넷에 떠 있는 내용입니다. 참고하셔요 //VIDYA(VIDYA, by Tushar Chande) if currentbar <= period then VIDYA = close; else begin k = std(close, period) / std(close,per2); sc = 2 / (period + 1); VIDYA = k*sc*close + (1 - k*sc)*VIDYA[1]; end; //////////////////////////////////////////// VARIABLE INDEX DYNAMIC AVERAGE (VIDYA) The Variable Index Dynamic Average (VIDYA) was developed by Tushar Chande. The calculation of this indicator is analogous to that of the Exponential Moving Average (EMA) with a dynamically adjusted lookback period that depends on relative price volatility. The higher the volatility, the higher the emphasis on price becomes and the faster VIDYA adapts to price changes. Volatility is measured through the Chande Momentum Oscillator (CMO). This indicator can be used as any moving average, to identify and trade trends. Traders often use it in combination with other signals and analysis techniques. > 예스스탁 님이 쓴 글입니다. > 제목 : Re : VIDYA지표 > 안녕하세요 예스스탁입니다. 올리신 내용만으로는 어떤 지표인지 알수가 없습니다. 해당랭귀지에서 사용하는 함수가 아닌 계산내용을 올려주셔야 랭귀지로 작성해 볼수 있습니다 즐거운 하루되세요 > knoll 님이 쓴 글입니다. > 제목 : VIDYA지표 > 안녕하세요 신한,이베스트증권에는 VIDYA라는 지표가 있습니다 지표로 추가할 수도 있고 수식관리자에서 원하는 대로 편집해 쓸수 있습니다(내장함수로 등록되어 있어 그렇겠지요) VIDYA(C,CMO기간,Smooth)인데요 예를 들어 종가 20일 VIDYA를 쓰고 싶으면 VIDYA(C,20,3) 이렇게 쓰면 됩니다 이베스트에서 잘 사용하고 있는 VIDYA를 예스트레이더 에서 사용하고 싶은데 어떻게 사용 할수 있나요? 내장함수로 정의해 주긴 어렵겠지요 그러면 사용자함수로 지정하는 수식을 알고 싶습니다