How can I add an indicator in the alert window?
Thanks
Size:
Color:
What is the "alert window" (no such window in WL6)? If you mean Strategy Monitor or Quotes, because they both have an Alerts box, then you can't.
Size:
Color:
in the Strategy Monitor
Size:
Color:
You can put your indicator value(s) in the entry or exit SignalName.
Size:
Color:
any example because I don´t find any. Thanks.
Size:
Color:
QuickRef (hit F11) > Position object > EntrySignal and ExitSignal properties.
Size:
Color:
but again there is no example how I put in the string an indicator like
if( BuyAtLimit(bar + 1,limitPrice,asstring "rsi.[bar]").
In wl4 is was
BuyAtLimit(Bar + 1, limitPrice, 'RSI= ' + FormatFloat('0.00', rsi(bar,#close,30) )
Size:
Color:
if( BuyAtLimit(bar + 1,limitPrice,Convert.ToString(rsi[bar]))
ok I find it but how can I cut to two decimal for example 14.33 anstatt 14.32123344555
Size:
Color:
Working with strings is one of the basic "building blocks" of C#.
C# String OverviewThere are tons of free sources like that out there, some of them linked in our Wiki FAQ:
[LINK=http://www2.wealth-lab.com/WL5Wiki/kbFAQStrategy.ashx]How do I start with C# ?
I'm a Wealth-Lab 3/4 user, how to learn C# ?[/LINK]
Size:
Color:
QUOTE:
how can I cut to two decimal
Again a question answered in our Wiki FAQ (link above):
"How to reduce the number of decimal places for display/debug?"
Size:
Color:
Thanks. I understand. This is not the forum to ask simple questions. You have to go at first to Wiki, but in this case if I go to Wiki and found Bar instead of bar to get mistakes there than for a beginner is always tough to find the right way. I know in the meantime why the many traders give up here or you have to spend hours for a result of 5000 systems which 10 systems are ok to trade.
Thanks but sometimes to feel real alone, except you work in a company where you get support.
Size:
Color:
QUOTE:
this case if I go to Wiki and found Bar instead of bar to get mistakes there
This is not a mistake. This is an example of a variable that can be named
Bar, or
bar, or even
BAR etc. For sure, you could blame that we made a glaring mistake in example if the variable was defined as "int
bar" but later would be referred to as "Bar".
I "fixed" the "mistake" but even if it's not the case here, in some programming books authors intentionally introduce slight errors in their code to keep the reader's attention.
QUOTE:
This is not the forum to ask simple questions.
Who said that? We've been answering basic questions routinely for years.
However, please consider reading the Wiki FAQ before asking because those questions were discussed numerous times and triggered the creation of a FAQ with helpful links for those Version 4 users who were migrating to Version 5 (then):
An equivalent WealthScript function can't be found.
Size:
Color:
Got you.
Size:
Color: