Arithmetic function to the BID variable

 

Hi guys


I apologise for asking this question, without offering to pay anyone, but hopefully someone can help me.

I have an indicator that provides an email based on a particular condition. The email function is a simple string concatenation which looks like this:

 SendMail( StringConcatenate( "basic text   #", Symbol() ),

                          StringConcatenate("  « ", periods(), " »  ( ", TextForUp, " = ", Bid " )", TimeToStr( TimeCurrent(), TIME_DATE | TIME_MINUTES )));

 

I would like for the text to provide additional information. The additional information I want it to show would be a profit target. To do this I want the function to take the ",Bid" and add 30 points and produce the calculated number. So that's basically the profit target for a buy trade.

 Does this make sense? Hopefully it does.

 

Can anyone help? 

 

You can at least provide the code if you need help.

 
daxtrader54:

To do this I want the function to take the ",Bid" and add 30 points and produce the calculated number.

DoubleToString(Bid + 30 * _Point, _Digits)