아래지표 두개로 선 위로가면 매수 내려가면 매도 부탁드립니다.
지표1
input:nTime(91500);
if (sdate != sdate[1] and stime >= nTime) or
(sdate == sdate[1] and stime >= nTime and stime[1] < nTime) Then
{
var1 = O;
}
plot1(var1);
지표2
plot4(DayOpen,"시가");
답변 1
예스스탁
예스스탁 답변
2020-01-07 16:35:23
안녕하세요
예스스탁입니다.
input:nTime(91500);
if (sdate != sdate[1] and stime >= nTime) or
(sdate == sdate[1] and stime >= nTime and stime[1] < nTime) Then
{
var1 = O;
}
Condition1 = C > var1 and C > dayopen;
Condition2 = C < var1 and C < dayopen;
if stime >= nTime and Condition1 == true and Condition1[1] == false Then
buy();
if stime >= nTime and Condition2 == true and Condition2[1] == false Then
sell();
새해 복 많이 받으시고 즐거운 하루되시기 바랍니다.
> 야크 님이 쓴 글입니다.
> 제목 : 시스탬
> 아래지표 두개로 선 위로가면 매수 내려가면 매도 부탁드립니다.
지표1
input:nTime(91500);
if (sdate != sdate[1] and stime >= nTime) or
(sdate == sdate[1] and stime >= nTime and stime[1] < nTime) Then
{
var1 = O;
}
plot1(var1);
지표2
plot4(DayOpen,"시가");