예스스탁
예스스탁 답변
2025-02-17 15:05:53
안녕하세요
예스스탁입니다.
input : 틱수(50);
var1 = PriceScale*틱수;
var2 = floor(C/var1);
var3 = var2*var1;
TL_Delete(value1);
TL_Delete(value2);
TL_Delete(value3);
TL_Delete(value4);
TL_Delete(value5);
value1 = TL_New(sdate[1],stime[1],var3+(var1*2),sdate,stime,var3+(var1*2));
value2 = TL_New(sdate[1],stime[1],var3+(var1*1),sdate,stime,var3+(var1*1));
value3 = TL_New(sdate[1],stime[1],var3,sdate,stime,var3);
value4 = TL_New(sdate[1],stime[1],var3-(var1*1),sdate,stime,var3-(var1*1));
value5 = TL_New(sdate[1],stime[1],var3-(var1*2),sdate,stime,var3-(var1*2));
TL_SetStyle(value1,3);
TL_SetStyle(value2,3);
TL_SetStyle(value3,3);
TL_SetStyle(value4,3);
TL_SetStyle(value5,3);
TL_SetExtLeft(value1,true);
TL_SetExtLeft(value2,true);
TL_SetExtLeft(value3,true);
TL_SetExtLeft(value4,true);
TL_SetExtLeft(value5,true);
TL_SetExtRight(value1,true);
TL_SetExtRight(value1,true);
TL_SetExtRight(value2,true);
TL_SetExtRight(value3,true);
TL_SetExtRight(value4,true);
TL_SetExtRight(value5,true);
TL_SetColor(value1,RED);
TL_SetColor(value2,MAGENTA);
TL_SetColor(value3,GRAY);
TL_SetColor(value4,CYAN);
TL_SetColor(value5,BLUE);
Text_Delete(value11);
Text_Delete(value12);
Text_Delete(value13);
Text_Delete(value14);
Text_Delete(value15);
value11 = Text_New(sdate,stime,var3+(var1*2),NumToStr(var3+(var1*2) ,2));
value12 = Text_New(sdate,stime,var3+(var1*1),NumToStr(var3+(var1*1) ,2));
value13 = Text_New(sdate,stime,var3,NumToStr(var3 ,2));
value14 = Text_New(sdate,stime,var3-(var1*1),NumToStr(var3-(var1*1) ,2));
value15 = Text_New(sdate,stime,var3-(var1*2),NumToStr(var3-(var1*2) ,2));
Text_SetStyle(value11,0,1);
Text_SetStyle(value12,0,1);
Text_SetStyle(value13,0,1);
Text_SetStyle(value14,0,1);
Text_SetStyle(value15,0,1);
text_SetColor(value11,RED);
text_SetColor(value12,MAGENTA);
text_SetColor(value13,GRAY);
text_SetColor(value14,CYAN);
text_SetColor(value15,BLUE);
즐거운 하루되세요
> 용각산 님이 쓴 글입니다.
> 제목 : 지표수정
> 63454번 매물대선 가격표시을 부탁드립니다