커뮤니티

아래 신호식에서 신호 삼각형의 크기를 키우려면 어떻게 해야 하나요?

프로필 이미지
haenoori
2025-11-24 13:56:20
55
글번호 228358
답변완료

// === 신호 표시 === if buy_signal then { buyText = Text_New(sDate, sTime, L - 2*PriceScale, "▲"); Text_SetColor(buyText, green); Text_SetStyle(buyText, 1, 0); // 중앙 정렬, 상단 } if sell_signal then { sellText = Text_New(sDate, sTime, H + 2*PriceScale, "▼"); Text_SetColor(sellText, red); Text_SetStyle(sellText, 1, 2); // 중앙 정렬, 하단 }

강조
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2025-11-24 17:30:26

안녕하세요 예스스탁입니다. Text_SetSize함수로 크기 지정하시면 됩니다. // === 신호 표시 === if buy_signal then { buyText = Text_New(sDate, sTime, L - 2*PriceScale, "▲"); Text_SetColor(buyText, green); Text_SetStyle(buyText, 1, 0); // 중앙 정렬, 상단 Text_SetSize(buyText,20)// 텍스트크기 } if sell_signal then { sellText = Text_New(sDate, sTime, H + 2*PriceScale, "▼"); Text_SetColor(sellText, red); Text_SetStyle(sellText, 1, 2); // 중앙 정렬, 하단 Text_SetSize(sellText,20)// 텍스트크기 } 즐거운 하루되세요
프로필 이미지

haenoori

2025-11-24 18:33:05

친절한 답변 대단히 감사드립니다. 저녁까지 수고 많으시네요.