커뮤니티

재문의 드립니다.

프로필 이미지
choice
2013-05-09 10:24:29
217
글번호 62990
답변완료
수고가 많으십니다. 아래와 같은 수식을 받아 적용을 하였는데.. 음..거래내역을 보면, bs4, sb4 신호가 적용되지 않습니다. 확인 요청드립니다. 1. 매도 진입 후 1시간동안 매도 진입가가 최저가(진입 이후) 대비 0.5P 이하로 유지하고 진입가와 현재가가 +0.5 이상이면 매수 전환. 2. 매수 진입 후 1시간동안 매수 진입가가 최고가(진입 이후) 대비 0.5P 이하로 유지하고 진입가와 현재가가 -0.5 이상이면 매도 전환. If asks > bids then Sell("sell"); if MarketPosition == -1 and Isentryname("sell") == true and TimeToMinutes(stime) == TimeToMinutes(stime)+60 and Lowest(L,BarsSinceEntry) > entryprice+0.5 and C >= Lowest(L,BarsSinceEntry)+0.5 Then buy("sb4"); If bids > asks then buy("Buy"); if MarketPosition == 1 and Isentryname("buy") == true and TimeToMinutes(stime) == TimeToMinutes(stime)+60 and highest(H,BarsSinceEntry) < entryprice+0.5 and C <= highest(H,BarsSinceEntry)-0.5 Then sell("bs4"); 감사합니다.
지표
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2013-05-09 16:17:52

> choice 님이 쓴 글입니다. > 제목 : 재문의 드립니다. > 수고가 많으십니다. 아래와 같은 수식을 받아 적용을 하였는데.. 음..거래내역을 보면, bs4, sb4 신호가 적용되지 않습니다. 확인 요청드립니다. 1. 매도 진입 후 1시간동안 매도 진입가가 최저가(진입 이후) 대비 0.5P 이하로 유지하고 진입가와 현재가가 +0.5 이상이면 매수 전환. 2. 매수 진입 후 1시간동안 매수 진입가가 최고가(진입 이후) 대비 0.5P 이하로 유지하고 진입가와 현재가가 -0.5 이상이면 매도 전환. If asks > bids then Sell("sell"); if MarketPosition == -1 and Isentryname("sell") == true and TimeToMinutes(stime) == TimeToMinutes(stime)+60 and Lowest(L,BarsSinceEntry) > entryprice+0.5 and C >= Lowest(L,BarsSinceEntry)+0.5 Then buy("sb4"); If bids > asks then buy("Buy"); if MarketPosition == 1 and Isentryname("buy") == true and TimeToMinutes(stime) == TimeToMinutes(stime)+60 and highest(H,BarsSinceEntry) < entryprice+0.5 and C <= highest(H,BarsSinceEntry)-0.5 Then sell("bs4"); 감사합니다.
프로필 이미지

예스스탁 예스스탁 답변

2013-05-09 17:01:42

안녕하세요 예스스탁입니다. 주석 참고하시기 바랍니다. If asks > bids then Sell("sell"); if MarketPosition == -1 and #매도 진입 중 Isentryname("sell") == true and #진입명은 sell TimeToMinutes(stime) == TimeToMinutes(EntryTime)+60 and #진입이후 60분 경과봉 Lowest(L,BarsSinceEntry) > entryprice-0.5 and #진입이후 최저가는 진입가-0.5를 넘지 않음(0.5이상 수익발생하지 않음) C >= EntryPrice+0.5 Then #현재봉 종가는 진입가 대비 0.5 이상이면 매수로 스위칭 buy("sb4"); If bids > asks then buy("Buy"); if MarketPosition == 1 and #매수 진입 중 Isentryname("buy") == true and #진입명은 buy TimeToMinutes(stime) == TimeToMinutes(EntryTime)+60 and #진입이후 60분 경과봉 highest(H,BarsSinceEntry) < entryprice+0.5 and #진입이후 최고가는 진입가+0.5룰 넘지 않음(0.5 이상 수익발생하지 않음) C <= EntryPrice-0.5 Then #현재봉 종가는 진입가 대비 -0.5 이하이면 매도로 스위칭 sell("bs4"); 즐거운 하루되세요 > choice 님이 쓴 글입니다. > 제목 : 재문의 드립니다. > 수고가 많으십니다. 아래와 같은 수식을 받아 적용을 하였는데.. 음..거래내역을 보면, bs4, sb4 신호가 적용되지 않습니다. 확인 요청드립니다. 1. 매도 진입 후 1시간동안 매도 진입가가 최저가(진입 이후) 대비 0.5P 이하로 유지하고 진입가와 현재가가 +0.5 이상이면 매수 전환. 2. 매수 진입 후 1시간동안 매수 진입가가 최고가(진입 이후) 대비 0.5P 이하로 유지하고 진입가와 현재가가 -0.5 이상이면 매도 전환. If asks > bids then Sell("sell"); if MarketPosition == -1 and Isentryname("sell") == true and TimeToMinutes(stime) == TimeToMinutes(stime)+60 and Lowest(L,BarsSinceEntry) > entryprice+0.5 and C >= Lowest(L,BarsSinceEntry)+0.5 Then buy("sb4"); If bids > asks then buy("Buy"); if MarketPosition == 1 and Isentryname("buy") == true and TimeToMinutes(stime) == TimeToMinutes(stime)+60 and highest(H,BarsSinceEntry) < entryprice+0.5 and C <= highest(H,BarsSinceEntry)-0.5 Then sell("bs4"); 감사합니다.