예스스탁
예스스탁 답변
2023-09-20 15:41:25
안녕하세요
예스스탁입니다.
캔들 90봉 이내 이격도 100의 변수값 99.95 ~ 100.08
위 내용은 최근 90의 이격도가 모두 99.95 ~ 100.08 사이로 지정해 드립니다/
1
input : StartTime(100000),EndTime(053000);
var : Tcond(False);
IF Endtime > starttime Then
SetStopEndofday(Endtime);
Else
{
if sDate != sDate[1] Then
SetStopEndofday(Endtime);
}
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
{
Tcond = False;
}
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
{
Tcond = true;
IF Endtime <= starttime Then
{
SetStopEndofday(0);
}
}
var1 = Disparity(100);
Var2 = highest(H,100);
Var3 = lowest(l,100);
if Tcond == true Then
{
if CountIF(var1 <= 100.08 and var1 >= 99.85, 90) == 90 and
CrossUp(C,Var3+(var2-Var3)*0.236) Then
Buy();
if MarketPosition == 1 and CrossUp(C,Var3+(var2-Var3)*0.764) Then
ExitLong();
}
2
input : StartTime(100000),EndTime(053000);
var : Tcond(False);
IF Endtime > starttime Then
SetStopEndofday(Endtime);
Else
{
if sDate != sDate[1] Then
SetStopEndofday(Endtime);
}
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
{
Tcond = False;
}
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
{
Tcond = true;
IF Endtime <= starttime Then
{
SetStopEndofday(0);
}
}
var1 = Disparity(100);
Var2 = highest(H,100);
Var3 = lowest(l,100);
if Tcond == true Then
{
if CountIF(var1 <= 100.08 and var1 >= 99.85, 90) == 90 and
CrossDown(C,Var3+(var2-Var3)*0.764) Then
Sell();
if MarketPosition == -1 and CrossDown(C,Var3+(var2-Var3)*0.236) Then
ExitShort();
}
3
input : StartTime(190000),EndTime(053000);
var : Tcond(False);
IF Endtime > starttime Then
SetStopEndofday(Endtime);
Else
{
if sDate != sDate[1] Then
SetStopEndofday(Endtime);
}
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
{
Tcond = False;
}
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
{
Tcond = true;
IF Endtime <= starttime Then
{
SetStopEndofday(0);
}
}
var1 = highest(l,3);
var2 = lowest(l,3);
Var3 = (var1+Var2)/2;
if Tcond == true Then
{
if var1 <= Var2+PriceScale*40 Then
Buy("b",AtLimit,Var3);
if MarketPosition == 1 and BarsSinceEntry == 7 Then
ExitLong();
}
4
input : StartTime(190000),EndTime(053000);
var : Tcond(False);
IF Endtime > starttime Then
SetStopEndofday(Endtime);
Else
{
if sDate != sDate[1] Then
SetStopEndofday(Endtime);
}
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
{
Tcond = False;
}
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
{
Tcond = true;
IF Endtime <= starttime Then
{
SetStopEndofday(0);
}
}
var1 = highest(h,3);
var2 = lowest(h,3);
Var3 = (var1+Var2)/2;
if Tcond == true Then
{
if var1 <= Var2+PriceScale*40 Then
Sell("s",AtLimit,Var3);
if MarketPosition == -1 and BarsSinceEntry == 7 Then
ExitLong();
}
즐거운 하루되세요
> 푸른 님이 쓴 글입니다.
> 제목 : 문의 드립니다
> 해외선물 매매입니다.
1.
* 매매시간 10:00 ~ 익일 05:30
* 익절 100 손절 100
* 캔들 90봉 이내 이격도 100의 변수값 99.95 ~ 100.08
* 피보나치지표 100의 변수값 23.6 매수후 76.4 청산
2.
* 매매시간 10:00 ~ 익일 05:30
* 익절 100 손절 100
* 캔들 90봉 이내 이격도 100의 변수값 99.95 ~ 100.08
* 피보나치지표 100의 변수값 76.4 매도후 23.6 청산
3.
* 매수 청산 *
* 매매시간 19:00 ~ 익일 05:30
* 익절 100 손절 100
* 1,2,3번 캔들의 저점이 40틱내 일때 4번 캔들의 매수는
1,2,3번 캔들의 저점의 중간값에서 매수후 7번 캔들 종가에 청산
4.
* 매도 청산 *
* 매매시간 19:00 ~ 익일 05:30
* 익절 100 손절 100
* 1,2,3번 캔들의 고점이 40틱내 일때 4번 캔들의 매도는
1,2,3번 캔들의 3개 고점의 중간값에서 매도후 7번 캔들 종가에 청산