커뮤니티

질문드립니다

프로필 이미지
새벽에
2017-11-03 06:13:03
175
글번호 113867
답변완료
안녕하십니까? 다음지표식을 씨스템식으로 바꿔주세요 그런데 매수신호는 지표식이완성된 그봉이아닌 그 다음봉에 발생하록 해주세요 감사합니다 var : sindex1(0), sindex2(0), Lindex1(0), Lindex2(0); value1 = stochasticsD(12,5,5); Condition1 = value1 > value1[1] and value1[1] <= value1[2]; Condition2 = L > L[1] and L[1] <= L[2]; sindex1 = MRO(Condition1,15,1); // stochasticsD의 최근 저점이 발생한 시점의 현재로부터 index sindex2 = MRO(Condition1,15,2); // stochasticsD의 직전 저점이 발생한 시점의 현재로부터 index Lindex1 = MRO(Condition2,15,1); // 저가의 최근 저점이발생한 index Lindex2 = MRO(Condition2,15,2); // 저가의 직전 저점이 발생한 index if value1[sindex1+1] > value1[sindex2+1] and //stochastics의 최근저점값이 직전저점값보다크고 L[Lindex1+1] < L[Lindex2+1] and //저가의 최근저점저점값이 직전저점값보다 작고 Condition1 and //저가의 상승반전이 발생했고 lowest(L,5) == lowest(L,15) //최근 5개봉의 최저가가 최근 15개 봉의 최저가이면 then var1 = 1; else var1 = 0; plot1(var1); if var1 == 1 Then PlaySound("C:₩WRFutures₩YesGlobalPro₩data₩Sound₩GAudio_Call.wav");
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-11-03 11:06:55

안녕하세요 예스스탁입니다. var : sindex1(0), sindex2(0), Lindex1(0), Lindex2(0); value1 = stochasticsD(12,5,5); Condition1 = value1 > value1[1] and value1[1] <= value1[2]; Condition2 = L > L[1] and L[1] <= L[2]; sindex1 = MRO(Condition1,15,1); // stochasticsD의 최근 저점이 발생한 시점의 현재로부터 index sindex2 = MRO(Condition1,15,2); // stochasticsD의 직전 저점이 발생한 시점의 현재로부터 index Lindex1 = MRO(Condition2,15,1); // 저가의 최근 저점이발생한 index Lindex2 = MRO(Condition2,15,2); // 저가의 직전 저점이 발생한 index if value1[sindex1+1] > value1[sindex2+1] and //stochastics의 최근저점값이 직전저점값보다크고 L[Lindex1+1] < L[Lindex2+1] and //저가의 최근저점저점값이 직전저점값보다 작고 Condition1 and //저가의 상승반전이 발생했고 lowest(L,5) == lowest(L,15) //최근 5개봉의 최저가가 최근 15개 봉의 최저가이면 then var1 = 1; else var1 = 0; if var1[1] == 1 Then buy(); 즐거운 하루되세요 > 새벽에 님이 쓴 글입니다. > 제목 : 질문드립니다 > 안녕하십니까? 다음지표식을 씨스템식으로 바꿔주세요 그런데 매수신호는 지표식이완성된 그봉이아닌 그 다음봉에 발생하록 해주세요 감사합니다 var : sindex1(0), sindex2(0), Lindex1(0), Lindex2(0); value1 = stochasticsD(12,5,5); Condition1 = value1 > value1[1] and value1[1] <= value1[2]; Condition2 = L > L[1] and L[1] <= L[2]; sindex1 = MRO(Condition1,15,1); // stochasticsD의 최근 저점이 발생한 시점의 현재로부터 index sindex2 = MRO(Condition1,15,2); // stochasticsD의 직전 저점이 발생한 시점의 현재로부터 index Lindex1 = MRO(Condition2,15,1); // 저가의 최근 저점이발생한 index Lindex2 = MRO(Condition2,15,2); // 저가의 직전 저점이 발생한 index if value1[sindex1+1] > value1[sindex2+1] and //stochastics의 최근저점값이 직전저점값보다크고 L[Lindex1+1] < L[Lindex2+1] and //저가의 최근저점저점값이 직전저점값보다 작고 Condition1 and //저가의 상승반전이 발생했고 lowest(L,5) == lowest(L,15) //최근 5개봉의 최저가가 최근 15개 봉의 최저가이면 then var1 = 1; else var1 = 0; plot1(var1); if var1 == 1 Then PlaySound("C:₩WRFutures₩YesGlobalPro₩data₩Sound₩GAudio_Call.wav");