1 (edited by Irmantas 2016-06-19 12:08:36)

Topic: EmaPredictive exit makes unrealistic results

Hi,
I got a system with unrealistic results. It uses EmaPredictive exit, with same LongPeriod and ShortPeriod values. Changing them to different values, great results disappear. I think it should be bug around these same periods. There is no EMA plotted in the indicator chart either.

http://img4.imagetitan.com/img4/small/13/13_balance.png

I tested this EA on mt4 with control points on few years (2014-now), hoped to see very quickly very bad results, but it generated similar equity curve, so I got confused smile Maybe everything is OK and I just found holy grail? big_smile ...

http://img4.imagetitan.com/img4/small/13/13_mt4.png

Please maybe someone can check this strategy and try to find bug or verify that everything is OK.

Have a nice day

Post's attachments

EMA predictive unrealistic GU30.xml 12.26 kb, 6 downloads since 2016-06-19 

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

Re: EmaPredictive exit makes unrealistic results

It is for sure some problem with this indicator. Or maybe even with fsb. Please don't waste you time trying to confirm that this strategy is ok, what I asked. Mt4 results from my last my post just got lucky with "control points" and time period. Other time or every tick shows quick loss, how it should be.

Interestingly I can not replicate this miracle exit with other entries.

Re: EmaPredictive exit makes unrealistic results

I took a look at the code. It looks like the indicator doesn't calculate correctly when both periods are equal. I think it is equal to zero.

http://s32.postimg.org/jgea455c5/screenshot_1794.png




Actually the strategy closes the positions at Take Profit.

Re: EmaPredictive exit makes unrealistic results

See the Comparator chart.


http://s32.postimg.org/qc340zp6t/screenshot_1795.png


The EMA Predictive's zero values has to trigger some side effect.

This is the same strategy but with NoNo exit.

http://s32.postimg.org/tk7le1bgl/screenshot_1796.png

I can suggest two solutions:
- never use this indicator with equal periods;
- change the indicator code to work well with equal periods. For example, it may show EMA( p1) when p1 = p2;

Re: EmaPredictive exit makes unrealistic results

Thanks for quick replay. I wanted to let you know about this case, maybe some bug to fix smile
Yep, I will not use it. Have a nice day.

Re: EmaPredictive exit makes unrealistic results

Popov wrote:

I took a look at the code. It looks like the indicator doesn't calculate correctly when both periods are equal. I think it is equal to zero.

http://s32.postimg.org/jgea455c5/screenshot_1794.png




Actually the strategy closes the positions at Take Profit.

Dear Footon,
could you please check this issue?

I’m working on improving my English and trading skill

Re: EmaPredictive exit makes unrealistic results

Yes-yes, I saw this issue, currently I've got a lot in my schedule, I'll do this when I get the time.

Re: EmaPredictive exit makes unrealistic results

Okay, no problem, thank you footon smile

I’m working on improving my English and trading skill

Re: EmaPredictive exit makes unrealistic results

EmaPredictive fixed. Thanks for reporting!

http://forexsb.com/repository/repositor … predictive