input : StartTime(90000),EndTime(120000);
Input: AccelFactor(0.02);
Variables: ParabolicValue(0);
var : Tcond(false);
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
Tcond = true;
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
Tcond = False;
ParabolicValue = SAR(AccelFactor, 0.2);
If Tcond == true and High <= ParabolicValue Then
Buy ("Pblc", AtStop, ParabolicValue);
SetStopEndofday(EndTime);
위수식을 선물 매수매도 진입 할수있게 부탁드립니다
답변 1
예스스탁
예스스탁 답변
2020-04-21 15:39:23
안녕하세요
예스스탁입니다.
input : StartTime(90000),EndTime(120000);
Input: AccelFactor(0.02);
Variables: ParabolicValue(0);
var : Tcond(false);
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
Tcond = true;
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
Tcond = False;
ParabolicValue = SAR(AccelFactor, 0.2);
If Tcond == true and High <= ParabolicValue Then
Buy ("b", AtStop, ParabolicValue);
If Tcond == true and Low <= ParabolicValue Then
sell ("s", AtStop, ParabolicValue);
SetStopEndofday(EndTime);
즐거운 하루되세요
> 거암 님이 쓴 글입니다.
> 제목 : 다시 부탁 드립니다
> input : StartTime(90000),EndTime(120000);
Input: AccelFactor(0.02);
Variables: ParabolicValue(0);
var : Tcond(false);
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
Tcond = true;
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
Tcond = False;
ParabolicValue = SAR(AccelFactor, 0.2);
If Tcond == true and High <= ParabolicValue Then
Buy ("Pblc", AtStop, ParabolicValue);
SetStopEndofday(EndTime);
위수식을 선물 매수매도 진입 할수있게 부탁드립니다