예스스탁
예스스탁 답변
2025-01-02 15:35:44
안녕하세요
예스스탁입니다.
var : TL1(0),TL2(0),TL3(0);
var : TX1(0),TX2(0),TX3(0);
if C > O Then
{
var1 = O;
TL_Delete(TL1);
TL1 = TL_New(sDate,sTime,var1,NextBarSdate,NextBarStime,var1);
TL_SetColor(TL1,Red);
TL_SetExtRight(TL1,true);
Text_Delete(TX1);
TX1 = Text_New(NextBarSdate,NextBarStime,var1,NumToStr(var1,2));
Text_SetStyle(TX1,0,0);
}
Else
{
Text_SetLocation(TX1,NextBarSdate,NextBarStime,var1);
}
if C < O Then
{
TL_Delete(TL2);
var2 = H;
TL2 = TL_New(sDate,sTime,var2,NextBarSdate,NextBarStime,var2);
TL_SetColor(TL2,Blue);
TL_SetExtRight(TL2,true);
Text_Delete(TX2);
TX2 = Text_New(NextBarSdate,NextBarStime,var2,NumToStr(var2,2));
Text_SetStyle(TX2,0,1);
}
Else
{
Text_SetLocation(TX2,NextBarSdate,NextBarStime,var2);
}
TL_Delete(TL3);
TL3 = TL_New(sDate,sTime,NextBarOpen,NextBarSdate,NextBarStime,NextBarOpen);
TL_SetExtRight(TL3,true);
TL_SetColor(TL3,Lime);
Text_Delete(TX3);
TX3 = Text_New(NextBarSdate,NextBarStime,NextBarOpen,NumToStr(NextBarOpen,2));
Text_SetStyle(TX3,0,1);
즐거운 하루되세요
> 알리섬 님이 쓴 글입니다.
> 제목 : 수식수정요청
> 안녕하세요 늘 도움 감사합니다
아래의 수식에서 현재 진행 봉 시가에서 수평선과 가격이 나오도록 추가 부탁 드립니다.
var : TL1(0),TL2(0);
var : TX1(0),TX2(0);
if C > O Then
{
var1 = O;
TL_Delete(TL1);
TL1 = TL_New(sDate,sTime,var1,NextBarSdate,NextBarStime,var1);
TL_SetColor(TL1,Red);
TL_SetExtRight(TL1,true);
Text_Delete(TX1);
TX1 = Text_New(NextBarSdate,NextBarStime,var1,NumToStr(var1,2));
Text_SetStyle(TX1,0,0);
}
Else
{
Text_SetLocation(TX1,NextBarSdate,NextBarStime,var1);
}
if C < O Then
{
TL_Delete(TL2);
var2 = H;
TL2 = TL_New(sDate,sTime,var2,NextBarSdate,NextBarStime,var2);
TL_SetColor(TL2,Blue);
TL_SetExtRight(TL2,true);
Text_Delete(TX2);
TX2 = Text_New(NextBarSdate,NextBarStime,var2,NumToStr(var2,2));
Text_SetStyle(TX2,0,1);
}
Else
{
Text_SetLocation(TX2,NextBarSdate,NextBarStime,var2);
}