Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Watermark
Collapse
X
-
Watermark
Was wondering if i could get some help on this existing indicator. I just need to get the color dark grey to save that's it. the way the code is written it's set to black by default and my charts are black. I've tried following the steps suggested in the post but i'm no coder and it didn't stick after i changed the color. the original post was uploaded by grazz 4/12/2018 and it's post #14. here is the original code below. i only need the color changed and that's it to dark grey. if someone can help that will be great. thank you
Tags: None
-
Hello agraham,
It looks like in the attached script they simply did not include the property to save the brush. You can add this with the following code. To add this use the following steps:
From the control center click New -> NinjaScript editor
Expand the Indicators folder
Double click on the Watermark indicator
Find line 103 and add the following code by pasting the whole syntax from below.
After adding the code press F5 to compile.
Code:[Browsable(false)] public string WaterMarkColorSerializable { get { return Serialize.BrushToString(WaterMarkColor); } set { WaterMarkColor = Serialize.StringToBrush(value); } }
If you don't care about the color being able to be saved and just want to make it dark gray you can change line 53 to look like the following:
Then press F5 to compile.Code:WaterMarkColor = Brushes.DarkGray;
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
77 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment