View Single Post
  #50 (permalink)  
Old 03-25-2006, 02:31 AM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
Quote:
Originally Posted by holyguy7
Nich,

I have a few question for you about the settings. I just want to understand what each setting does.

1. Risk- I understand that 10 is 10% but 10% of what? Wouldn't the lots that you specify determine the risk?

2. Longbar- I just don't understand what this does. Can you explain how it works?

Thanks for all the work you have done. This very well could be the most profitable EA yet and it was originally mean as a joke. Amazing, I think Dr. Pepper was invented by accident too. Look how popular that drink is.
LongBar is the variable that determines how long the bar is before is enters into a trade. So if LongBar=10, the difference between the high-low of the candle has to be greater than LongBar.

PHP Code:
if ((High[0]-Low[0])>LongBar*Point && Open[0]<(High[0]+Low[0])/&& Ask Open[0]){ 
Here is the formula for determining lot sizes.
PHP Code:
lotMM MathCeil(AccountFreeMargin() * Risk 10000) / 10
Lets say I have $1000.00 free margin. We would multiply 1000 * 10=10000. Then devide that number by 10000; which is 10000/10000=1. Then devide that by 10. So, 1/10=0.1. 0.1 Lots is $100 in margin, thus %10 risk of the free margin. I hope this clarifies.
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
Reply With Quote