커뮤니티

수식 부탁드립니다.

프로필 이미지
천용인
2017-07-06 13:13:36
117
글번호 111077
답변완료
1.stochastics slow 에서 침체 구간 골든크로스 나오면 신호발생 stochastics slow 에서 과열 구간 데드크로스 나오면 신호발생 부탁드립니다. 2. stochastics slow 과열과 침체가 나오지 않고 골든,데드 크로스가 발생시에도 수식부탁합니다. 3. 50틱 이상 수익이 났다가 본전으로 왔을시 자동청산도 부탁합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-07-06 16:12:20

안녕하세요 예스스탁입니다. 1. Input : sto1(12), sto2(5),sto3(5),침체(20),과열(80); Var : stok(0),stod(0); stok = StochasticsK(sto1,sto2); stod = StochasticsD(sto1,sto2,sto3); If CrossUP(stok, stod) and stok < 침체 Then { Buy("매수"); } If CrossDown(stok, stod) and stok > 과열 Then { Sell("매도"); } if MarketPosition == 1 and highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*50 Then ExitLong("bx",AtStop,EntryPrice); if MarketPosition == -1 and Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*50 Then ExitShort("sx",AtStop,EntryPrice); 2 Input : sto1(12), sto2(5),sto3(5),침체(20),과열(80); Var : stok(0),stod(0); stok = StochasticsK(sto1,sto2); stod = StochasticsD(sto1,sto2,sto3); If CrossUP(stok, stod) Then { Buy("매수"); } If CrossDown(stok, stod) Then { Sell("매도"); } if MarketPosition == 1 and highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*50 Then ExitLong("bx",AtStop,EntryPrice); if MarketPosition == -1 and Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*50 Then ExitShort("sx",AtStop,EntryPrice); 즐거운 하루되세요 > 천용인 님이 쓴 글입니다. > 제목 : 수식 부탁드립니다. > 1.stochastics slow 에서 침체 구간 골든크로스 나오면 신호발생 stochastics slow 에서 과열 구간 데드크로스 나오면 신호발생 부탁드립니다. 2. stochastics slow 과열과 침체가 나오지 않고 골든,데드 크로스가 발생시에도 수식부탁합니다. 3. 50틱 이상 수익이 났다가 본전으로 왔을시 자동청산도 부탁합니다.