커뮤니티
문의드림니다
2012-08-24 10:35:41
204
글번호 54053
다음수식을 참조데이타(data2) 에서 사용할 수 있도록 data2로 변환요청드림니다
vars:lprice(0),bcount(-999);
if date != date[1] Then{
Condition1 = False;
}
if crossup( C,ma(c,5) ) and index > 1 then {
lprice = highest(h,5)[1];
bcount = Index;
Condition1 = true;
}
if MarketPosition ==0
and Condition1
and index < bcount + 3
Then { buy ("buy",AtMarket); }
답변 1
예스스탁 예스스탁 답변
2012-08-24 11:46:09
안녕하세요? 예스스탁입니다.
문의하신 내용 답변드립니다.
vars:lprice(0),bcount(-999);
if date != date[1] Then{
Condition1 = False;
}
if crossup( data2(C),data2(ma(c,5)) ) and index > 1 then {
lprice = data2(highest(h,5)[1]);
bcount = Index;
Condition1 = true;
}
if MarketPosition ==0 and Condition1 and index < bcount + 3 Then
buy ("buy",AtMarket);
즐거운 날 되세요..
> mao 님이 쓴 글입니다.
> 제목 : 문의드림니다
> 다음수식을 참조데이타(data2) 에서 사용할 수 있도록 data2로 변환요청드림니다
vars:lprice(0),bcount(-999);
if date != date[1] Then{
Condition1 = False;
}
if crossup( C,ma(c,5) ) and index > 1 then {
lprice = highest(h,5)[1];
bcount = Index;
Condition1 = true;
}
if MarketPosition ==0
and Condition1
and index < bcount + 3
Then { buy ("buy",AtMarket); }