Support Board
Date/Time: Thu, 23 Jan 2025 18:10:26 +0000
Post From: Problem is - background hides candles
[2018-11-26 13:09:13] |
User517260 - Posts: 97 |
I use in one study a few subgraphs: SCSubgraphRef ID2_Background_Sub = sc.Subgraph[3]; SCSubgraphRef ID17_BuyCandle_Sub = sc.Subgraph[19]; SCSubgraphRef ID16_SellCandle_Sub = sc.Subgraph[20]; ID2_Background_Sub.Name = "ID2: Background"; ID2_Background_Sub.DrawStyle = DRAWSTYLE_BACKGROUND_TRANSPARENT; ID2_Background_Sub.PrimaryColor = RGB(64,64,64); ID2_Background_Sub.DrawZeros = false; ID2_Background_Sub.DisplayNameValueInWindowsFlags = 0; ID17_BuyCandle_Sub.Name = "ID17: BUY CANDLE"; ID17_BuyCandle_Sub.DrawStyle = DRAWSTYLE_COLOR_BAR_CANDLE_FILL; ID17_BuyCandle_Sub.PrimaryColor = RGB(0, 157, 0); ID17_BuyCandle_Sub.DrawZeros = false; ID16_SellCandle_Sub.Name = "ID16: SELL CANDLE"; ID16_SellCandle_Sub.DrawStyle = DRAWSTYLE_COLOR_BAR_CANDLE_FILL; ID16_SellCandle_Sub.PrimaryColor = RGB(64, 0, 64); ID16_SellCandle_Sub.DrawZeros = false; Problem is - background hides candles. If I use DRAWSTYLE_IGNORE for backgronud - I see normal colored candles, but I can't see background and colored candles same time - it is a problem, because I need to have only one study which draws background depend of time and colored candles. What I have to do to decide this problem? Thanks! |