시작시간 오전 8시. 끝나는 시간 오전6시50분
스토어캐스틱 퍼스트 캔들이 80아래의 있고 25상향돌파 매도. 80아래의 있고 35상향돌파 매도.
80아래의 있고 50상향돌파 매도. 80아래의 있고 65상향돌파 매도.
80상향돌파 매도.
80상향돌파 매도한 그 캔들의 고가보다 높게 봉완성되면 매도올청산.
익절400틱.
수고하세요.
답변 1
예스스탁
예스스탁 답변
2022-02-21 10:28:46
안녕하세요
예스스탁입니다.
input : StartTime(80000),EndTime(65000);
input : sto1(10),sto2(5),sto3(5),익절틱수(400);
var : stok(0),stod(0);
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);
}
}
stok = stochasticsK(sto1,sto2);
stod = stochasticsD(sto1,sto2,sto3);
if Tcond == true Then
{
if CrossUp(stok,25) Then
Sell();
if CrossUp(stok,35) Then
Sell();
if CrossUp(stok,50) Then
Sell();
if CrossUp(stok,65) Then
Sell();
if CrossUp(stok,80) Then
Sell();
if MarketPosition == -1 and C > H[BarsSinceEntry] Then
ExitShort();
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
즐거운 하루되세요
> 아침 님이 쓴 글입니다.
> 제목 : 문의드립니다.
> 시작시간 오전 8시. 끝나는 시간 오전6시50분
스토어캐스틱 퍼스트 캔들이 80아래의 있고 25상향돌파 매도. 80아래의 있고 35상향돌파 매도.
80아래의 있고 50상향돌파 매도. 80아래의 있고 65상향돌파 매도.
80상향돌파 매도.
80상향돌파 매도한 그 캔들의 고가보다 높게 봉완성되면 매도올청산.
익절400틱.
수고하세요.