Welcome to the MQL4 course - page 7

 

Thank You

newdigital:
Hi bigbear3391,

As I know the coders are coding for free if:

- it is interesting for them personally;

or

- it is interesting for many members of the forum.

Why?

If coder is coding something for free just for you only so this coder will have 'good job, thanks' message just from you only. If the coder is coding for free to the public for many members (if it is interesting for many members) so the coder will have this 'good job, thanks' message from many members.

Your possible EA based on 2 zigzag indicators are not simple case to do. It is not for one day coding and it is necessary to test it, improve it ater testing, may be - forward test. So, it is the project for separated thread.

Because no one wants to create bad EA. What do I mean? I mean that if coder will code this EA for you and post on the forum, and if this EA is having bad performance so people will speak about bad coder. They will not speak about bad idea. They will say: "this coder is bad because he coded EA with bad performance". And no one coder wants to be a bad coder.

If your system is not very simple to code so it is the better to create separate thread about it, post the images with indicators, made some few trades just to let the members know that your system is good. If many members will visit your thread so you will definitely have 1 or 2 coders who will be happy to code iit for free.

Sorry, I am not a coder.

Hello newdigital,

Thank you for your reply. I will do what you suggest.

Thanks again,

Bear-

 

I have spent many hours trying to figure out this code:

if (MODE_ASK==121.10)

{

ticket=OrderSend(Symbol()..........................................

I want it to buy usd/jpy on 121.10. What is the problem?

Also, can someone please write me a code syntax that can buy at a certain time?

Thank You.

 

indicator_chart_window not working

I tried changing the line:

#property indicator_separate_window

to

#property indicator_chart_window.

The original line works on a separate window, but when I try to get it displayed on the chart window, nothing displays and the indicator is attached? Can someone help me to get this to display in the chart window?

Thanks in advance....

Files:
macd_line.mq4  3 kb
 
et_phonehome_2:
I tried changing the line:

#property indicator_separate_window

to

#property indicator_chart_window.

The original line works on a separate window, but when I try to get it displayed on the chart window, nothing displays and the indicator is attached? Can someone help me to get this to display in the chart window?

Thanks in advance....

You may use currency chart in separate window and use it together with MACD. But i am affraid that it will be different scale (if use EURUSD and MACD in the same searate window). It is on this post.

 

newdigital,

Thanks for your response. Unfortunately, its not what I am looking for. I wanted to know how I can display the MACD Line on the chart window and not as an indicator window. I have tried modifying the properties, but it does not display the MACD line.

 
et_phonehome_2:
newdigital, Thanks for your response. Unfortunately, its not what I am looking for. I wanted to know how I can display the MACD Line on the chart window and not as an indicator window. I have tried modifying the properties, but it does not display the MACD line.

Only you can do is just open MACD indicator in MetaEditor to see how it was coded to have an idea about what to attach to the chat. I know that it is ema(s).

We do not have special thread about MACD yet.

We are having the following threads:

https://www.mql5.com/en/forum/176430

https://www.mql5.com/en/forum/177239

https://www.mql5.com/en/forum/177358

https://www.mql5.com/en/forum

About MACD.

The MACD ("Moving Average Convergence/Divergence")

is a trend following momentum indicator that shows

the relationship between two moving averages of prices.

The MACD was developed by Gerald Appel, publisher of

Systems and Forecasts.[/CODE]

Appel, Gerald. The Moving Average

Convergence-Divergence Method. Great Neck, NY:

Signalert, 1979.[/CODE]

Interpretation

The MACD proves most effective in

wide-swinging trading markets.

There are three popular ways

to use the MACD: crossovers,

overbought/oversold conditions,

and divergences.

[CODE]Calculation

The MACD is calculated by subtracting

the value of a 26-day exponential

moving average from a 12-day

exponential moving average.

A 9-day dotted exponential

moving average of the MACD

(the "signal" line) is then

plotted on top of the MACD.

[CODE]The MACD is the difference between a 26-day

and 12-day exponential moving average.

A 9-day exponential moving average,

called the "signal" (or "trigger") line is plotted

on top of the MACD to show

buy/sell opportunities.

Appel specifies exponential moving averages

as percentages. Thus, he refers to these

three moving averages as

7.5%, 15%, and 20% respectively.
Files:
macd.mq4  3 kb
 

ebook ready?

Hello and thank you for the lessons!

I'm having a hard time finding them in all these threads So my question is - has the ebook been completed?

edit:

Well, I have found that the lessons are in separate pdf files and not just scattered across threads as I thought they were.

Anyway, I've got them all now and just want to say THANK YOU to the author - this his a unique tutorial, that I have been searching the net for a few days for.

Kudos!

 

ebook

I'm so sorry for that.

I hope the admin collect all the lessons in one zip file.

The good news is I'll start writing my new book soon.

Kir:
Hello and thank you for the lessons!

I'm having a hard time finding them in all these threads So my question is - has the ebook been completed?

edit:

Well, I have found that the lessons are in separate pdf files and not just scattered across threads as I thought they were.

Anyway, I've got them all now and just want to say THANK YOU to the author - this his a unique tutorial, that I have been searching the net for a few days for.

Kudos!
 
codersguru:
I'm so sorry for that.

I hope the admin collect all the lessons in one zip file.

The good news is I'll start writing my new book soon.

yes, it is collected something here https://www.mql5.com/en/forum

Besides some members made it in one file here https://www.mql5.com/en/forum/175653 and here https://www.mql5.com/en/forum/172885

 
MQL4:
I have spent many hours trying to figure out this code:

if (MODE_ASK==121.10)

{

ticket=OrderSend(Symbol()..........................................

I want it to buy usd/jpy on 121.10. What is the problem?

Also, can someone please write me a code syntax that can buy at a certain time?

Thank You.

I may be wrong, but have you simply tried:

if (Ask==121.10)

{

ticket=OrderSend(Symbol()..........................................

}

Reason: