Reply

Building an EA for all as tutorial

36 replies

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

7 years ago #116417

Hello,

 

I’m not a programmer and I thought buying the EA Wizard would be much easier to build an EA with. But after some building practice I see you need to be a mql-Programmer to understand even EA Wizard.

So I come up with a question to you: Is it possible to build in this forum at least one EA step-by-step for better understanding for all non-programmers the EA Wizard?

 

I have already a strategy which is discribed here: https://www.mql5.com/en/articles/1734 

In this strategy there are code snippets. Actually I don’t know how to integrate them. But more than this I want to understand and leran how am I building such an EA in EA Wizard. So that I can build other EAs in future.

The code snippets from the article are in the mq4.

 

Hopefully greetings from

Conmariin 🙂

 

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #145277

After a pause I’m in again. 🙂

 

Can anybody show me how I get support and resistance values for this EA?

Thank you! 🙂

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #145296

Hello,

 

you can directly reference other timeframes in EA Wizard and use OHLC prices. I will prepare an example for this and post

0

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #145304

OHLC prices? Hm.. Okay…I will look also..Thank you for your help!

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #145334

Hello,

 

I have made an example on how to trade for example using D1 or H4 timeframe and use Weekly low as a support level and trade of this level for the long side

0

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #191786

Hi Tomas262,

all attachments are lost after forum migration! 🙁
Could you be so kind and post it again?
Thank you!

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #191787

Because all the attachments are lost I ‘ll post the sqw-file again from the EA I built so far.
The S and R is in this version still not implemented. I will post it when it’s done.

Oh, it’s not possible to upload sqw-files??? I’m trying it with a zip.

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

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #191936

Hello,

ok, I will check the EA and also verify and the attachments function. There is only a file size limit now. There should be no file extension filter applied

0

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #192167

I guess in this new forum you have to add the sqw extension to be allowed. May be it’s a positive not a negative filter. Because other attachements like jpg are allowed as I can see. And this is an allowed standard extension.

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #192201

Hello,

we will add support for other extensions. Thanks for mentioning this. In the meantime you can ZIP the project and attach.

I will also prepare and publish a similar EA on support and resistances on our blog

0

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #192467

I will also prepare and publish a similar EA on support and resistances on our blog

Thank you! 🙂 But could you post the last attachment from you before the forum migration for support and resistance code? So I’ll try to implement this in the EA. Thanks a lot!

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #192605

Hello,

ok sure, find it attached. The EA trades off weekly low (support) on low of a candle crossing above. You can test on M15 for example.

0

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #192759

Thanks a lot tomas262 🙂
Now I have something to play with at weekend 😉

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #196925

Hi, tomas 262 🙂
Some questions for unstanding your posted EA:
Low(1) crosses above Low(Period_W1) (1)

I understand that the lowest low of the actual timeframe must cross above the lowest low of the W1 timeframe. Correct?

Lowest(TrendLowestPeriodShortterm) (1) > Lowest(TrendLowestPeriodLongterm)(1)

I don’t understand what this is doing. Lowest is an indicator. And TrendLowestPeriodShortterm and TrendLowestPeriodLongterm are Variables with the Value 250. Could you please describe what this mean?

Thank you 🙂

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #196934

Hello,

it is meant to be Low of last two candle has to cross above W1 support price (the same as Low[2] < W1 Price AND Low[1] > W1 Price)

Lowest(20) (1) > Lowest(250)(1) is a simple filter that says enter only if the lowest price of last 20 bars is higher that the lowest price of 250 bars. This prevents the EA from entering in case we are in a strong downtrend. We do not want to fight a strong move against us.

0

Conmariin

Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #197203

Hi 🙂

I integrated the SandR-Rules+Determining Trend Direction as suggested from Tomas262 (thank you!!) into the EA.
I also made the ability to chose wich pattern do you like to be activated (from 1 to 3). It seems it works, but I’m not really sure. Please test it. Thanks! 🙂

With the backtest method only controll points it looks really good. I think we can take this method, because it’s a candle EA and we are opening trades with the next candle. But maybe I’m wrong. Anny suggestions or corrections of faults are welcome! Thank you! 🙂

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

Automatisches Handeln mit Expert Advisor
https://www.rabenesche.de

0

Viewing 15 replies - 16 through 30 (of 36 total)

1 2 3