Reply

Position Size Calculation

31 replies

ssdex

Customer, bbp_participant, community, 99 replies.

Visit profile

8 years ago #113883

Hello,

 

I’m trying to figure out how to create a variable to calculate position size.

Example:

Create a variable for risk size

Assign that variable to the quantity for the trade

 

The problem I’m having is the SL on the trade is calculated, not a hard set number. So, the SL is calculated from the open price to the swing high or low depending on the direction of the trade. 

 

Is there a way to create a variable that would calculate the position size before the trade is opened? This doesn’t seem possible. 

 

 

0

ssdex

Customer, bbp_participant, community, 99 replies.

Visit profile

7 years ago #139459

Thanks Tomas for the quick reply.

 

I see. I was thinking that if you had the EA set to Predefined and you set the percentage to Zero it would then default to the LotsIfNoMM. 

 

I’ll change the predefined and then try and figure out how to do the percentage piece separate as well. I had trouble with the risk percentage with direct, indirect and cross rate pairs. I believe the math is different for each. 

 

Thanks again.

 

Regards,

 

James

0

Viewing 31 replies (of 31 total)

1 2 3