MQL4 Learning - page 106

 
sunshineh:
Hello,

I have an Indicator, which use the Functions High, Low and Close.

Now I want to change it. I want to add the parameter "Timeframe", so that I can put the indicator on the H1 chart and see the indicator for the M30 oder D1 Timeframe.

Is this possible? How can I do it?!

You can change your indicator to MTF ( Multi-time frame ) indicator. Just search the forum for MTF thread download the indicator and see the code how it is done

-guyver

 
phil26:
yes close the previous buy.

can you state what is the difficulty you are having writing this code? i or someone else can help you in that. Have you written anything yet? can we see something ..

-guyver

 

The difficulty is, I cant write it.

Thanks

 
phil26:
The difficulty is, I cant write it. Thanks

Surprise! you are in mql4 leaning section so your lucky day

there, read these tutorials from coder's guru this should help you get started .

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

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

-guyver

 
phil26:
I hope someone can help me.

I want a EA that only bye every day at 17.00 and sell next day at 10.00

That is all.

Thanks

There are some elite section EAs which can do it.

Besides - SignalTrader EA can do (public EAs).

As to some public version so look at this thread:

https://www.mql5.com/en/forum/177263 as there are many versions of the EAs coded based on similar requests:

TimeBasedEA: buy and sell specific currency pair at specific time is here (many versions).

 

I have this EA its nice but it close only the orders and dont open a order. What is wrong?

rapidshare.com/files/420636708/e-CloseByTime.mq4

 
phil26:
I have this EA its nice but it close only the orders and dont open a order. What is wrong? rapidshare.com/files/420636708/e-CloseByTime.mq4

There is nothing wrong with the ea it is meant to only close orders . In otherwords the ea is not written to open orders

-guyver

 

Is is possible make it to open orders also?

please

 
phil26:
Is is possible make it to open orders also? please

Hi phil:

just search through forum i believe this is already posted see what newdigital posted for you on the other post he did. If you still have problems i'll provide you the buy/sell script from your first request but first do your homework

-guyver

 

How fast reacts IsConnected()

Hi,

how fast detects the IsConnected()-Function a disconnection?

Is it realiable to use the IsConnected-Function to check if my different metatrader-accounts are already connected with the server?