I would like to access the values of a component. For example I would like to get the SL/TP and Entry price and time values of the "Profit/Loss" component.
You mean the 'drawing' of a profit / loss box ?
AFAIK there is no way of accessing properties of components, except for the 'custom' Trendline in the study_examples folder of the 'basic SDK starters package'.
So I'm afraid you'll have to code such a box yourself first (it's actually only three lines, a few calculations and 2 fills) or mail MW to ask for the source code of the box included in the platform. I doubt they will provide it though
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.