Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information
I have noticed that the EA will close all open trades far past the stop loss based on the close_by_loss input (ex: set to -100 & EA closed all aggregate positions at -135.02). Do you know why this would happen?
Thanks,
LCFX
Yes,
Stop loss will start executing once profit is < or = your stop loss parameter. Just 1 pip movement, could increase your loss by that much depending on how many orders are open and how many lots you have. Also take into account time taken for close all cycle, and slippage, and you have your answer.
Please see the attached pic.
Note that 2 buys and 2 sells were taken as opening trades, each within 1 pip of the other.
This does not seem right...
I had the comments wrong in the ordersend() commands. If you notice in your screen shot they all say TFX_LONG_START. This is not really what happened.
It bought @ 1.4455, then sold @ 1.4443, then bought @ 1.4456, then sold @ 1.4444. That seams like it is working right. The comments are messed up and confusing.
hi,
i 've modified ea using the same logic but introducing another way to operate :
if price is over bollinger band and trend is up ( i am using turbo_jma) open long,
if price is below bollinger band and trend down open sell, i' ve used step = 5, tp= 0.1% and sl= 50%
could you see it and if you consider a dood idea continue to develop ?
thanks in advance
giapel
While v1_4 is a work in progress, I need to know if there are any more problems with v1_3.
This has taken quite a few tries to get right.(and still working) Thanks to all who have been testing TFX and pointing out bugs. I have been trying to include all of your ideas in the development of TFX. Sorry to those who have had suggestions and haven't seen results yet.
The code is getting increasingly more complex. v1_3 has over 500 lines of code, double that of the first version. v1_4 promises to be longer still. Just one character omitted or in the wrong place, and it will not work properly. Extremely tempermental, (and literal) these EA's can be!
Thanks again for your support and patience, as we work through this trading method together.
Please post any questions, comments, or concerns, as this will help in the development of v1_4.
hi,
i 've modified ea using the same logic but introducing another way to operate :
if price is over bollinger band and trend is up ( i am using turbo_jma) open long,
if price is below bollinger band and trend down open sell, i' ve used step = 5, tp= 0.1% and sl= 50%
could you see it and if you consider a dood idea continue to develop ?
thanks in advance
giapel
Currently testing v1_4 on multiple currencies. Currently attached to 6 pairs at the same time. Seems to be working well. I'll continue with some of the other suggestions.
In addition to ES' comments above, please note that the readout only displays 1 decimal place for both Open Profit and Closed Profit.
When you are looking at that portion of the code, can you consider making the readout display go to two decimal places?
I think what is happening is if the second decimal place is 0, it is dropped off. Not sure how to fix that. My Open Profit is showing two decimal places.
I think what is happening is if the second decimal place is 0, it is dropped off. Not sure how to fix that. My Open Profit is showing two decimal places.
Use DoubleToStr() within the Comments() function - the second parameter sets the number of decimal places displayed.