Reply

ea is skipping trades

6 replies

abdullah

Subscriber, bbp_participant, community, 0 replies.

Visit profile

5 years ago #234729

hello

so I’ve created an ea and been testing it on a demo account for the past couple of weeks and found out that it’s been skipping trades although the rules and conditions are met so i made a signal indicator for the same ea and it works perfectly it shows a single every time and doesn’t skip any thing so what the problem here and most important how to fix it hope you help

by the way i’m still a beginner in this experts and Forex field so i hope  you explain to me with details

and attached below is the expert and couple a photo explaining

the red squares and yellow numbers shows the signals

the arrows and the white numbers shows the positions opened

thanks in advance

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #234753

Hello,

is there any error shown in the MT4 journal when a trade should occur?

0

abdullah

Subscriber, bbp_participant, community, 0 replies.

Visit profile

5 years ago #234757

thanks for the fast responding

no nothing shows in journal or on screen it just skip it like nothing happend

the thing that really killing me is why the signal is working fine and they are the same

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #234778

Please attached zip file or send sqw to [email protected]

0

abdullah

Subscriber, bbp_participant, community, 0 replies.

Visit profile

5 years ago #234805

a

Attachments:
You must be logged in to view attached files.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #234842

The problem with your EA seems to be that you require your EA to evaluate the condition only on bar open but for the cross over you refer to Stochastics[0] value. When EA is evaluated on bar open only you cannot refer to bar[0] since it is the bar that is still in progress (not finished). With “Evaluate on bar open” used you can only refer to Stochastics[1] as a closed (complete) value

You can use Stochastics[0] but you need to uncheck “Evaluate on bar open” and use “Every tick” testing precision in MetaTrader 4

This way it should work correctly. If not let me know

Attachments:
You must be logged in to view attached files.

0

abdullah

Subscriber, bbp_participant, community, 0 replies.

Visit profile

5 years ago #234867

fixed it and every thing works perfectly thank you very much

 

0

Viewing 6 replies - 1 through 6 (of 6 total)