with the support of bertrand, i use the folowing code in my indicator:
DrawTextFixed("tag", "ê", TextPosition.TopLeft, Color.Red, new Font("Wingdings", 20), Color.Transparent, Color.Transparent, 0);
DrawTextFixed("DEFalert"," since "+(CurrentBar-BarAtLastCross)+" Bars down - Value: "+(def),TextPosition.TopLeft, Color.Red, new Font("Arial", 12), Color.Transparent, Color.Transparent, 0);
It shows an arrow and Text in my chart. At the end it shows a value +(def) from the indicator (56,1458965236587 for example).
now i´m interested in two options:
- show the value roundet to a full number (56 for example)
- show the number in bigger letters, if it goes under 20 or over -20 in respect to zero
Thanks for our Help!
Pullbacktrader
Comment