커뮤니티
수식이요~
2012-12-18 09:58:20
274
글번호 57399
수고하십니다.
초보인데
사려는 두수식사이에 and 파려는 두수식사이에 and를 넣는 식을 완성하려구요.
부탁드립니다.
if data2(crossup(C,sar(0.02,0.2))) Then
buy();
if data2(crossdown(data2(c),1900)) Then
buy();
if data2(CrossDown(C,sar(0.02,0.2))) Then
sell();
if data2(crossup(data2(c),2000)) Then
exitlong();
답변 1
예스스탁 예스스탁 답변
2012-12-18 17:04:14
안녕하세요
예스스탁입니다.
if data2(crossup(C,sar(0.02,0.2)) and c < 1900) or
data2(C < sar(0.02,0.2) and crossup(c,1900)) Then
buy();
if data2(CrossDown(C,sar(0.02,0.2)) and C > 2000) or
data2(C < sar(0.02,0.2) and crossup(C,2000)) Then
sell();
즐거운 하루되세요
> 로자리 님이 쓴 글입니다.
> 제목 : 수식이요~
> 수고하십니다.
초보인데
사려는 두수식사이에 and 파려는 두수식사이에 and를 넣는 식을 완성하려구요.
부탁드립니다.
if data2(crossup(C,sar(0.02,0.2))) Then
buy();
if data2(crossdown(data2(c),1900)) Then
buy();
if data2(CrossDown(C,sar(0.02,0.2))) Then
sell();
if data2(crossup(data2(c),2000)) Then
exitlong();
다음글
이전글