커뮤니티
지표 의뢰 드립니다!
2019-02-01 12:13:55
209
글번호 125857
안녕하세요! 아래는 항생의 진폭식입니다!
국선에 맞게 변경을 부탁드립니다!
(예: 289.05 - 286.95) = 2.1 >> 이렇게 2.1 이란 숫자가 나오게 부탁드립니다!
그리고 한해동안 너무 감사했습니다!
새해 복 많이 받으세요!
var : TX(0), TX1(0),Tcond(false),hh(0),ll(0);
if (sdate != sdate[1] and stime >= 101500) or
(sdate == sdate[1] and stime >= 101500 and stime[1] < 101500) Then
{
tcond = true;
hh = h;
ll = l;
}
if (sdate != sdate[1] and stime >= 173000) or
(sdate == sdate[1] and stime >= 173000 and stime[1] < 173000) Then
{
tcond = false;
}
if Tcond == true then
{
if h > hh Then
hh = h;
if l < ll Then
ll = l;
}
Var80 = hh-ll;
Text_Delete(tx);
tx = Text_New(sdate,stime,C-PriceScale*240,NumToStr(var80,2));
Text_Delete(tx1);
tx1 = Text_New(sdate,stime,C+PriceScale*240,NumToStr(var80,2));
답변 1
예스스탁 예스스탁 답변
2019-02-01 14:25:25
안녕하세요
예스스탁입니다.
당일고가/당일저가 기준입니다.
var : tx(0),tx1(0);
Var80 = DayHigh-daylow;
Text_Delete(tx);
tx = Text_New(sdate,stime,C-PriceScale*2,NumToStr(var80,2));
Text_Delete(tx1);
tx1 = Text_New(sdate,stime,C+PriceScale*2,NumToStr(var80,2));
시간지정은 국선이나 해외선물이나 같습니다.
시간 값만 해당 시장에 맞게 변경해 주시면 됩니다.
input : 시작시간(90000),끝시간(154500);
var : TX(0), TX1(0),Tcond(false),hh(0),ll(0);
if (sdate != sdate[1] and stime >= 시작시간) or
(sdate == sdate[1] and stime >= 시작시간 and stime[1] < 시작시간) Then
{
tcond = true;
hh = h;
ll = l;
}
if (sdate != sdate[1] and stime >= 끝시간) or
(sdate == sdate[1] and stime >= 끝시간 and stime[1] < 끝시간) Then
{
tcond = false;
}
if Tcond == true then
{
if h > hh Then
hh = h;
if l < ll Then
ll = l;
}
Var80 = hh-ll;
Text_Delete(tx);
tx = Text_New(sdate,stime,C-PriceScale*2,NumToStr(var80,2));
Text_Delete(tx1);
tx1 = Text_New(sdate,stime,C+PriceScale*2,NumToStr(var80,2));
즐거운 연휴되세요
> qha71 님이 쓴 글입니다.
> 제목 : 지표 의뢰 드립니다!
> 안녕하세요! 아래는 항생의 진폭식입니다!
국선에 맞게 변경을 부탁드립니다!
(예: 289.05 - 286.95) = 2.1 >> 이렇게 2.1 이란 숫자가 나오게 부탁드립니다!
그리고 한해동안 너무 감사했습니다!
새해 복 많이 받으세요!
var : TX(0), TX1(0),Tcond(false),hh(0),ll(0);
if (sdate != sdate[1] and stime >= 101500) or
(sdate == sdate[1] and stime >= 101500 and stime[1] < 101500) Then
{
tcond = true;
hh = h;
ll = l;
}
if (sdate != sdate[1] and stime >= 173000) or
(sdate == sdate[1] and stime >= 173000 and stime[1] < 173000) Then
{
tcond = false;
}
if Tcond == true then
{
if h > hh Then
hh = h;
if l < ll Then
ll = l;
}
Var80 = hh-ll;
Text_Delete(tx);
tx = Text_New(sdate,stime,C-PriceScale*240,NumToStr(var80,2));
Text_Delete(tx1);
tx1 = Text_New(sdate,stime,C+PriceScale*240,NumToStr(var80,2));
이전글