커뮤니티
문의
2016-02-18 03:36:02
125
글번호 95469
저가에서 20틱 30틱 40틱 올라올때 선이나타나고 그선 위나 아래또는 옆에 20 30 40이라는 글자가 나오고
고가에서 20틱 30틱 40틱 내려갈때 선이나타나고 그선 위나 아래또는 옆에 -20 -30 -40이라는 글자가 나오게 부탁드릴게요
답변 2
예스스탁 예스스탁 답변
2016-02-18 10:30:12
안녕하세요
예스스탁입니다.
var : D1(0),T1(0);
var : TL1(0),TL2(0),TL3(0);
var : Tx1(0),Tx2(0),Tx3(0);
var : TL4(0),TL5(0),TL6(0);
var : Tx4(0),Tx5(0),Tx6(0);
if date != date[1] Then{
D1 = sdate;
T1 = stime;
TL_Delete(TL1);
TL_Delete(Tx1);
TL_Delete(TL2);
TL_Delete(Tx2);
TL_Delete(TL3);
TL_Delete(Tx3);
TL_Delete(TL4);
TL_Delete(Tx4);
TL_Delete(TL5);
TL_Delete(Tx5);
TL_Delete(TL6);
TL_Delete(Tx6);
}
if L == daylow Then{
Condition1 = false;
Condition2 = false;
Condition3 = false;
}
if Condition1 == false and H >= daylow+PriceScale*20 Then{
Condition1 = true;
TL_Delete(TL1);
text_Delete(Tx1);
TL1 = TL_New(D1,T1,daylow+PriceScale*20,sdate,stime,daylow+PriceScale*20);
tx1 = Text_New(Sdate,stime,daylow+PriceScale*20,"+20");
TL_SetExtRight(TL1,true);
TL_SetColor(TL1,RED);
Text_SetColor(Tx1,red);
}
if Condition2 == false and H >= daylow+PriceScale*30 Then{
Condition2 = true;
TL_Delete(TL2);
text_Delete(Tx2);
TL2 = TL_New(D1,T1,daylow+PriceScale*30,sdate,stime,daylow+PriceScale*30);
tx2 = Text_New(Sdate,stime,daylow+PriceScale*30,"+30");
TL_SetExtRight(TL2,true);
TL_SetColor(TL2,RED);
Text_SetColor(Tx2,red);
}
if Condition3 == false and H >= daylow+PriceScale*40 Then{
Condition3 = true;
TL_Delete(TL3);
text_Delete(Tx3);
TL3 = TL_New(D1,T1,daylow+PriceScale*40,sdate,stime,daylow+PriceScale*40);
tx3 = Text_New(Sdate,stime,daylow+PriceScale*40,"+40");
TL_SetExtRight(TL3,true);
TL_SetColor(TL3,RED);
Text_SetColor(Tx3,red);
}
if H == DayHigh Then{
Condition4 = false;
Condition5 = false;
Condition6 = false;
}
if Condition4 == false and L <= DayHigh-PriceScale*20 Then{
Condition4 = true;
TL_Delete(TL4);
text_Delete(Tx4);
TL4 = TL_New(D1,T1,dayhigh-PriceScale*20,sdate,stime,dayhigh-PriceScale*20);
tx4 = Text_New(Sdate,stime,DayHigh-PriceScale*20,"-20");
TL_SetExtRight(TL4,true);
TL_SetColor(TL4,BLUE);
Text_SetColor(Tx4,BLUE);
}
if Condition5 == false and L <= DayHigh-PriceScale*30 Then{
Condition5 = true;
TL_Delete(TL5);
text_Delete(Tx5);
TL5 = TL_New(D1,T1,dayhigh-PriceScale*30,sdate,stime,dayhigh-PriceScale*30);
tx5 = Text_New(Sdate,stime,DayHigh-PriceScale*30,"-30");
TL_SetExtRight(TL5,true);
TL_SetColor(TL5,BLUE);
Text_SetColor(Tx5,BLUE);
}
if Condition6 == false and L <= DayHigh-PriceScale*40 Then{
Condition6 = true;
TL_Delete(TL6);
text_Delete(Tx6);
TL6 = TL_New(D1,T1,dayhigh-PriceScale*40,sdate,stime,dayhigh-PriceScale*40);
tx6 = Text_New(Sdate,stime,DayHigh-PriceScale*40,"-40");
TL_SetExtRight(TL6,true);
TL_SetColor(TL6,BLUE);
Text_SetColor(Tx6,BLUE);
}
즐거운 하루되세요
> 레전드 님이 쓴 글입니다.
> 제목 : 문의
> 저가에서 20틱 30틱 40틱 올라올때 선이나타나고 그선 위나 아래또는 옆에 20 30 40이라는 글자가 나오고
고가에서 20틱 30틱 40틱 내려갈때 선이나타나고 그선 위나 아래또는 옆에 -20 -30 -40이라는 글자가 나오게 부탁드릴게요
레전드
2016-02-18 18:33:10
레전드 님에 의해 삭제된 답변입니다.