Download MetaTrader 5

Possible loss of data due to type conversion warnings

To add comments, please log in or register
Kenneth Parling
1932
Kenneth Parling  

Well i cant figure thoose 4 warnings out that i have in my indicator

In the coding lines presented here there is 4 warnings  - Possible loss of data due to type conversion that i cant figure out whats wrong

 

90   for (li_68 = ld_72; li_68 >= 0; li_68--) {
91           l_iatr_44 = iATR(NULL, 0, l_period_136, li_68);
92           l_istochastic_4 = iStochastic(NULL, 0, l_period_20, l_period_20, 1, MODE_SMA, 0, MODE_MAIN, li_68);

 

 Possible loss of data due to type conversion  Line 90 Row 18

 Possible loss of data due to type conversion  Line 91 Row 36

 Possible loss of data due to type conversion  Line 92 Row 49

 Possible loss of data due to type conversion  Line 92 Row 62

Alain Verleyen
Moderator
35109
Alain Verleyen  

This is decompiled code.

Don't post such code on this forum.

To add comments, please log in or register