커뮤니티

수식 문의 드립니다

프로필 이미지
기관장
2025-12-30 16:30:39
78
글번호 229487
답변완료

수식 문의 드립니다.

매수: cci(14,9) 의 cci가 반등때 매수

매수: cci(14,9) 의 cci가 100 위에 있을때 , 전매도점 대비 5.5% 상향시 즉시 매수

매수: cci(14,9) 의 cci가 상승중때 , 전매도점 대비 5.5% 상향시 즉시 매수

매수: forceindex(5,10) 의 fvalfast가 상승중일때, 전매도점 대비 5.5% 상향시 즉시 매수

매수: slow stochastic(18.10.7)의 stochastic이 상승중일때, 전매도점 대비 5.5% 상향시 즉시 매수


매도:cci(14,9) 의 cci가 0에서 100 사이에 있을때 매수점 대비 2.5% 상향시 즉시매도

매도: cci(14,9) 의 cci가 100에서 200 사이에 있을때 매수점 대비 5.5% 상향시 즉시매도

시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2026-01-02 11:24:31

안녕하세요 예스스탁입니다. Input : Period1(14),Period2(9); Input : ShortPeriod(5),LongPeriod(10); input : sto1(18),sto2(10),sto3(7); var : CCIv(0),CCIs(0); Var : Fval(0),FvalFast(0),FvalSlow(0); var : stok(0),stod(0); CCIv = CCI(Period1); CCIs = ema(CCIv,Period2); Fval = ((Close - Close[1]) * Volume) ; FvalFast = Ema(Fval, ShortPeriod); FvalSlow = Ema(Fval, LongPeriod); stok = StochasticsK(sto1,sto2); stod = StochasticsD(sto1,sto2,sto3); if MarketPosition <= 0 and cciv > cciv[1] and cciv[1] < cciv[2] Then Buy("b1"); if MarketPosition == 0 and cciv > 100 Then Buy("b2",AtStop,ExitPrice(1)*1.055); if MarketPosition == 0 and cciv > cciv[1] Then Buy("b3",AtStop,ExitPrice(1)*1.055); if MarketPosition == 0 and FvalFast > FvalFast[1] Then Buy("b4",AtStop,ExitPrice(1)*1.055); if MarketPosition == 0 and stok > stok[1] Then Buy("b5",AtStop,ExitPrice(1)*1.055); if MarketPosition == 1 and cciv >= 0 and cciv < 100 Then ExitLong("bx1",AtLimit,EntryPrice*1.025); if MarketPosition == 1 and cciv >= 1000 and cciv < 200 Then ExitLong("bx2",AtLimit,EntryPrice*1.055); 새해 복 많이 받으세요