답변완료
예스트레이더용으로 변환 부탁드립니다.
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)
2024-08-27
643
글번호 182874
사용자 함수
답변완료
예스랭귀지 오류 수정 도와주세요
예스랭귀지로 작성해봤는데...역시나 오류가 많이 있습니다.
수정 좀 부탁드려요.
INPUT : 기간(5),기간1(10),shortPeriod(10),midPeriod(15),Period(20),D1(5);
var : B1(0),B2(0),B3(0),BB(0),10(0),전환(0),기준(0);
B1=sum(v*((Pow((C-L),2) - Pow((H-C),2))/(H-L)));
B2=BWI(기간, 2);
B3=BWI(기간1,2);
BB=BBandsUp(Period,D1);
10=ma(c,10, 지수);
전환=(highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
기준=(highest(high,midPeriod)+lowest(low,midPeriod))/2;
if (B1>=B1(1) and (B2>B2(1) or B3>B3(1)) and c>10 and c>전환 and 전환>10 and
OBV()>Ma(OBV(), 9, 지수) and 전환>=기준 and 전환>전환(1) and 기준>기준(1) and CrossUp(c,BB))Then
Find(1);
즐거운 하루 보내세요~
2024-08-27
686
글번호 182862
종목검색
답변완료
예스랭귀지 오류 수정 도와주세요
안녕하세요.
예스랭귀지 나름대로 작성해봤는데 오류가 나서...뭐가 잘못된건지...어렵습니다.ㅠ.ㅠ
수정 좀 부탁드려요.
INPUT : D1(0.3);
var : Bii(0),A(0),B(0),D(0);
Bii=sum(v*((Pow((C-L),2) - Pow((H-C),2))/(H-L)));
A=ma(C,5);
B=ma(C,120);
D=ma(C,240);
if ((A>B and A<D) or (A>D and A<B) and A>=A(1) and O<C and V>V(1)*D1 and Bii>=Bii(1) and L<A and C>A) Then
Find(1);
즐거운 하루 보내세요~
2024-08-27
561
글번호 182859
종목검색