커뮤니티

수식어좀 부탁합니다.

프로필 이미지
회원
2003-11-07 11:25:31
2785
글번호 1238
답변완료
예스트레이더에서 사용되는 다음식을 프로식으로 변경바랍니다 1.매수,매도청산식 StochasticsD_C(12,5,5) > StochasticsD_C(20,20,3) && StochasticsD_N(1,12,5,5) <= StochasticsD_N(1,20,20,3) 2.매도,매수청산식 StochasticsD_C(12,5,5) < StochasticsD_C(20,20,3) && StochasticsD_N(1,12,5,5) >= StochasticsD_N(1,20,20,3) 3.스토게스틱이 교차(12,5,5-20.20.3) 상승하고 파라볼릭이 상승하는 식은 어떻게 작성해야하나요 -동시에 조건이 충족되거나 스토케스틱이 상승한후 파라볼릭이 상승신호가 되는 경우 입니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2003-11-07 13:04:24

안녕하세요? 예스스탁입니다... 문의하신 식을 작성하면 다음과 같습니다... input : p(12), p1(5), p2(5), period(20), period1(20), period2(3); if crossup(_StochasticsD(p,p1,p2), _StochasticsD(period,period1,period2)) then buy(); if crossdown(_StochasticsD(p,p1,p2), _StochasticsD(period,period1,period2)) then sell(); 3. Input : af(0.02), maxAF(0.2), p(12), p1(5), p2(5), period(20), period1(20), period2(3); Var : value(0); value = sar(af,maxAF); if accumN(iff(crossup(_StochasticsD(p,p1,p2), _StochasticsD(period,period1,period2)),1,0), 5) >= 1 and value > value[1] then buy(); if accumN(iff(crossdown(_StochasticsD(p,p1,p2), _StochasticsD(period,period1,period2)),1,0), 5) >= 1 and value < value[1] then sell(); 즐거운 하루 되세요... > 어머니 님이 쓴 글입니다. > 제목 : 수식어좀 부탁합니다. > 예스트레이더에서 사용되는 다음식을 프로식으로 변경바랍니다 1.매수,매도청산식 StochasticsD_C(12,5,5) > StochasticsD_C(20,20,3) && StochasticsD_N(1,12,5,5) <= StochasticsD_N(1,20,20,3) 2.매도,매수청산식 StochasticsD_C(12,5,5) < StochasticsD_C(20,20,3) && StochasticsD_N(1,12,5,5) >= StochasticsD_N(1,20,20,3) 3.스토게스틱이 교차(12,5,5-20.20.3) 상승하고 파라볼릭이 상승하는 식은 어떻게 작성해야하나요 -동시에 조건이 충족되거나 스토케스틱이 상승한후 파라볼릭이 상승신호가 되는 경우 입니다.