To be brief:
- I know how print and display fixed text into a indicator's textbox, something like a tittle, etc..
- I know how print and display a variable into a indicator's textbox, through converting it into a string to then be displayed, etc.
But I'm trying to print a fixed text only when a specific condition is met, but I'm unable to get it print it only when condition takes place.
For example:
...
private int actual_Value;
private int critical_Value = 100.00;
...
If (actual_Value =< critical_Value)
{
// code to print the text "You are out" into an indicator's textbox with some others values already working as should
}
else
{
// code to print the text "You are in" into an indicator's textbox with some others values already working as should
}
...
I tried with an example I found in your site, with something like this:
...
private int actual_Value;
private int critical_Value = 100.00;
...
if (actual_Value =< critical_Value)
Print("You are out");
else
Print("You are in");
...
Thank you

but no problem, I'm here to improve and learn.
Comment