캔들종가가 스토캐스틱 퍼스트 65위의 있고
이평 5 이평 20 위의 있고
알에스아이 60상향돌파 매수.55하향돌파 매수.
스토어캐스틱 퍼스트 35아래의 있고
이평 5 이평 20 아래의 있고
매수한 그 캔들의 저가보다 낮게 봉완성되면 손절청산.
익절800틱.
시작시간.오전8시. 다음날 오전6시50분 진입한 종목이 있다면 모두청산.시스템완전종료.
답변 1
예스스탁
예스스탁 답변
2022-01-06 15:27:17
안녕하세요
예스스탁입니다.
input : P1(5),P2(20),sto1(10),sto2(5),RSIP(9);
input : StartTime(80000),EndTime(065000);
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 = ma(C,P1);
Var2 = ma(C,P2);
Var3 = StochasticsK(sto1,sto2);
Var4 = RSI(RSIP);
if Tcond == true Then
{
if var1 > Var2 and Var3 > 65 and (CrossUp(Var4,60) or CrossDown(Var4,55)) Then
Buy("b");
if MarketPosition == 1 Then
{
if Var3 < 35 and var1 < Var2 and C < L[BarsSinceEntry] Then
ExitLong();
}
}
SetStopProfittarget(PriceScale*800,PointStop);
즐거운 하루되세요
> 아침 님이 쓴 글입니다.
> 제목 : 문의드립니다.
> 캔들종가가 스토캐스틱 퍼스트 65위의 있고
이평 5 이평 20 위의 있고
알에스아이 60상향돌파 매수.55하향돌파 매수.
스토어캐스틱 퍼스트 35아래의 있고
이평 5 이평 20 아래의 있고
매수한 그 캔들의 저가보다 낮게 봉완성되면 손절청산.
익절800틱.
시작시간.오전8시. 다음날 오전6시50분 진입한 종목이 있다면 모두청산.시스템완전종료.