커뮤니티

추가해주세요------------

프로필 이미지
leekss1
2012-02-20 12:09:41
330
글번호 47926
답변완료
if time-stime[봉수] <시간 and stime >= 92000 and dayPL > -(PriceScale*당일손절) then{ if (MarketPosition == 0 or highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25) and C > C[3] and tema82[0] < tema82[1] +0.08 then Sell(); if (MarketPosition == 0 or Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*25) and C < C[3] and tema82[0] > tema82[1] -0.14 then buy(); } SetStopLoss(PriceScale*13,PointStop); 1)진입을 다르게하려 합니다 하나는 위식과 같이 진입 하는것이고 다른 하나는 위 진입조건 에 스토케스틱을 추가하여 스토케스틱이 85이상이나 25 이하 즉 과열 침체권 에서 진입신호가 나온경우 진입을 안하고(청산만함) 기다리다 과열권 에서 내려올때 매도 침체권에서 올라갈때 매수하게 해주세요 2) 09:20 이후에 " time-stime[봉수] <시간" 이 20개이상 연달아 나온경우 tema82가 상승하고 있으면 포지션이 있던없던 정리하고 매수진입 09:20 이후에 "time-stime[봉수] <시간" 이 20개이상 연달아 나온경우 tema82가 하락하고 있으면 포지션이 있던없던 정리하고 매도진입
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-02-20 14:28:53

안녕하세요 예스스탁입니다. 1. var : stok(0); stok = StochasticsK(10,5); if time-stime[봉수] <시간 and stime >= 92000 and dayPL > -(PriceScale*당일손절) then{ if (MarketPosition == 0 or highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25) and C > C[3] and tema82[0] < tema82[1] +0.08 then{ if CrossDown(stok,80) Then Sell(); if stok > 80 Then exitlong(); } if (MarketPosition == 0 or Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*25) and C < C[3] and tema82[0] > tema82[1] -0.14 then{ if crossup(stok,20) Then buy(); if stok < 20 then ExitShort(); } } 2. if countif(time-stime[봉수] <시간,20) == 20 and tema82 < tema82[1] Then sell(); if countif(time-stime[봉수] <시간,20) == 20 and tema82 > tema82[1] Then buy(); 즐거운 하루되세요 > leekss1 님이 쓴 글입니다. > 제목 : 추가해주세요------------ > if time-stime[봉수] <시간 and stime >= 92000 and dayPL > -(PriceScale*당일손절) then{ if (MarketPosition == 0 or highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25) and C > C[3] and tema82[0] < tema82[1] +0.08 then Sell(); if (MarketPosition == 0 or Lowest(L,BarsSinceEntry) <= EntryPrice-PriceScale*25) and C < C[3] and tema82[0] > tema82[1] -0.14 then buy(); } SetStopLoss(PriceScale*13,PointStop); 1)진입을 다르게하려 합니다 하나는 위식과 같이 진입 하는것이고 다른 하나는 위 진입조건 에 스토케스틱을 추가하여 스토케스틱이 85이상이나 25 이하 즉 과열 침체권 에서 진입신호가 나온경우 진입을 안하고(청산만함) 기다리다 과열권 에서 내려올때 매도 침체권에서 올라갈때 매수하게 해주세요 2) 09:20 이후에 " time-stime[봉수] <시간" 이 20개이상 연달아 나온경우 tema82가 상승하고 있으면 포지션이 있던없던 정리하고 매수진입 09:20 이후에 "time-stime[봉수] <시간" 이 20개이상 연달아 나온경우 tema82가 하락하고 있으면 포지션이 있던없던 정리하고 매도진입