liquidd:
hi, I am trying to calculate my lot size and it does not appear to work as I would like
I try to make it seek the last bars to see what direction they went and increment my lot size using this calculation. So Basicly I setup the barcount to 1 before this sequence and I increment it as it does not find 2 bars that are going the same way. but it does not work when I put it on an account I tought it worked but when it re-calculates it it stops working. anyone willing to help on this?
Where do you increment barcount?
GumRai:
Where do you increment barcount?
Where do you increment barcount?
if (nexttype1 != nexttype2) barcount+1;
What does barcount+1; do?
Does that compile?
Do you mean barcount++; ?
GumRai:
What does barcount+1; do?
Does that compile?
Do you mean barcount++; ?
I think it does the same thing and yes it compiles
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi, I am trying to calculate my lot size and it does not appear to work as I would like
I try to make it seek the last bars to see what direction they went and increment my lot size using this calculation. So Basicly I setup the barcount to 1 before this sequence and I increment it as it does not find 2 bars that are going the same way. but it does not work when I put it on an account I tought it worked but when it re-calculates it it stops working. anyone willing to help on this?