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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment