커뮤니티
시스템 수식 수정 요청합니다.
2015-01-09 19:05:26
158
글번호 82117
var : Entry(0);
if date != date[1] Then
Entry = 0;
if CurrentContracts > CurrentContracts[1] Then
Entry = Entry+1;
if stime == 150000 Then{
if NextBarOpen <= C Then
buy("매수1",AtStop,C);
if NextBarOpen > C Then
buy("매수2",AtLimit,C);
}
if Entry == 0 Then{
if DayOpen < DayClose(1) Then{
buy("매수11",AtStop,min(DayOpen,DayLow*1.02));
}
if dayopen > DayClose(1) Then
buy("매수22",AtLimit,min(DayClose(1),DayClose(1)*1.01));
}
SetStopLoss(3,PercentStop);
if MarketPosition == 1 Then
ExitLong("매도",AtStop,highest(H,BarsSinceEntry)*0.95);
var1 = ma(c,20);
var2 = ma(c,60);
var3 = ma(C,120);
Condition1 = c < var3 and var1 < var2;
if MarketPosition == 1 and Condition1 == true and Condition1[1] == false Then
ExitLong("매도1");
위 수식처럼 익일 추가 매수진입 가능한 수식에서 추가로 매수조건과 매도조건을 아래와 같이 수정을 요청합니다. 부탁드릴께요.
- 아 래 -
매수조건
시초가 이후 처음 발생하는 Stochastic(20,12,12) GoldenCross
매도조건
1.매수가 대비 +5%에서 익절
2.주가가 120이평을 하향이탈하고 20이평과 60이평이 DeadCross 또는 역배열되는 두조건이 모두 만족하는 경우
익절조건
최고가 대비 -5%
손절조건
매수가 대비 -3%
답변 3
예스스탁 예스스탁 답변
2015-01-12 09:44:32
안녕하세요
예스스탁입니다.
var : stok(0),stod(0);
var : Entry(0),GoldenCross(0);
stok = StochasticsK(20,12);
stod = StochasticsD(20,12,12);
if date != date[1] Then{
Entry = 0;
GoldenCross = 0;
}
if CurrentContracts > CurrentContracts[1] Then
Entry = Entry+1;
if stime == 150000 Then{
if NextBarOpen <= C Then
buy("매수1",AtStop,C);
if NextBarOpen > C Then
buy("매수2",AtLimit,C);
}
if Entry == 0 Then{
if DayOpen < DayClose(1) Then{
buy("매수11",AtStop,min(DayOpen,DayLow*1.02));
}
if dayopen > DayClose(1) Then
buy("매수22",AtLimit,min(DayClose(1),DayClose(1)*1.01));
if crossup(stok,stod) Then{
GoldenCross = GoldenCross+1;
if GoldenCross == 1 Then
buy();
}
}
SetStopProfittarget(5,PercentStop);
SetStopLoss(3,PercentStop);
if MarketPosition == 1 Then
ExitLong("매도",AtStop,highest(H,BarsSinceEntry)*0.95);
var1 = ma(c,20);
var2 = ma(c,60);
var3 = ma(C,120);
Condition1 = c < var3 and var1 < var2;
if MarketPosition == 1 and Condition1 == true and Condition1[1] == false Then
ExitLong("매도1");
즐거운 하루되세요
> 승부사1 님이 쓴 글입니다.
> 제목 : 시스템 수식 수정 요청합니다.
> var : Entry(0);
if date != date[1] Then
Entry = 0;
if CurrentContracts > CurrentContracts[1] Then
Entry = Entry+1;
if stime == 150000 Then{
if NextBarOpen <= C Then
buy("매수1",AtStop,C);
if NextBarOpen > C Then
buy("매수2",AtLimit,C);
}
if Entry == 0 Then{
if DayOpen < DayClose(1) Then{
buy("매수11",AtStop,min(DayOpen,DayLow*1.02));
}
if dayopen > DayClose(1) Then
buy("매수22",AtLimit,min(DayClose(1),DayClose(1)*1.01));
}
SetStopLoss(3,PercentStop);
if MarketPosition == 1 Then
ExitLong("매도",AtStop,highest(H,BarsSinceEntry)*0.95);
var1 = ma(c,20);
var2 = ma(c,60);
var3 = ma(C,120);
Condition1 = c < var3 and var1 < var2;
if MarketPosition == 1 and Condition1 == true and Condition1[1] == false Then
ExitLong("매도1");
위 수식처럼 익일 추가 매수진입 가능한 수식에서 추가로 매수조건과 매도조건을 아래와 같이 수정을 요청합니다. 부탁드릴께요.
- 아 래 -
매수조건
시초가 이후 처음 발생하는 Stochastic(20,12,12) GoldenCross
매도조건
1.매수가 대비 +5%에서 익절
2.주가가 120이평을 하향이탈하고 20이평과 60이평이 DeadCross 또는 역배열되는 두조건이 모두 만족하는 경우
익절조건
최고가 대비 -5%
손절조건
매수가 대비 -3%
승부사1
2015-01-12 11:13:46
제가 요청을 잘못 했군요.
기존의 수식에서 익일 매수진입 조건만 남겨두고 매수와 매도조건을 모두 수정하는 요청입니다.
매수조건
시초가 이후 처음 발생하는 스토캐스틱 (20,12,12) 골든크로스
매도조건
1. 주가가 120이평 하향이탈 또는 아래 있을때
2. 20이평과 60이평 데드크로스 또는 역배열 상태
1과 2를 모두 만족하는 시점
익절조건
매수가 대비 +7% 또는 최고가 대비 -5%
손절조건
매수가 대비 -3%
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 시스템 수식 수정 요청합니다.
> 안녕하세요
예스스탁입니다.
var : stok(0),stod(0);
var : Entry(0),GoldenCross(0);
stok = StochasticsK(20,12);
stod = StochasticsD(20,12,12);
if date != date[1] Then{
Entry = 0;
GoldenCross = 0;
}
if CurrentContracts > CurrentContracts[1] Then
Entry = Entry+1;
if stime == 150000 Then{
if NextBarOpen <= C Then
buy("매수1",AtStop,C);
if NextBarOpen > C Then
buy("매수2",AtLimit,C);
}
if Entry == 0 Then{
if DayOpen < DayClose(1) Then{
buy("매수11",AtStop,min(DayOpen,DayLow*1.02));
}
if dayopen > DayClose(1) Then
buy("매수22",AtLimit,min(DayClose(1),DayClose(1)*1.01));
if crossup(stok,stod) Then{
GoldenCross = GoldenCross+1;
if GoldenCross == 1 Then
buy();
}
}
SetStopProfittarget(5,PercentStop);
SetStopLoss(3,PercentStop);
if MarketPosition == 1 Then
ExitLong("매도",AtStop,highest(H,BarsSinceEntry)*0.95);
var1 = ma(c,20);
var2 = ma(c,60);
var3 = ma(C,120);
Condition1 = c < var3 and var1 < var2;
if MarketPosition == 1 and Condition1 == true and Condition1[1] == false Then
ExitLong("매도1");
즐거운 하루되세요
> 승부사1 님이 쓴 글입니다.
> 제목 : 시스템 수식 수정 요청합니다.
> var : Entry(0);
if date != date[1] Then
Entry = 0;
if CurrentContracts > CurrentContracts[1] Then
Entry = Entry+1;
if stime == 150000 Then{
if NextBarOpen <= C Then
buy("매수1",AtStop,C);
if NextBarOpen > C Then
buy("매수2",AtLimit,C);
}
if Entry == 0 Then{
if DayOpen < DayClose(1) Then{
buy("매수11",AtStop,min(DayOpen,DayLow*1.02));
}
if dayopen > DayClose(1) Then
buy("매수22",AtLimit,min(DayClose(1),DayClose(1)*1.01));
}
SetStopLoss(3,PercentStop);
if MarketPosition == 1 Then
ExitLong("매도",AtStop,highest(H,BarsSinceEntry)*0.95);
var1 = ma(c,20);
var2 = ma(c,60);
var3 = ma(C,120);
Condition1 = c < var3 and var1 < var2;
if MarketPosition == 1 and Condition1 == true and Condition1[1] == false Then
ExitLong("매도1");
위 수식처럼 익일 추가 매수진입 가능한 수식에서 추가로 매수조건과 매도조건을 아래와 같이 수정을 요청합니다. 부탁드릴께요.
- 아 래 -
매수조건
시초가 이후 처음 발생하는 Stochastic(20,12,12) GoldenCross
매도조건
1.매수가 대비 +5%에서 익절
2.주가가 120이평을 하향이탈하고 20이평과 60이평이 DeadCross 또는 역배열되는 두조건이 모두 만족하는 경우
익절조건
최고가 대비 -5%
손절조건
매수가 대비 -3%
예스스탁 예스스탁 답변
2015-01-12 11:53:08
안녕하세요
예스스탁입니다.
매수조건
시초가 이후 처음 발생하는 스토캐스틱 (20,12,12) 골든크로스
매도조건
1. 주가가 120이평 하향이탈 또는 아래 있을때
2. 20이평과 60이평 데드크로스 또는 역배열 상태
1과 2를 모두 만족하는 시점
익절조건
매수가 대비 +7% 또는 최고가 대비 -5%
손절조건
매수가 대비 -3%
아래식에 위 조건은 모두 수정혹은 추가되어 있는 상태입니다.
기존수식에서 익일 매수진입 조건이 어떤 매수를 지정하시는지 모르겠습니다.
첫봉에 매수되는 내용을 제외하고 삭제했습니다.
수식보시고 원하지 않으시는 진입은 삭제하시면 됩니다.
var : stok(0),stod(0);
var : Entry(0),GoldenCross(0);
stok = StochasticsK(20,12);
stod = StochasticsD(20,12,12);
if date != date[1] Then{
Entry = 0;
GoldenCross = 0;
}
if CurrentContracts > CurrentContracts[1] Then
Entry = Entry+1;
if stime == 150000 Then{
if NextBarOpen <= C Then
buy("매수1",AtStop,C);
if NextBarOpen > C Then
buy("매수2",AtLimit,C);
}
if Entry == 0 Then{
if crossup(stok,stod) Then{
GoldenCross = GoldenCross+1;
if GoldenCross == 1 Then
buy();
}
}
SetStopProfittarget(7,PercentStop);
SetStopLoss(3,PercentStop);
if MarketPosition == 1 Then
ExitLong("매도",AtStop,highest(H,BarsSinceEntry)*0.95);
var1 = ma(c,20);
var2 = ma(c,60);
var3 = ma(C,120);
Condition1 = c < var3 and var1 < var2;
if MarketPosition == 1 and Condition1 == true and Condition1[1] == false Then
ExitLong("매도1");
즐거운 하루되세요
> 승부사1 님이 쓴 글입니다.
> 제목 : Re : Re : 시스템 수식 수정 요청합니다.
> 제가 요청을 잘못 했군요.
기존의 수식에서 익일 매수진입 조건만 남겨두고 매수와 매도조건을 모두 수정하는 요청입니다.
매수조건
시초가 이후 처음 발생하는 스토캐스틱 (20,12,12) 골든크로스
매도조건
1. 주가가 120이평 하향이탈 또는 아래 있을때
2. 20이평과 60이평 데드크로스 또는 역배열 상태
1과 2를 모두 만족하는 시점
익절조건
매수가 대비 +7% 또는 최고가 대비 -5%
손절조건
매수가 대비 -3%
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 시스템 수식 수정 요청합니다.
> 안녕하세요
예스스탁입니다.
var : stok(0),stod(0);
var : Entry(0),GoldenCross(0);
stok = StochasticsK(20,12);
stod = StochasticsD(20,12,12);
if date != date[1] Then{
Entry = 0;
GoldenCross = 0;
}
if CurrentContracts > CurrentContracts[1] Then
Entry = Entry+1;
if stime == 150000 Then{
if NextBarOpen <= C Then
buy("매수1",AtStop,C);
if NextBarOpen > C Then
buy("매수2",AtLimit,C);
}
if Entry == 0 Then{
if DayOpen < DayClose(1) Then{
buy("매수11",AtStop,min(DayOpen,DayLow*1.02));
}
if dayopen > DayClose(1) Then
buy("매수22",AtLimit,min(DayClose(1),DayClose(1)*1.01));
if crossup(stok,stod) Then{
GoldenCross = GoldenCross+1;
if GoldenCross == 1 Then
buy();
}
}
SetStopProfittarget(5,PercentStop);
SetStopLoss(3,PercentStop);
if MarketPosition == 1 Then
ExitLong("매도",AtStop,highest(H,BarsSinceEntry)*0.95);
var1 = ma(c,20);
var2 = ma(c,60);
var3 = ma(C,120);
Condition1 = c < var3 and var1 < var2;
if MarketPosition == 1 and Condition1 == true and Condition1[1] == false Then
ExitLong("매도1");
즐거운 하루되세요
> 승부사1 님이 쓴 글입니다.
> 제목 : 시스템 수식 수정 요청합니다.
> var : Entry(0);
if date != date[1] Then
Entry = 0;
if CurrentContracts > CurrentContracts[1] Then
Entry = Entry+1;
if stime == 150000 Then{
if NextBarOpen <= C Then
buy("매수1",AtStop,C);
if NextBarOpen > C Then
buy("매수2",AtLimit,C);
}
if Entry == 0 Then{
if DayOpen < DayClose(1) Then{
buy("매수11",AtStop,min(DayOpen,DayLow*1.02));
}
if dayopen > DayClose(1) Then
buy("매수22",AtLimit,min(DayClose(1),DayClose(1)*1.01));
}
SetStopLoss(3,PercentStop);
if MarketPosition == 1 Then
ExitLong("매도",AtStop,highest(H,BarsSinceEntry)*0.95);
var1 = ma(c,20);
var2 = ma(c,60);
var3 = ma(C,120);
Condition1 = c < var3 and var1 < var2;
if MarketPosition == 1 and Condition1 == true and Condition1[1] == false Then
ExitLong("매도1");
위 수식처럼 익일 추가 매수진입 가능한 수식에서 추가로 매수조건과 매도조건을 아래와 같이 수정을 요청합니다. 부탁드릴께요.
- 아 래 -
매수조건
시초가 이후 처음 발생하는 Stochastic(20,12,12) GoldenCross
매도조건
1.매수가 대비 +5%에서 익절
2.주가가 120이평을 하향이탈하고 20이평과 60이평이 DeadCross 또는 역배열되는 두조건이 모두 만족하는 경우
익절조건
최고가 대비 -5%
손절조건
매수가 대비 -3%
이전글