I’m asking if you could please help create a simple watermark indicator that displays the name/pair being traded just like on Tradingview.
It would really help with multiple charts from a glance.
I tried to just use “Anchored Text” but I can’t chose a large enough size with the font.
I have an MQL4 code which creates the watermark in MT4 but I’m unsure on where to start with Prorealcode.
Vertical and horizontal axis are not in pixels, but in barindex/price and while we know how much bars are loaded, we can’t know how much of them are actually displayed on the screen. In this example, I’m displaying the instrument name (which cannot be retrieved automatically, so you’ll have to write it in the code) at the middle of loaded history (X coordinate) and at the average price detected for that price history (Y coordinate).
The biggest font height is 30, so It could be narrowed on a wide area of price like in my test.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue