예스스탁
예스스탁 답변
2022-03-29 14:38:19
안녕하세요
예스스탁입니다.
1
#data4 날짜 변경
#count4는 0으로 초기화
if data4(Bdate != Bdate[1]) Then
count4 = 0;
#조건만족 count4의 값 1씩 증가
if data4(c>lowD(0)+fc) Then
count4 = count4+1;
#data5 날짜 변경
#count5는 0으로 초기화
if data5(Bdate != Bdate[1]) Then
count5 = 0;
#조건만족 count5의 값 1씩 증가
if data5(c<highD(0)-fp) Then
count5 = count5+1;
#count4가3이고 couint5가 3이면 cond변수에 true, 아니면 false
cond = count4 == 3 and count5 == 3;
2
#현재봉은 cond변수의 값이 true, 전봉은 false
#현재봉에서 data4와 data5조건 최초 만족
cond == true and cond[1] == False
즐거운 하루되세요
> 목마와숙녀 님이 쓴 글입니다.
> 제목 : 문의
> 답변 수식에서
2가지 부분 해설 부탁드립니다.
1) 진입식 전에서
if data4(Bdate != Bdate[1]) Then
count4 = 0;
if data4(c>lowD(0)+fc) Then
count4 = count4+1;
if data5(Bdate != Bdate[1]) Then
count5 = 0;
if data5(c<highD(0)-fp) Then
count5 = count5+1;
cond = count4 == 3 and count5 == 3;
2) 진입식 안에서
cond == true and cond[1] == False
******************************************************************************
안녕하세요
예스스탁입니다.
input : fc(18),fp(8),butfs(50000),butff(1375),lock(130000);
input : upls1(0.284),uptr1(0.632),upmi1(999),upbg1(999);
var : B(0,Data1),S(0,Data1),cond(False,Data1);
var : count4(0,data4),count5(0,data5);
if data1(Bdate != Bdate[1]) Then
{
B = 0;
S = 0;
}
if data4(Bdate != Bdate[1]) Then
count4 = 0;
if data4(c>lowD(0)+fc) Then
count4 = count4+1;
if data5(Bdate != Bdate[1]) Then
count5 = 0;
if data5(c<highD(0)-fp) Then
count5 = count5+1;
cond = count4 == 3 and count5 == 3;
if stime<lock and
cond == true and cond[1] == False
and !(data2(c<HighD(0)-butfs)) and !(data3(c<HighD(0)-butff)) and B == 0 Then
{
B = 1;
Buy("b1");
}
if MarketPosition == 1 Then
{
if IsEntryName("b1") == true Then
{
SetStopLoss(upls1,PercentStop);
SetStopTrailing(uptr1,0,PercentStop,1);
SetStopInactivity(upmi1,upbg1,PercentStop);
}
}
Else
{
SetStopLoss(0);
SetStopTrailing(0,0);
SetStopProfittarget(0);
SetStopInactivity(0);
}
즐거운 하루되세요
> 목마와숙녀 님이 쓴 글입니다.
> 제목 : 문의
> 아래 진입수식 중 일부
data4(c>lowD(0)+fc) and data5(c<highD(0)-fp) 을
data4의 3번째 고점 돌파 and data5의 3번째 저점 돌파로 변경한
수식을 요청드립니다.
********************************************************************************
input : fc(18),fp(8),butfs(50000),butff(1375),lock(130000);
input : upls1(0.284),uptr1(0.632),upmi1(999),upbg1(999);
var : B(0,Data1),S(0,Data1);
if data1(Bdate != Bdate[1]) Then
{
B = 0;
S = 0;
}
if stime<lock and data4(c>lowD(0)+fc) and data5(c<highD(0)-fp)
and !(data2(c<HighD(0)-butfs)) and !(data3(c<HighD(0)-butff)) and B == 0 Then
{
B = 1;
Buy("b1");
}
if MarketPosition == 1 Then
{
if IsEntryName("b1") == true Then
{
SetStopLoss(upls1,PercentStop);
SetStopTrailing(uptr1,0,PercentStop,1);
SetStopInactivity(upmi1,upbg1,PercentStop);
}
}
Else
{
SetStopLoss(0);
SetStopTrailing(0,0);
SetStopProfittarget(0);
SetStopInactivity(0);
}
목마와숙녀
2022-03-29 15:23:27
목마와숙녀 님에 의해 삭제된 답변입니다.
목마와숙녀
2022-03-29 15:23:27
#조건만족 count5의 값 1씩 증가
if data5(c<highD(0)-fp) Then
count5 = count5+1;
위 내용 count5의 값이 1씩 증가한다는 것은
하방으로 계속 내려간다는 것을 뜻하는 것이지요?
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 문의
> 안녕하세요
예스스탁입니다.
1
#data4 날짜 변경
#count4는 0으로 초기화
if data4(Bdate != Bdate[1]) Then
count4 = 0;
#조건만족 count4의 값 1씩 증가
if data4(c>lowD(0)+fc) Then
count4 = count4+1;
#data5 날짜 변경
#count5는 0으로 초기화
if data5(Bdate != Bdate[1]) Then
count5 = 0;
#조건만족 count5의 값 1씩 증가
if data5(c<highD(0)-fp) Then
count5 = count5+1;
#count4가3이고 couint5가 3이면 cond변수에 true, 아니면 false
cond = count4 == 3 and count5 == 3;
2
#현재봉은 cond변수의 값이 true, 전봉은 false
#현재봉에서 data4와 data5조건 최초 만족
cond == true and cond[1] == False
즐거운 하루되세요
> 목마와숙녀 님이 쓴 글입니다.
> 제목 : 문의
> 답변 수식에서
2가지 부분 해설 부탁드립니다.
1) 진입식 전에서
if data4(Bdate != Bdate[1]) Then
count4 = 0;
if data4(c>lowD(0)+fc) Then
count4 = count4+1;
if data5(Bdate != Bdate[1]) Then
count5 = 0;
if data5(c<highD(0)-fp) Then
count5 = count5+1;
cond = count4 == 3 and count5 == 3;
2) 진입식 안에서
cond == true and cond[1] == False
******************************************************************************
안녕하세요
예스스탁입니다.
input : fc(18),fp(8),butfs(50000),butff(1375),lock(130000);
input : upls1(0.284),uptr1(0.632),upmi1(999),upbg1(999);
var : B(0,Data1),S(0,Data1),cond(False,Data1);
var : count4(0,data4),count5(0,data5);
if data1(Bdate != Bdate[1]) Then
{
B = 0;
S = 0;
}
if data4(Bdate != Bdate[1]) Then
count4 = 0;
if data4(c>lowD(0)+fc) Then
count4 = count4+1;
if data5(Bdate != Bdate[1]) Then
count5 = 0;
if data5(c<highD(0)-fp) Then
count5 = count5+1;
cond = count4 == 3 and count5 == 3;
if stime<lock and
cond == true and cond[1] == False
and !(data2(c<HighD(0)-butfs)) and !(data3(c<HighD(0)-butff)) and B == 0 Then
{
B = 1;
Buy("b1");
}
if MarketPosition == 1 Then
{
if IsEntryName("b1") == true Then
{
SetStopLoss(upls1,PercentStop);
SetStopTrailing(uptr1,0,PercentStop,1);
SetStopInactivity(upmi1,upbg1,PercentStop);
}
}
Else
{
SetStopLoss(0);
SetStopTrailing(0,0);
SetStopProfittarget(0);
SetStopInactivity(0);
}
즐거운 하루되세요
> 목마와숙녀 님이 쓴 글입니다.
> 제목 : 문의
> 아래 진입수식 중 일부
data4(c>lowD(0)+fc) and data5(c<highD(0)-fp) 을
data4의 3번째 고점 돌파 and data5의 3번째 저점 돌파로 변경한
수식을 요청드립니다.
********************************************************************************
input : fc(18),fp(8),butfs(50000),butff(1375),lock(130000);
input : upls1(0.284),uptr1(0.632),upmi1(999),upbg1(999);
var : B(0,Data1),S(0,Data1);
if data1(Bdate != Bdate[1]) Then
{
B = 0;
S = 0;
}
if stime<lock and data4(c>lowD(0)+fc) and data5(c<highD(0)-fp)
and !(data2(c<HighD(0)-butfs)) and !(data3(c<HighD(0)-butff)) and B == 0 Then
{
B = 1;
Buy("b1");
}
if MarketPosition == 1 Then
{
if IsEntryName("b1") == true Then
{
SetStopLoss(upls1,PercentStop);
SetStopTrailing(uptr1,0,PercentStop,1);
SetStopInactivity(upmi1,upbg1,PercentStop);
}
}
Else
{
SetStopLoss(0);
SetStopTrailing(0,0);
SetStopProfittarget(0);
SetStopInactivity(0);
}
예스스탁
예스스탁 답변
2022-03-30 10:50:01
안녕하세요
예스스탁입니다.
data5(c<highD(0)-fp)
당일 위 조건이 만족할때마다 1씩 증가합니다.
즐거운 하루되세요
> 목마와숙녀 님이 쓴 글입니다.
> 제목 : Re : Re : 문의
>
#조건만족 count5의 값 1씩 증가
if data5(c<highD(0)-fp) Then
count5 = count5+1;
위 내용 count5의 값이 1씩 증가한다는 것은
하방으로 계속 내려간다는 것을 뜻하는 것이지요?
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 문의
> 안녕하세요
예스스탁입니다.
1
#data4 날짜 변경
#count4는 0으로 초기화
if data4(Bdate != Bdate[1]) Then
count4 = 0;
#조건만족 count4의 값 1씩 증가
if data4(c>lowD(0)+fc) Then
count4 = count4+1;
#data5 날짜 변경
#count5는 0으로 초기화
if data5(Bdate != Bdate[1]) Then
count5 = 0;
#조건만족 count5의 값 1씩 증가
if data5(c<highD(0)-fp) Then
count5 = count5+1;
#count4가3이고 couint5가 3이면 cond변수에 true, 아니면 false
cond = count4 == 3 and count5 == 3;
2
#현재봉은 cond변수의 값이 true, 전봉은 false
#현재봉에서 data4와 data5조건 최초 만족
cond == true and cond[1] == False
즐거운 하루되세요
> 목마와숙녀 님이 쓴 글입니다.
> 제목 : 문의
> 답변 수식에서
2가지 부분 해설 부탁드립니다.
1) 진입식 전에서
if data4(Bdate != Bdate[1]) Then
count4 = 0;
if data4(c>lowD(0)+fc) Then
count4 = count4+1;
if data5(Bdate != Bdate[1]) Then
count5 = 0;
if data5(c<highD(0)-fp) Then
count5 = count5+1;
cond = count4 == 3 and count5 == 3;
2) 진입식 안에서
cond == true and cond[1] == False
******************************************************************************
안녕하세요
예스스탁입니다.
input : fc(18),fp(8),butfs(50000),butff(1375),lock(130000);
input : upls1(0.284),uptr1(0.632),upmi1(999),upbg1(999);
var : B(0,Data1),S(0,Data1),cond(False,Data1);
var : count4(0,data4),count5(0,data5);
if data1(Bdate != Bdate[1]) Then
{
B = 0;
S = 0;
}
if data4(Bdate != Bdate[1]) Then
count4 = 0;
if data4(c>lowD(0)+fc) Then
count4 = count4+1;
if data5(Bdate != Bdate[1]) Then
count5 = 0;
if data5(c<highD(0)-fp) Then
count5 = count5+1;
cond = count4 == 3 and count5 == 3;
if stime<lock and
cond == true and cond[1] == False
and !(data2(c<HighD(0)-butfs)) and !(data3(c<HighD(0)-butff)) and B == 0 Then
{
B = 1;
Buy("b1");
}
if MarketPosition == 1 Then
{
if IsEntryName("b1") == true Then
{
SetStopLoss(upls1,PercentStop);
SetStopTrailing(uptr1,0,PercentStop,1);
SetStopInactivity(upmi1,upbg1,PercentStop);
}
}
Else
{
SetStopLoss(0);
SetStopTrailing(0,0);
SetStopProfittarget(0);
SetStopInactivity(0);
}
즐거운 하루되세요
> 목마와숙녀 님이 쓴 글입니다.
> 제목 : 문의
> 아래 진입수식 중 일부
data4(c>lowD(0)+fc) and data5(c<highD(0)-fp) 을
data4의 3번째 고점 돌파 and data5의 3번째 저점 돌파로 변경한
수식을 요청드립니다.
********************************************************************************
input : fc(18),fp(8),butfs(50000),butff(1375),lock(130000);
input : upls1(0.284),uptr1(0.632),upmi1(999),upbg1(999);
var : B(0,Data1),S(0,Data1);
if data1(Bdate != Bdate[1]) Then
{
B = 0;
S = 0;
}
if stime<lock and data4(c>lowD(0)+fc) and data5(c<highD(0)-fp)
and !(data2(c<HighD(0)-butfs)) and !(data3(c<HighD(0)-butff)) and B == 0 Then
{
B = 1;
Buy("b1");
}
if MarketPosition == 1 Then
{
if IsEntryName("b1") == true Then
{
SetStopLoss(upls1,PercentStop);
SetStopTrailing(uptr1,0,PercentStop,1);
SetStopInactivity(upmi1,upbg1,PercentStop);
}
}
Else
{
SetStopLoss(0);
SetStopTrailing(0,0);
SetStopProfittarget(0);
SetStopInactivity(0);
}