How to add a text field to the corner of an indicator

Wxll

Member
Joined
Oct 22, 2022
Posts
15
Likes
4
How can I place a text field fixed in the right corner? that I can update as the value of the indicator changes:
example number.png

I got the indicator developed, now the right corner value :)
CurrentWork.png

Any hints or snippets highly appreciated :)


JWR
 
Last edited:

Spin

Well-known member
Joined
May 22, 2019
Posts
477
Likes
191
You might want to get 'inspiration' to do that from one of the existing MW-studies.

Look at the code of
  • StockMarketExchanges
  • Moon Phase
  • Planets
for instance ;)
 

Wxll

Member
Joined
Oct 22, 2022
Posts
15
Likes
4
Ah thanks examples of the main chart, should be able to get it working on the band chart below.. thanks for the examples.. and the hint as a resource..
Digging throught the examples also found th ZigZag Osc that does tricks like that on the band
 
Last edited:
Top