커뮤니티
문의 드립니다
2014-08-07 10:35:09
158
글번호 77476
텍스트하는게 너무 어렵네요,부탁드립니다
var: L1(0,data1),cond1(false,data1),month1(0,data1),nday1(0,data1),week1(0,data1);
var: L2(0,data2),cond2(false,data2),month2(0,data2),nday2(0,data2),week2(0,data2);
var: D1cnt(0,data1),D2cnt(0,data1);
month1 = data1(int(date/100)-int(date/10000)*100);
nday1 = data1(date - int(date/100)*100);
week1 = data1(DayOfWeek(date));
#선물만기일이면 month%3 == 0 조건 추가
if nday1 >= 8 and nday1 <= 14 and week1 == 4 then
Cond1 = True;
Else
Cond1 = false;
if data1(index == 0 or (Cond1 == false and Cond1[1] == true and date != date[1])) Then
D1cnt = 0;
if data1(date != date[1]) Then
D1cnt = D1cnt+1;
if D1cnt == 1 Then
L1 = data1(LowD(0));
month2 = data2(int(date/100)-int(date/10000)*100);
nday2 = data2(date - int(date/100)*100);
week2 = data2(DayOfWeek(date));
#선물만기일이면 month%3 == 0 조건 추가
if nday2 >= 8 and nday2 <= 14 and week2 == 4 then
Cond2 = True;
Else
Cond2 = false;
if data2(index == 0 or (Cond2 == false and Cond2[1] == true) and date != date[1]) Then
D2cnt = 0;
if data2(date != date[1]) Then
D2cnt = D2cnt+1;
if D2cnt == 1 Then
L2 = data2(LowD(0));
plot1(L1);
plot2(L2);
이수식은 관리자님께서 주신 것입니다.이것을 plot1선 옆에 콜기준가,plot2옆에 풋기준가로 표시하는 방법에 대해 알려주십시요.항상 감사합니다
답변 1
예스스탁 예스스탁 답변
2014-08-07 11:33:04
안녕하세요
예스스탁입니다.
var: L1(0,data1),cond1(false,data1),month1(0,data1),nday1(0,data1),week1(0,data1);
var: L2(0,data2),cond2(false,data2),month2(0,data2),nday2(0,data2),week2(0,data2);
var: D1cnt(0,data1),D2cnt(0,data1);
var : Tx1(0,data1),Tx2(0,data1);
month1 = data1(int(date/100)-int(date/10000)*100);
nday1 = data1(date - int(date/100)*100);
week1 = data1(DayOfWeek(date));
#선물만기일이면 month%3 == 0 조건 추가
if nday1 >= 8 and nday1 <= 14 and week1 == 4 then
Cond1 = True;
Else
Cond1 = false;
if data1(index == 0 or (Cond1 == false and Cond1[1] == true and date != date[1])) Then
D1cnt = 0;
if data1(date != date[1]) Then
D1cnt = D1cnt+1;
if D1cnt == 1 Then
L1 = data1(LowD(0));
month2 = data2(int(date/100)-int(date/10000)*100);
nday2 = data2(date - int(date/100)*100);
week2 = data2(DayOfWeek(date));
#선물만기일이면 month%3 == 0 조건 추가
if nday2 >= 8 and nday2 <= 14 and week2 == 4 then
Cond2 = True;
Else
Cond2 = false;
if data2(index == 0 or (Cond2 == false and Cond2[1] == true) and date != date[1]) Then
D2cnt = 0;
if data2(date != date[1]) Then
D2cnt = D2cnt+1;
if D2cnt == 1 Then
L2 = data2(LowD(0));
plot1(L1);
plot2(L2);
Text_Delete(Tx1);
Text_Delete(Tx2);
Tx1 = Text_New(Sdate,stime,L1,NumToStr(L1,2));
Tx2 = Text_New(Sdate,stime,L2,NumToStr(L2,2));
텍스트함수는 주종목의 봉위에만 표시가 됩니다.
해당식 참조데이터가 사용되었는데 참조데이터에 표시하고자 하시면
텍스트 함수로는 가능하지 않습니다.
단순 값을 Y축에 보고자 하시면
지표속성의 차트표시탭에서 마지막지표값 표시를 체크하시면 Y축에 표시가 됩니다.
각 plot별로 모두 선택해서 체크하셔야 합니다.
즐거운 하루되세요
> 좋은하루7 님이 쓴 글입니다.
> 제목 : 문의 드립니다
> 텍스트하는게 너무 어렵네요,부탁드립니다
var: L1(0,data1),cond1(false,data1),month1(0,data1),nday1(0,data1),week1(0,data1);
var: L2(0,data2),cond2(false,data2),month2(0,data2),nday2(0,data2),week2(0,data2);
var: D1cnt(0,data1),D2cnt(0,data1);
month1 = data1(int(date/100)-int(date/10000)*100);
nday1 = data1(date - int(date/100)*100);
week1 = data1(DayOfWeek(date));
#선물만기일이면 month%3 == 0 조건 추가
if nday1 >= 8 and nday1 <= 14 and week1 == 4 then
Cond1 = True;
Else
Cond1 = false;
if data1(index == 0 or (Cond1 == false and Cond1[1] == true and date != date[1])) Then
D1cnt = 0;
if data1(date != date[1]) Then
D1cnt = D1cnt+1;
if D1cnt == 1 Then
L1 = data1(LowD(0));
month2 = data2(int(date/100)-int(date/10000)*100);
nday2 = data2(date - int(date/100)*100);
week2 = data2(DayOfWeek(date));
#선물만기일이면 month%3 == 0 조건 추가
if nday2 >= 8 and nday2 <= 14 and week2 == 4 then
Cond2 = True;
Else
Cond2 = false;
if data2(index == 0 or (Cond2 == false and Cond2[1] == true) and date != date[1]) Then
D2cnt = 0;
if data2(date != date[1]) Then
D2cnt = D2cnt+1;
if D2cnt == 1 Then
L2 = data2(LowD(0));
plot1(L1);
plot2(L2);
이수식은 관리자님께서 주신 것입니다.이것을 plot1선 옆에 콜기준가,plot2옆에 풋기준가로 표시하는 방법에 대해 알려주십시요.항상 감사합니다
다음글
이전글