답변완료
정보내용이 실제와 일치하지 않습니다.
안녕하세요. 답변주신수식이 적용하면, 종목 정보가 일치하지 않습니다. 확인부탁드립니다.
var : Grid(0);
if Index == 0 Then
{
Grid = Grid_New(7, 6, 3,White, Gray, 1, Gray, 0);
Grid_Cell(Grid,0,0,"종목명",0,0,BLACK,Green);
Grid_Cell(Grid,1,0,"현재가",0,0,BLACK,Green);
Grid_Cell(Grid,2,0,"전일대비",0,0,BLACK,Green);
Grid_Cell(Grid,3,0,"등락율",0,0,BLACK,Green);
Grid_Cell(Grid,4,0,"거래량",0,0,BLACK,Green);
Grid_Cell(Grid,5,0,"거래대금",0,0,BLACK,Green);
Grid_Cell(Grid,0,1,SymbolName,0,0,BLACK,White);
Grid_Cell(Grid,1,1,NumToStr(c,2),0,0,BLACK,White);
Grid_Cell(Grid,2,1,NumToStr(c-DayClose(1),2),0,0,BLACK,White);
Grid_Cell(Grid,3,1,NumToStr((c-DayClose(1))/DayClose(1)*100,2),0,0,BLACK,White);
Grid_Cell(Grid,4,1,NumToStr(v,0),0,0,BLACK,White);
Grid_Cell(Grid,5,1,NumToStr(m,0),0,0,BLACK,White);
Grid_CellSetWidth(Grid,0,0,20);
Grid_CellSetWidth(Grid,1,0,15);
Grid_CellSetWidth(Grid,2,0,15);
Grid_CellSetWidth(Grid,3,0,15);
Grid_CellSetWidth(Grid,4,0,15);
Grid_CellSetWidth(Grid,5,0,20);
Grid_CellSetTextVAlign(Grid,0,0,2);
Grid_CellSetTextVAlign(Grid,1,0,2);
Grid_CellSetTextVAlign(Grid,2,0,2);
Grid_CellSetTextVAlign(Grid,3,0,2);
Grid_CellSetTextVAlign(Grid,4,0,2);
Grid_CellSetTextVAlign(Grid,5,0,2);
Grid_CellSetTextVAlign(Grid,0,1,2);
Grid_CellSetTextVAlign(Grid,1,1,2);
Grid_CellSetTextVAlign(Grid,2,1,2);
Grid_CellSetTextVAlign(Grid,3,1,2);
Grid_CellSetTextVAlign(Grid,4,1,2);
Grid_CellSetTextVAlign(Grid,5,1,2);
Grid_CellSetTextHAlign(Grid,0,0,2);
Grid_CellSetTextHAlign(Grid,1,0,2);
Grid_CellSetTextHAlign(Grid,2,0,2);
Grid_CellSetTextHAlign(Grid,3,0,2);
Grid_CellSetTextHAlign(Grid,4,0,2);
Grid_CellSetTextHAlign(Grid,5,0,2);
Grid_CellSetTextHAlign(Grid,0,1,2);
Grid_CellSetTextHAlign(Grid,1,1,2);
Grid_CellSetTextHAlign(Grid,2,1,2);
Grid_CellSetTextHAlign(Grid,3,1,2);
Grid_CellSetTextHAlign(Grid,4,1,2);
Grid_CellSetTextHAlign(Grid,5,1,2);
Grid_CellSetTextColor(Grid,1,1,IFf(C>DayClose(1),Red,IFf(C<DayClose(1),Blue,Green)));
Grid_CellSetTextColor(Grid,2,1,IFf(C>DayClose(1),Red,IFf(C<DayClose(1),Blue,Green)));
Grid_CellSetTextColor(Grid,3,1,IFf(C>DayClose(1),Red,IFf(C<DayClose(1),Blue,Green)));
}
2024-11-20
557
글번호 185476
강조