·Î±×ÀÎ
|
ȸ¿ø°¡ÀÔ
|
ȸ»ç¼Ò°³
|
»çÀÌÆ®¸Ê
Ä¿¹Â´ÏƼ | ¼ö½ÄÀÛ¼º Q&A
ÀÛ¼ºÀÚ :
¿¹½º½ºÅ¹
ÀÛ¼ºÀÏ : 2023-11-21 ¿ÀÈÄ 2:18:41 Á¶È¸¼ö : 294
Re : ¹®ÀÇ µå¸³´Ï´Ù
¾È³çÇϼ¼¿ä
¿¹½º½ºÅ¹ÀÔ´Ï´Ù.
input : T1(100000),T2(110000);
var : Tcond(false),T(0),HH(0),LL(0);
if Bdate != Bdate[1] Then
T = 0;
if (sdate != sdate[1] and stime >= T1) or
(sdate == sdate[1] and stime >= T1 and stime[1] < T1) Then
{
T = 1;
HH = H;
LL = L;
}
if (sdate != sdate[1] and stime >= T2) or
(sdate == sdate[1] and stime >= T2 and stime[1] < T2) Then
{
T = 2;
}
if T == 1 Then
{
if H > HH Then
HH = H;
if L < LL Then
LL = L;
}
if T == 2 Then
{
if CrossUp(c,hh) Then
Buy();
if CrossDown(c,ll) Then
Sell();
}
Áñ°Å¿î ÇÏ·çµÇ¼¼¿ä
> paranstr ´ÔÀÌ ¾´ ±ÛÀÔ´Ï´Ù.
> Á¦¸ñ : ¹®ÀÇ µå¸³´Ï´Ù
> ƯÁ¤ ½Ã°£µ¿¾È¿¡ ·¹ÀÎÁö¸¦ ¼³Á¤ÇÏ°í
°í°¡ µ¹ÆĽà ¸Å¼ö ÁøÀÔ
Àú°¡ µ¹ÆĽà ¸Åµµ ÁøÀÔ ÇÏ´Â ½Ã½ºÅÛ ½ÄÀ» ¾Ë°í ½Í½À´Ï´Ù
¿¹¸¦ µé¸é 10½ÃºÎÅÍ 11½Ã ±îÁöÀÇ ·¹ÀÎÁö¸¦ ¼³Á¤ÇÏ°í
Àú ½Ã°£µ¿¾ÈÀÇ °í°¡¿¡ µµ´ÞÇÏ¸é ¸Å¼ö ÁøÀÔÀ» ÇÏ°í
Àú ½Ã°£µ¿¾ÈÀÇ Àú°¡¿¡ µµ´ÞÇÏ¸é ¸Åµµ ÁøÀÔÀ» ÇÏ´Â ½ÄÀ¸·Î¿ä
¼ö½ÄÃß°¡
ÇÔ¼ö¿äû
°ü·Ã ±Û ¸®½ºÆ®
84678
¹®ÀÇ µå¸³´Ï´Ù
paranstr
2023.11.21
571
ÇöÀç±Û
Re : ¹®ÀÇ µå¸³´Ï´Ù
¿¹½º½ºÅ¹
2023.11.21
294