Margin Check

 
Hello! 
OrderCalcMargin() cannot be used on indicators . 
How can I go around this? 
Thanks! 
 
You may search and you will find a few formulas to estimate that value.
 
Yashar Seyyedin #:
You may search and you will find a few formulas to estimate that value.

I think pointing in the right direction would have been a shorter sentence than the one you just wrote. 

Thanks anyway!

Reason: