Hello,
 
I need to access the trade direction inside my CBI code or in other 
words i want to know if trade.GetProfit comes from a long or short 
trade and depending on the direction i want to make different R-
Multiple calculations. My calculation should look like 
 
if ( IsLong )
{
RMultiple = trade.GetProfit() / Long_InitialRiskAtEntry; 
}
else 
     RMultiple = trade.GetProfit() / Short_InitialRiskAtEntry;
 
Can someone tell me how to do it ?
Thanks in advance !
 
Regards
Trinolix 

Reply via email to