1 (edited by togr 2012-10-18 11:02:16)

Topic: FST bug

There is a problem taht FST sometimes does not increase trade lo size even though
* martingale is on, set to 2 or 3 and
* there is a loose trade

It usually works well but sometimes it does not.  Example: there was a short trade 0.01 lots that ended up as a loss - see log.
2012.10.15 02:40:38, Account Balance 5015.05, Equity 5015.05, Profit 0.00, Free Margin 5015.05
2012.10.15 03:29:39, EURUSD- M5 An entry order sent: Sell 0.01 lots at 1.29073, Stop Loss 1.29694, Take Profit 1.28795
2012.10.15 03:29:41, EURUSD- M5 Short 0.01 lots at 1.29073, Stop Loss 1.29694, Take Profit 1.28795, Profit -0.18 USD
2012.10.15 13:04:54, EURUSD- M5 Square

Next trade size should be 0.03 because of mart 3 but it remains at 0.01.
2012.10.15 13:04:54, Account Balance 5008.74, Equity 5008.74, Profit 0.00, Free Margin 5008.74
2012.10.15 14:27:00, EURUSD- M5 An entry order sent: Buy 0.01 lots at 1.29657, Stop Loss 1.29036, Take Profit 1.29935
2012.10.15 14:27:03, EURUSD- M5 Long 0.01 lots at 1.29656, Stop Loss 1.29035, Take Profit 1.29934, Profit -0.14 USD
2012.10.16 08:16:29, EURUSD- M5 Activated Take Profit at 1.29934, Closed Lots 0.01
2012.10.16 08:16:29, EURUSD- M5 Square

Trades in mt4 http://imtp.me/40l201ebh.p

Mr. Popov do you have any idea what is causing the prblem and how to fix it? Thank you.
I found the problem is that expert did not see that the trade was closed
http://imtp.me/40l001ebh.p
and it does not increase consecutive looses counter.

I hope you will be able to help me with this;)

Re: FST bug

The problem is that MT4 doesn't report when closing a trade. We workaround this issue by monitoring positions tick by tick and when expert notice a position close, it informs FST. We know that this is not reliable since MT4 loses some ticks when they comes together and FST misses current win/loss status  of the closed position. Once we find better solution of the problem, we'll fix the code.

Re: FST bug

Popov wrote:

The problem is that MT4 doesn't report report when closing a trade. We workaround this issue by monitoring positions tick by tick and when expert notice a position close, it informs FST. We know that this is not reliable since MT4 loses some ticks when they comes together and FST misses current win/loss status  of the closed position. Once we find better solution of the problem, we'll fix the code.

Hi,

thank you for your reply. I understand this is mt4 issue.
Can you make workaround based on logic that there was open trade and then there is no trade open.
I mean FST reported
2012.10.15 13:04:54, EURUSD- M5 Square
Can it check every time when it report 'square' if the previous trade was a loss? And increase lot size?

Re: FST bug

We do something similar. You can check the expert code. However, our solution is not working at 100%.

Re: FST bug

Popov wrote:

We do something similar. You can check the expert code. However, our solution is not working at 100%.

Hi Mr. Popov,
I found one utility that should help to send ticks to mt4
http://www.forexcrescendo.com/blog/?p=425
Do you think that would solve the problem?
Thank you in advance.

Re: FST bug

I found one utility that should help to send ticks to mt4
Do you think that would solve the problem?

This tool is not a solution. We use a "server" (continuously running loop) in the expert to keep it live even if there is no ticks coming.

I'll figure out something to fix the Martingale later. I'm working on FSB now.

Re: FST bug

Popov wrote:

I found one utility that should help to send ticks to mt4
Do you think that would solve the problem?

This tool is not a solution. We use a "server" (continuously running loop) in the expert to keep it live even if there is no ticks coming.

I'll figure out something to fix the Martingale later. I'm working on FSB now.

Thank you very much;)

Re: FST bug

Hey

to every developer. I am creating contest to fix this annoying bug. I have some great strategies that need this bug to be fixed to start working.
Please check the code and try to find the solution. I can even pay you for the time you spent by programming.

Thanks guys!
smile