커뮤니티

로직 부탁드립니다 ^^

프로필 이미지
jae1
2007-05-07 11:58:56
1079
글번호 12513
답변완료
진입 1.전일종가대비 2포인트 이상 변동시 (반대 진입) 2.당일상하폭이 2포인트 이상 변동시 (반대 진입) 청산 1. 1.2포인트이상수익후 0.2포인트 하락하여 1.0포인트 수익시 2. 1.8포인트이상수익후 0.3포인트 하락하여 1.5포인트 수익시 3. 2.4포인트이상수익후 0.4포인트 하락하여 2.0포인트 수익시 4. 3.0포인트이상수익후 0.5포인트 하락하여 2.5포인트 수익시 5. 3.6포인트이상수익후 0.6포인트 하락하여 3.0포인트 수익시 6. 4.8포인트이상수익후 0.8포인트 하락하여 4.0포인트 수익시 7. 2시 50분 청산 재진입 1. 청산후 수익의 수준까지 하락시 재진입 (예를 들어 150에 진입해서 151때 청산 하였 고 다시 150이됨 재매수) 2. 청산후 수익의 배수이상 상승시 반대진입 손절매 1. 진입후 0.5포인트이상 손실시 부탁드리겟습니다 감사 합니다 ~
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2007-05-08 09:57:23

안녕하세요 예스스탁입니다. 진입내용이 정확치 않습니다. if marketposition() == 0 then{ if c < dayclose(1)-2 then buy(); if C > dayclose(1)+2 then sell(); } if marketposition() == 0 then{ if marketposition(1) == 1 and crossdown(c,entryprice(1)) then buy(); if marketposition(1) == -1 and crossdown(c,entryprice(1)) then sell(); } if marketposition() == 0 then{ if marketposition(1) == 1 and C >= exitprice()+positionprofit()*2 then buy(); if marketposition(1) == -1 and C <= exitprice()-positionprofit()*2 then sell(); } if marketposition() == 1 then{ if highest(C,barssinceentry()) >= entryPrice()+1.2 and highest(C,barssinceentry()) < entryPrice()+1.8 and C <= highest(C,barssinceentry())-0.2 then exitlong(); if highest(C,barssinceentry()) >= entryPrice()+1.8 and highest(C,barssinceentry()) < entryPrice()+2.4 and C <= highest(C,barssinceentry())-0.3 then exitlong(); if highest(C,barssinceentry()) >= entryPrice()+2.4 and highest(C,barssinceentry()) < entryPrice()+3.0 and C <= highest(C,barssinceentry())-0.4 then exitlong(); if highest(C,barssinceentry()) >= entryPrice()+3.0 and highest(C,barssinceentry()) < entryPrice()+3.6 and C <= highest(C,barssinceentry())-0.5 then exitlong(); if highest(C,barssinceentry()) >= entryPrice()+3.6 and highest(C,barssinceentry()) < entryPrice()+4.8 and C <= highest(C,barssinceentry())-0.6 then exitlong(); if highest(C,barssinceentry()) >= entryPrice()+4.8 and C <= highest(C,barssinceentry())-0.8 then exitlong(); } if marketposition() == -1 then{ if lowest(C,barssinceentry()) <= entryPrice()-1.2 and lowest(C,barssinceentry()) > entryPrice()-1.8 and C >= lowest(C,barssinceentry())+0.2 then exitlong(); if lowest(C,barssinceentry()) <= entryPrice()-1.8 and lowest(C,barssinceentry()) > entryPrice()-2.4 and C <= highest(C,barssinceentry())+0.3 then exitlong(); if lowest(C,barssinceentry()) <= entryPrice()-2.4 and lowest(C,barssinceentry()) > entryPrice()-3.0 and C <= highest(C,barssinceentry())+0.4 then exitlong(); if lowest(C,barssinceentry()) <= entryPrice()-3.0 and lowest(C,barssinceentry()) > entryPrice()-3.6 and C <= highest(C,barssinceentry())+0.5 then exitlong(); if lowest(C,barssinceentry()) <= entryPrice()-3.6 and lowest(C,barssinceentry()) > entryPrice()-4.8 and C <= highest(C,barssinceentry())+0.6 then exitlong(); if lowest(C,barssinceentry()) <= entryPrice()-4.8 and C <= highest(C,barssinceentry())+0.8 then exitlong(); } setstoploss(0.5,pointstop); setstopendofday(145000); 참고하시기 바랍니다 즐거운 하루되세요 > jae1 님이 쓴 글입니다. > 제목 : 로직 부탁드립니다 ^^ > 진입 1.전일종가대비 2포인트 이상 변동시 (반대 진입) 2.당일상하폭이 2포인트 이상 변동시 (반대 진입) 청산 1. 1.2포인트이상수익후 0.2포인트 하락하여 1.0포인트 수익시 2. 1.8포인트이상수익후 0.3포인트 하락하여 1.5포인트 수익시 3. 2.4포인트이상수익후 0.4포인트 하락하여 2.0포인트 수익시 4. 3.0포인트이상수익후 0.5포인트 하락하여 2.5포인트 수익시 5. 3.6포인트이상수익후 0.6포인트 하락하여 3.0포인트 수익시 6. 4.8포인트이상수익후 0.8포인트 하락하여 4.0포인트 수익시 7. 2시 50분 청산 재진입 1. 청산후 수익의 수준까지 하락시 재진입 (예를 들어 150에 진입해서 151때 청산 하였 고 다시 150이됨 재매수) 2. 청산후 수익의 배수이상 상승시 반대진입 손절매 1. 진입후 0.5포인트이상 손실시 부탁드리겟습니다 감사 합니다 ~