커뮤니티
수고많으십니다...
2004-03-27 20:47:47
1040
글번호 2911
q
답변 1
예스스탁 예스스탁 답변
2004-03-26 09:38:34
안녕하세요..예스스탁입니다.
수정 답변드립니다.
아래식은 30분 단위의 거래량 누적보다 그 다음 10분 동안의 거래량이 많으면 매수하고
매수가격에서 1.5% 하락하면 매수청산하는 식입니다.
즐거운 날 되세요..
[시스템식]
var : buyVal(0);
if stime == 091000 or stime == 101000 or stime == 111000 or
stime == 121000 or stime == 131000 or stime == 141000 then {
var1 = 0; var2 = 0;
}
if stime == 094000 or stime == 104000 or stime == 124000 or
stime == 134000 or stime == 144000 or stime == 114000 then {
var3 = 0; var4 = 0;
}
if (stime >= 143000 ) or
(stime >= 093000 and stime < 100000) or
(stime >= 103000 and stime < 110000) or
(stime >= 113000 and stime < 120000) or
(stime >= 123000 and stime < 130000) or
(stime >= 133000 and stime < 140000)
then
var1 = var1 + V;
if (stime >= 090000 and stime < 091000) or
(stime >= 100000 and stime < 101000) or
(stime >= 110000 and stime < 111000) or
(stime >= 120000 and stime < 121000) or
(stime >= 130000 and stime < 131000) or
(stime >= 140000 and stime < 141000)
then {
var2 = var2 + V;
if var2 > var1 then {
buy();
buyVal = C;
}
}
//
if (stime >= 090000 and stime < 093000) or
(stime >= 100000 and stime < 103000) or
(stime >= 110000 and stime < 113000) or
(stime >= 120000 and stime < 123000) or
(stime >= 130000 and stime < 133000) or
(stime >= 140000 and stime < 143000)
then
var3 = var3 + V;
if (stime >= 093000 and stime < 094000) or
(stime >= 103000 and stime < 104000) or
(stime >= 113000 and stime < 114000) or
(stime >= 123000 and stime < 124000) or
(stime >= 133000 and stime < 134000) or
(stime >= 143000 and stime < 144000)
then {
var4 = var4 + V;
if var4 > var3 then {
buy();
buyVal = C;
}
}
if C < buyVal * 0.985 && C[1] >= buyVal * 0.985 then
exitlong();
> CJ_8esther 님이 쓴 글입니다.
> 제목 : 수고많으십니다...
> 애매한 질문으루 괜히 수고만 끼쳤네여~
다시 질문드릴께여~
if date != date[1] then {
var1 = 0;
var2 = 0;
}
if stime >= 100000 and stime < 102000 then
var1 = var1 + V;
if stime >= 110000 and stime < 111000 then
var2 = var2 + V;
if stime >= 110000 and var1 < var2 then
buy();
이식에서 10시에서10시 20분까지의 거래량으루
11시에서 11시 10분에 ........
초과하면 매수하라.........
그런데 제 질문은...
이처럼,,전일부터...... 전일 2시반에서3시 누적거래량가지고
당일 9시에서 9시10분에 넘으면 매수
9시부터 9시30분 누적 거래량가지구
9시30분에서 9시 40분 사이에 이보다 크면 매수...
9시30분에서 10시 누적거래량 가지구 10시에서 10시10분사이에 이보다 초과하면 매수.
10시~10시반....10시30~10시40분.....
................2시30분........2시 40분..(마지막)
되겠죠...
부탁드리고염..
매수가 대비 1.5%하락시 매도식..
도 부탁할께염~
^^;
다음글
이전글