Common Error

 

Hello everyone..

Sorry, I want to ask, how to fix the error like the one in the image below?

Files:
 
Why are both your target profit & stop loss returning 0 for ? 
 
Adj007 #:
Why are both your target profit & stop loss returning 0 for ? 
In my code, my profit is set to 50
 

ATI Trading #:
In my code, my profit is set to 50

If you want help you need to show your code

 
Adj007 #:

If you want help you need to show your code

But this code doesn't error if I run it on another account