예스스탁
예스스탁 답변
2024-08-28 15:40:10
> 킹킹개미 님이 쓴 글입니다.
> 제목 : 예스트레이더용으로 변환 부탁드립니다.
> DMA_VALUE = myDma(nPeriod);
(DMA_VALUE
+
(
Sqrt(
(
if ( nPeriod >=1, Pow(c-DMA_VALUE,2), 0)
+myVariance2( nPeriod, DMA_VALUE, 2)
+myVariance2( nPeriod, DMA_VALUE, 3)
+myVariance2( nPeriod, DMA_VALUE, 4)
+myVariance2( nPeriod, DMA_VALUE, 5)
+myVariance2( nPeriod, DMA_VALUE, 6)
+myVariance2( nPeriod, DMA_VALUE, 7)
+myVariance2( nPeriod, DMA_VALUE, 8)
+myVariance2( nPeriod, DMA_VALUE, 9)
+myVariance2( nPeriod, DMA_VALUE, 10)
+myVariance2( nPeriod, DMA_VALUE, 11)
+myVariance2( nPeriod, DMA_VALUE, 12)
+myVariance2( nPeriod, DMA_VALUE, 13)
+myVariance2( nPeriod, DMA_VALUE, 14)
+myVariance2( nPeriod, DMA_VALUE, 15)
+myVariance2( nPeriod, DMA_VALUE, 16)
+myVariance2( nPeriod, DMA_VALUE, 17)
+myVariance2( nPeriod, DMA_VALUE, 18)
+myVariance2( nPeriod, DMA_VALUE, 19)
+myVariance2( nPeriod, DMA_VALUE, 20)
)/nPeriod)
*nMultiply
)
);
키움 함수를 예스트레이더용으로 변환 부탁드립니다
myVariance2 함수는
if ( nPeriod >=nDay, Pow(nPreDayClose(nDay-1)-nDma_Value, 2), 0)