Experts: XP Forex Trade Manager MT5 - page 2

 
Hi Marzena,

Thanks for quick reply!

How to resolve datatype conversion error?

'xp-trade.mq5' xp-trade.mq5 1 1
'PositionInfo.mqh' PositionInfo.mqh 1 1
'Object.mqh' Object.mqh 1 1
'StdLibErr.mqh' StdLibErr.mqh 1 1
'Trade.mqh' Trade.mqh 1 1
'OrderInfo.mqh' OrderInfo.mqh 1 1
'HistoryOrderInfo.mqh' HistoryOrderInfo.mqh 1 1
'DealInfo.mqh' DealInfo.mqh 1 1
possible loss of data due to type conversion xp-trade.mq5 175 83
possible loss of data due to type conversion xp-trade.mq5 175 120
possible loss of data due to type conversion xp-trade.mq5 180 102
possible loss of data due to type conversion xp-trade.mq5 181 104
possible loss of data due to type conversion xp-trade.mq5 193 90
possible loss of data due to type conversion xp-trade.mq5 199 100
possible loss of data due to type conversion xp-trade.mq5 202 92
possible loss of data due to type conversion xp-trade.mq5 208 71
possible loss of data due to type conversion xp-trade.mq5 208 107
possible loss of data due to type conversion xp-trade.mq5 211 92
possible loss of data due to type conversion xp-trade.mq5 217 64
possible loss of data due to type conversion xp-trade.mq5 217 100
possible loss of data due to type conversion xp-trade.mq5 217 189
possible loss of data due to type conversion xp-trade.mq5 223 89
possible loss of data due to type conversion xp-trade.mq5 229 100
possible loss of data due to type conversion xp-trade.mq5 233 89
possible loss of data due to type conversion xp-trade.mq5 238 71
possible loss of data due to type conversion xp-trade.mq5 238 107
possible loss of data due to type conversion xp-trade.mq5 241 91
possible loss of data due to type conversion xp-trade.mq5 247 64
possible loss of data due to type conversion xp-trade.mq5 247 100
possible loss of data due to type conversion xp-trade.mq5 247 189
possible loss of data due to type conversion xp-trade.mq5 259 105
possible loss of data due to type conversion xp-trade.mq5 262 93
possible loss of data due to type conversion xp-trade.mq5 269 91
possible loss of data due to type conversion xp-trade.mq5 274 111
possible loss of data due to type conversion xp-trade.mq5 281 104
possible loss of data due to type conversion xp-trade.mq5 284 93
possible loss of data due to type conversion xp-trade.mq5 291 91
possible loss of data due to type conversion xp-trade.mq5 296 111
sign mismatch xp-trade.mq5 373 18
code generated 1 1
0 errors, 31 warnings, 18503 msec elapsed 1 32


Regards,
SAthish
 

Hi, if I input BEActivation:40, BELevel:0, and TSStart:80, TSStep:1, TSDistance:30, does this mean that the BE is automatically cancelled and replaced by the Trailing Stop once 80 pips is reached? Do I need to have TSendBE set to true or false in this scenario? 


Thanks,

RF

 
Sathish Collection #:

Hi

This is not an error, just a warning, and it has no effect on the Manager's operation.

Have a nice day👍📊

 
@Marzena Maria Szmit #: This is not an error, just a warning, and it has no effect on the Manager's operation. Have a nice day👍📊

Please note, that even compile warnings should be fixed. They are potential sources of run-time errors or other compilations, especially for "possible loss of data due to type conversion".

Having a clean compilation report goes a long way to show good coding practices.