DislikedThe percentage to close are calculated with this code:
internalQuoteToCloseAtTP1 = QuoteToCloseAtTP1;
if(QuoteToCloseAtTP1<100){
internalQuoteToCloseAtTP2 = (100/(100-QuoteToCloseAtTP1)) * QuoteToCloseAtTP2;
}else{
internalQuoteToCloseAtTP2 = 0;
}
if((QuoteToCloseAtTP1+QuoteToCloseAtTP2)<100 ){
internalQuoteToCloseAtTP3 = (100/(100-QuoteToCloseAtTP1-QuoteToCloseAtTP2)) * QuoteToCloseAtTP3;
}else{
internalQuoteToCloseAtTP3 = 0;
}
so the EA have to get 1.6 and not 1.44 at TP2 (as you can see from the code). I don't understand what'a going on.......Ignored
- Post #1,183
- Quote
- May 22, 2009 8:37am May 22, 2009 8:37am
- | Joined Oct 2008 | Status: Learning | 1,056 Posts
What you do is a reflection of you....what I do is a reflection of me.
- Post #1,188
- Quote
- May 22, 2009 6:23pm May 22, 2009 6:23pm
- | Joined Mar 2009 | Status: No more trading without SL | 202 Posts
I'll send a bottle of wine to my first voucherer ;-)
- Post #1,190
- Quote
- May 23, 2009 2:49am May 23, 2009 2:49am
- | Joined Mar 2009 | Status: No more trading without SL | 202 Posts
I'll send a bottle of wine to my first voucherer ;-)
- Post #1,192
- Quote
- May 23, 2009 6:26am May 23, 2009 6:26am
- | Joined Mar 2009 | Status: No more trading without SL | 202 Posts
I'll send a bottle of wine to my first voucherer ;-)
- Post #1,193
- Quote
- May 24, 2009 3:12am May 24, 2009 3:12am
- | Joined Mar 2009 | Status: No more trading without SL | 202 Posts
I'll send a bottle of wine to my first voucherer ;-)
- Post #1,197
- Quote
- May 25, 2009 5:02am May 25, 2009 5:02am
- | Joined Oct 2008 | Status: Learning | 1,056 Posts
What you do is a reflection of you....what I do is a reflection of me.
- Post #1,198
- Quote
- May 25, 2009 5:10am May 25, 2009 5:10am
- | Joined Mar 2009 | Status: No more trading without SL | 202 Posts
I'll send a bottle of wine to my first voucherer ;-)