Quote:
Originally Posted by wolfe
83.4% of 6 = 6 x 0.834 = 5.004
83.3% of 6 = 6 x 0.833 = 4.998
So, this is about right.
Close_By_Profit & TSLoss_Percent are ignored when Use_Trailing_Stop=true
|
No, this wasn't right. (well, sorta right)
You wanted the TS to kick in at $6.00 or more right?
Then you wanted it to close all at $5.00 or less right? (which is probably only 1 pip in the wrong direction, especially if you have multiple open orders)
The TSLoss_Percent is the percentage you are willing to lose of your highest achieved total profit, after Trail_Start amount is first reached.
So, let's look at this again:
If you have a TSLoss_Percent set at 83.3% what this means is you are willing to lose 83.3% of your highest profit. (Starting with your Trail_Start, in this example $6.00)
So, 83.3% of $6.00 is $4.998. This means you are willing to lose $4.998 of your $6.00 profit.
What we need to set the TSLoss_Percent at is around 16.7
16.7 percent of $6.00 is 1.002. This is the amount you were willing to lose when you hit $6.00. Right?
I'm still going to make sure the TS code is functioning right.
