커뮤니티

수식문의

프로필 이미지
회원
2006-09-27 15:46:54
925
글번호 10925
답변완료
수고하십니다. 선물 30분봉에서 - 기본수식 ( 포지션) - 5 이평이 20 이평을 상방교차시 매수하고, 하방교차시 매수청산 진입가격대비 1 포인트 하락이면 손절매 - 피라미딩수식 ( 당일청산 ) - 전일 마지막 봉에 매수상태이고, 당일 5번째봉에 매수상태이면 추가매수 추가진입후 최고가격대비 1 포인트 하락이면 추가진입분 청산 아니면 추가진입분 14시 55분에 당일청산하는 수식을 부탁드립니다. 답변주심에 미리 감사드리고 즐거운 나날되시기 바랍니다.
시스템
답변 4
프로필 이미지

예스스탁 예스스탁 답변

2006-09-29 08:39:21

안녕하세요 예스스탁입니다. 문의하신 식은 다음과 같습니다. 1. setstoploss(1,pointstop); if crossup(ma(c,5),ma(c,20)) then buy(); if crossdown(ma(c,5),ma(c,20)) then exitlong(); 2. 당일 5번째 봉이 매수상태이면 추가매수는 아래와 같습니다. setstopendofday(1500); if date != date[1] then var1 = 0; if dayindex() == 4 and marketposition() == 1 then{ buy("추가매수"); var1 = 1; var2 = dayindex()+1; } if var1 == 1 and marketposition() == 1 then{ if highest(H,(dayindex()+1)-var2) >= C+1 then exitlong("청산1", OnClose, DEF, "", 1); } 문의하신 부분이 당일청산이므로 전일 마지막 봉에 매수상태가 발생하지 않습니다. 즐거운 하루 되세요 > CJ_ok3824 님이 쓴 글입니다. > 제목 : 수식문의 > 수고하십니다. 선물 30분봉에서 - 기본수식 ( 포지션) - 5 이평이 20 이평을 상방교차시 매수하고, 하방교차시 매수청산 진입가격대비 1 포인트 하락이면 손절매 - 피라미딩수식 ( 당일청산 ) - 전일 마지막 봉에 매수상태이고, 당일 5번째봉에 매수상태이면 추가매수 추가진입후 최고가격대비 1 포인트 하락이면 추가진입분 청산 아니면 추가진입분 14시 55분에 당일청산하는 수식을 부탁드립니다. 답변주심에 미리 감사드리고 즐거운 나날되시기 바랍니다.
프로필 이미지

예스스탁 예스스탁 답변

2006-09-29 11:03:32

안녕하세요 예스스탁입니다. 수정해서 다시 올려 드립니다. setstoploss(1,pointstop); if marketposition() == 0 and crossup(ma(c,5),ma(c,20)) and stime < 150000 then{ buy("매수",onclose,def,1); } if isentryname("매수") and crossdown(ma(c,5),ma(c,20)) then{ exitlong("매수청산", OnClose, DEF, "", 1,1); } if dayindex() == 4 and MaxEntries() == 1 then{ buy("추가매수",onclose,def,1); var2 = dayindex()+1; } if MaxEntries() == 2 then{ if highest(H,(dayindex()+1)-var2) >= C+1 then exitlong("청산1", OnClose, DEF, "", 1,1); } if MaxEntries() == 2 and stime == 150000 then exitlong("청산2", OnClose, DEF, "", 1,1); 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수식문의 > 안녕하세요 예스스탁입니다. 문의하신 식은 다음과 같습니다. 1. setstoploss(1,pointstop); if crossup(ma(c,5),ma(c,20)) then buy(); if crossdown(ma(c,5),ma(c,20)) then exitlong(); 2. 당일 5번째 봉이 매수상태이면 추가매수는 아래와 같습니다. setstopendofday(1500); if date != date[1] then var1 = 0; if dayindex() == 4 and marketposition() == 1 then{ buy("추가매수"); var1 = 1; var2 = dayindex()+1; } if var1 == 1 and marketposition() == 1 then{ if highest(H,(dayindex()+1)-var2) >= C+1 then exitlong("청산1", OnClose, DEF, "", 1); } 문의하신 부분이 당일청산이므로 전일 마지막 봉에 매수상태가 발생하지 않습니다. 즐거운 하루 되세요 > CJ_ok3824 님이 쓴 글입니다. > 제목 : 수식문의 > 수고하십니다. 선물 30분봉에서 - 기본수식 ( 포지션) - 5 이평이 20 이평을 상방교차시 매수하고, 하방교차시 매수청산 진입가격대비 1 포인트 하락이면 손절매 - 피라미딩수식 ( 당일청산 ) - 전일 마지막 봉에 매수상태이고, 당일 5번째봉에 매수상태이면 추가매수 추가진입후 최고가격대비 1 포인트 하락이면 추가진입분 청산 아니면 추가진입분 14시 55분에 당일청산하는 수식을 부탁드립니다. 답변주심에 미리 감사드리고 즐거운 나날되시기 바랍니다.
프로필 이미지

예스스탁 예스스탁 답변

2006-09-29 11:41:01

식을 수정했습니다. setstoploss(1,pointstop); if marketposition() == 0 and crossup(ma(c,5),ma(c,20)) and stime < 150000 then{ buy("매수",onclose,def,1); } if isentryname("매수") and crossdown(ma(c,5),ma(c,20)) then{ exitlong("매수청산", OnClose, DEF, "", 1,1); } if sdate != entrydate() and dayindex() == 4 and MaxEntries() == 1 then{ buy("추가매수",onclose,def,1); var2 = dayindex()+1; } if MaxEntries() == 2 then{ if highest(H,(dayindex()+1)-var2) >= C+1 then exitlong("청산1", OnClose, DEF, "", 1,1); } if MaxEntries() == 2 and stime == 150000 then exitlong("청산2", OnClose, DEF, "", 1,1); 추가매수 부분에 현재 수량이 1이고 진입날짜는 오늘 날짜와 다르다 라는 부분을 추가했습니다. 참고하시기 바랍니다. 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : Re : 수식문의 > 안녕하세요 예스스탁입니다. 수정해서 다시 올려 드립니다. setstoploss(1,pointstop); if marketposition() == 0 and crossup(ma(c,5),ma(c,20)) and stime < 150000 then{ buy("매수",onclose,def,1); } if isentryname("매수") and crossdown(ma(c,5),ma(c,20)) then{ exitlong("매수청산", OnClose, DEF, "", 1,1); } if dayindex() == 4 and MaxEntries() == 1 then{ buy("추가매수",onclose,def,1); var2 = dayindex()+1; } if MaxEntries() == 2 then{ if highest(H,(dayindex()+1)-var2) >= C+1 then exitlong("청산1", OnClose, DEF, "", 1,1); } if MaxEntries() == 2 and stime == 150000 then exitlong("청산2", OnClose, DEF, "", 1,1); 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수식문의 > 안녕하세요 예스스탁입니다. 문의하신 식은 다음과 같습니다. 1. setstoploss(1,pointstop); if crossup(ma(c,5),ma(c,20)) then buy(); if crossdown(ma(c,5),ma(c,20)) then exitlong(); 2. 당일 5번째 봉이 매수상태이면 추가매수는 아래와 같습니다. setstopendofday(1500); if date != date[1] then var1 = 0; if dayindex() == 4 and marketposition() == 1 then{ buy("추가매수"); var1 = 1; var2 = dayindex()+1; } if var1 == 1 and marketposition() == 1 then{ if highest(H,(dayindex()+1)-var2) >= C+1 then exitlong("청산1", OnClose, DEF, "", 1); } 문의하신 부분이 당일청산이므로 전일 마지막 봉에 매수상태가 발생하지 않습니다. 즐거운 하루 되세요 > CJ_ok3824 님이 쓴 글입니다. > 제목 : 수식문의 > 수고하십니다. 선물 30분봉에서 - 기본수식 ( 포지션) - 5 이평이 20 이평을 상방교차시 매수하고, 하방교차시 매수청산 진입가격대비 1 포인트 하락이면 손절매 - 피라미딩수식 ( 당일청산 ) - 전일 마지막 봉에 매수상태이고, 당일 5번째봉에 매수상태이면 추가매수 추가진입후 최고가격대비 1 포인트 하락이면 추가진입분 청산 아니면 추가진입분 14시 55분에 당일청산하는 수식을 부탁드립니다. 답변주심에 미리 감사드리고 즐거운 나날되시기 바랍니다.
프로필 이미지

회원

2006-09-29 11:45:01

> 예스스탁 님이 쓴 글입니다. > 제목 : Re : Re : Re : 수식문의 > 식을 수정했습니다. setstoploss(1,pointstop); if marketposition() == 0 and crossup(ma(c,5),ma(c,20)) and stime < 150000 then{ buy("매수",onclose,def,1); } if isentryname("매수") and crossdown(ma(c,5),ma(c,20)) then{ exitlong("매수청산", OnClose, DEF, "", 1,1); } if sdate != entrydate() and dayindex() == 4 and MaxEntries() == 1 then{ buy("추가매수",onclose,def,1); var2 = dayindex()+1; } if MaxEntries() == 2 then{ if highest(H,(dayindex()+1)-var2) >= C+1 then exitlong("청산1", OnClose, DEF, "", 1,1); } if MaxEntries() == 2 and stime == 150000 then exitlong("청산2", OnClose, DEF, "", 1,1); 추가매수 부분에 현재 수량이 1이고 진입날짜는 오늘 날짜와 다르다 라는 부분을 추가했습니다. 참고하시기 바랍니다. 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : Re : 수식문의 > 안녕하세요 예스스탁입니다. 수정해서 다시 올려 드립니다. setstoploss(1,pointstop); if marketposition() == 0 and crossup(ma(c,5),ma(c,20)) and stime < 150000 then{ buy("매수",onclose,def,1); } if isentryname("매수") and crossdown(ma(c,5),ma(c,20)) then{ exitlong("매수청산", OnClose, DEF, "", 1,1); } if dayindex() == 4 and MaxEntries() == 1 then{ buy("추가매수",onclose,def,1); var2 = dayindex()+1; } if MaxEntries() == 2 then{ if highest(H,(dayindex()+1)-var2) >= C+1 then exitlong("청산1", OnClose, DEF, "", 1,1); } if MaxEntries() == 2 and stime == 150000 then exitlong("청산2", OnClose, DEF, "", 1,1); 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수식문의 > 안녕하세요 예스스탁입니다. 문의하신 식은 다음과 같습니다. 1. setstoploss(1,pointstop); if crossup(ma(c,5),ma(c,20)) then buy(); if crossdown(ma(c,5),ma(c,20)) then exitlong(); 2. 당일 5번째 봉이 매수상태이면 추가매수는 아래와 같습니다. setstopendofday(1500); if date != date[1] then var1 = 0; if dayindex() == 4 and marketposition() == 1 then{ buy("추가매수"); var1 = 1; var2 = dayindex()+1; } if var1 == 1 and marketposition() == 1 then{ if highest(H,(dayindex()+1)-var2) >= C+1 then exitlong("청산1", OnClose, DEF, "", 1); } 문의하신 부분이 당일청산이므로 전일 마지막 봉에 매수상태가 발생하지 않습니다. 즐거운 하루 되세요 > CJ_ok3824 님이 쓴 글입니다. > 제목 : 수식문의 > 수고하십니다. 선물 30분봉에서 - 기본수식 ( 포지션) - 5 이평이 20 이평을 상방교차시 매수하고, 하방교차시 매수청산 진입가격대비 1 포인트 하락이면 손절매 - 피라미딩수식 ( 당일청산 ) - 전일 마지막 봉에 매수상태이고, 당일 5번째봉에 매수상태이면 추가매수 추가진입후 최고가격대비 1 포인트 하락이면 추가진입분 청산 아니면 추가진입분 14시 55분에 당일청산하는 수식을 부탁드립니다. 답변주심에 미리 감사드리고 즐거운 나날되시기 바랍니다.