커뮤니티

수식 변환 부탁드립니다

프로필 이미지
누리맨
2019-03-12 01:17:18
276
글번호 126954
답변완료
###매수### A=(SMI = eavg(eavg(c-(highest(H,g) + lowest(L,g))*0.5,r),s) * 100/ (0.5 * eavg(eavg(highest(H,g)-lowest(L,g),r),s))); if(A>=A(1),A,0) and tema(c,period2) >= (highest(high,shortPeriod)+lowest(low,shortPeriod))/2 ###매도### A=(SMI = eavg(eavg(c-(highest(H,g) + lowest(L,g))*0.5,r),s) * 100/ (0.5 * eavg(eavg(highest(h,g)-lowest(L,g),r),s))); if(A<=A(1),A,0) and tema(c,period2) <= (highest(high,shortPeriod)+lowest(low,shortPeriod))/2 ======================================================================== g 100 r 5 s 100 period2 2 shortPeriod 76 수식 변환 부탁드립니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2019-03-12 14:13:56

안녕하세요 예스스탁입니다. input : g(13),r(25),s(2),Period2(2),shortperiod(76); var : StMomentum1(0),StMomentum2(0); var1 = SMI(g,r,s); var2 = ema(ema(Ema(c,Period2),Period2),Period2); var3 = (highest(H,shortperiod)+lowest(L,shortperiod))/2; if var1 >= var1[1] and var2 > var3 Then buy(); if var1 <= var1[1] and var2 <= var3 Then sell(); 즐거운 하루되세요 > 누리맨 님이 쓴 글입니다. > 제목 : 수식 변환 부탁드립니다 > ###매수### A=(SMI = eavg(eavg(c-(highest(H,g) + lowest(L,g))*0.5,r),s) * 100/ (0.5 * eavg(eavg(highest(H,g)-lowest(L,g),r),s))); if(A>=A(1),A,0) and tema(c,period2) >= (highest(high,shortPeriod)+lowest(low,shortPeriod))/2 ###매도### A=(SMI = eavg(eavg(c-(highest(H,g) + lowest(L,g))*0.5,r),s) * 100/ (0.5 * eavg(eavg(highest(h,g)-lowest(L,g),r),s))); if(A<=A(1),A,0) and tema(c,period2) <= (highest(high,shortPeriod)+lowest(low,shortPeriod))/2 ======================================================================== g 100 r 5 s 100 period2 2 shortPeriod 76 수식 변환 부탁드립니다