커뮤니티
시스템식 부탁드립니다
2025-12-21 09:24:03
138
글번호 229235
초보입니다. 잘 부탁합니다
마이크로유로선물 5분봉 거래하고 있습니다. 일봉기준 전일봉이 양봉이면 시초가+5틱에서1계약매수진입,-15틱에서1개매수진입-30틱에서1개매수진입 총 3계약까지 진입합니다. 손절은 없고 시초가대비30틱이상 상승시 되돌림50프로에 청산,또는 06시에 청산
전일봉이 음봉이면 +5틱에서 1개매도진입,-15틱,-30틱에서 1계약씩 추가매도진입,청산조건은 매수진입 반대로 부탁합니다.
답변 1
예스스탁 예스스탁 답변
2025-12-23 10:44:14
안녕하세요
예스스탁입니다.
추가진입을 하는 수식이므로
적용시 설정창에서 파라미딩을 다른진입신호만 하용으로 설정하고 적용하시면 됩니다.
if sdate != sDate[1] Then
SetStopEndofday(060000);
if NextBarBdate != Bdate Then
{
SetStopEndofday(0);
if C > DayOpen Then
{
Buy("b1",AtStop,NextBarOpen+PriceScale*5);
Buy("b2",AtLimit,NextBarOpen-PriceScale*15);
Buy("b3",AtLimit,NextBarOpen-PriceScale*30);
}
if C < DayOpen Then
{
Sell("s1",AtStop,NextBarOpen-PriceScale*5);
Sell("s2",AtLimit,NextBarOpen+PriceScale*15);
Sell("s3",AtLimit,NextBarOpen+PriceScale*30);
}
}
Else
{
if DayClose(1) > DayOpen(1) Then
{
if DayHigh < DayOpen+PriceScale*5 Then
Buy("b1.",AtStop,DayOpen+PriceScale*5);
if DayLow < DayOpen-PriceScale*15 Then
Buy("b2.",Atlimit,DayOpen-PriceScale*15);
if DayLow < DayOpen-PriceScale*30 Then
Buy("b3.",AtLimit,DayOpen-PriceScale*30);
}
if DayClose(1) < DayOpen(1) Then
{
if DayLow > DayOpen-PriceScale*5 Then
Sell("s1.",AtStop,DayOpen-PriceScale*5);
if DayHigh < DayOpen+PriceScale*15 Then
Sell("s2.",AtStop,DayOpen+PriceScale*15);
if DayHigh < DayOpen+PriceScale*30 Then
sell("s3.",AtStop,DayOpen+PriceScale*30);
}
}
if MarketPosition == 1 Then
{
if DayHigh >= DayOpen+PriceScale*30 Then
ExitLong("bx",AtStop,DayHigh-(DayHigh-DayOpen)*0.5);
}
if MarketPosition == -1 Then
{
if DayLow <= DayOpen-PriceScale*30 Then
ExitShort("sx",AtStop,DayLow+(DayOpen-DayLow)*0.5);
}
즐거운 하루되세요
다음글
이전글