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 → Technical Matters → Stochastic rule in exported EA is wrong

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 6

1 (edited by JLA 2019-11-09 15:00:05)

Topic: Stochastic rule in exported EA is wrong

In EAS, the Sto signal for Long is

Stochastic line crosses the signal line upward.

In the exported EA, it is

   bool ind0long  = ind0val1 > ind0val2 + sigma && ind0val3 < ind0val4 - sigma;

which is wrong! should be < and >. And reverse for Short too.

Same for both MT4 & 5.

2 (edited by GD 2019-11-09 13:15:54)

Re: Stochastic rule in exported EA is wrong

In EA Studio graphs is it Ok but in MT4 there is the problem?

Re: Stochastic rule in exported EA is wrong

Hello JLA. We will analyse it and tell if it`s apply.
Thank you for the report.

Vinicius Pereira, Portuguese Support. Olá se precisar de ajuda entre em contato segunda à sexta: 09:00-18:00; via direct MP, e-mail ou acesse (Pt) Grupo TelegramMQL5 Profile

4 (edited by JLA 2019-11-09 14:58:30)

Re: Stochastic rule in exported EA is wrong

GD, yes. I didn't get the same graph in MT.  Traced back to find that. Changed <> and voila!

5

Re: Stochastic rule in exported EA is wrong

JLA
At least there is a solution until Popov will fix it.
Finally we have to check every EA in MT 4 after end.

Re: Stochastic rule in exported EA is wrong

This problem is fixed.

Please reload EA Studio and re-export the expert.

The bug was in the indexing of the indicator buffer.

Thank you for the report!

Posts: 6

Pages 1

You must login or register to post a reply

Forex Forum → Technical Matters → Stochastic rule in exported EA is wrong

Similar topics in this forum