forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Forum

Forex Software, Forex Strategies, Expert Advisors Generator

You are not logged in. Please login or register.


Forex Forum → Premium Club → EA work on strategy tester but not in live

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 11

1 (edited by jordytr971 2021-11-07 14:35:57)

Topic: EA work on strategy tester but not in live

Hello, I've created a simple moving average strategy with FSB but it does not open any trade, It work good on the strategy tester mt4 but does not work on live chart.

I've tried the EA with strategy tester on others symbol and it do not open any trade.
When I generate a strategy with FSB, does the strategy is "locked" to the symbol that I've generated the EA on ?

Thank you

Post's attachments

USDCAD M15 FxMagnetics 2.mq4 256.92 kb, 6 downloads since 2021-11-07 

You don't have the permssions to download the attachments of this post.

Re: EA work on strategy tester but not in live

You have to add that strategy to your post, otherwise how can someone help you?

Re: EA work on strategy tester but not in live

Sorry, I think I had .

Post's attachments

USDCAD M15 FxMagnetics.xml 11.27 kb, 3 downloads since 2021-11-07 

You don't have the permssions to download the attachments of this post.

Re: EA work on strategy tester but not in live

> does the strategy is "locked" to the symbol that I've generated the EA on ?

You can test and run a strategy on any market in MT.

..

Do you see any errors in the MT's "Expert" output?

When I search for a bug I run a strategy on several M1 charts for a night. If the indicators work well on M1, they will work on your original timeframe. (except in the case they are bound to time.)

Re: EA work on strategy tester but not in live

No, I do not have any errors.
It do not open any trade on other TF or pairs than USDCAD M15.

I've tried it on the tester on M1 and it do not open any trade at all

Re: EA work on strategy tester but not in live

Just for a test, I changed the periods of the entry MA to 10 and 30 and it started opening.

It is possible because the periods of MA's is relatively longer, it doesn't make a bigger difference between the values.

There is a threshold variable called "sigma" which server to ensure enough significance of the values in order to provide a reliable signal. However, it looks like there is a difference in the recession of the calculations between MT and FSB Pro, which plays a role in some cases.

I'll make further tests.

Re: EA work on strategy tester but not in live

Okay, I've make test with EA studio and it work fine, no issue at all with exact same strategy

Re: EA work on strategy tester but not in live

I see value differences bigger than sigma so it should work...

Re: EA work on strategy tester but not in live

The actual problem is that the expert doesn't load enough bars.
The expert searches for 104 bars, but the EMA Crossover requires 106 in this particular case.

Please search for this line and replace 104 with 106. It is line 3221 in my file.

strategy.MinBarsRequired        = 104;

I'll find the reason for the bug and will fix it.

Thank you for the report!

Re: EA work on strategy tester but not in live

Perfect, Thank you very much for your fast solution!

Re: EA work on strategy tester but not in live

The problem was in the code that calculates the minimum required bars for the experts.

Thanks to your report it is fixed now in the new FSB Pro 3.8.9.

Trade safe!

Posts: 11

Pages 1

You must login or register to post a reply

Forex Forum → Premium Club → EA work on strategy tester but not in live

Similar topics in this forum