Reply

Problem with compilation (using #Property strict)

2 replies

alirazzak

Subscriber, bbp_participant, community, 33 replies.

Visit profile

7 years ago #115337

Hi

 

I want to add #property strict in my EA code

 

I have succeed fixed  more than 1000 warning message ,except this code : 

 

// Exit After X Bars
         tempValue = getOrderExitAfterXBars(1);
         if(tempValue > 0) {
            if (sqGetOpenBarsForOrder (tempValue+10) >= tempValue) 
 
 
Warning message : “Possible loss of data due to type conversion”
 
Can you help me how to resolve the issue?
 
Regards 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #138250

Hello,

 

could you provide the complete code? You can place it into the private section or send to email [email protected] 

0

alirazzak

Subscriber, bbp_participant, community, 33 replies.

Visit profile

7 years ago #138264

thank you Tomas

 

Already send at [email protected]

0

Viewing 2 replies - 1 through 2 (of 2 total)