Easy iCustom and Alerts! - page 7

 

a bit too fast -- NOT my advice to use it alone

but together with some of my existing similar indicator

this one VoltyChannel_Stop_v2.1.mq4 (6.2 KB, 3 views) - sometime the signal come on sooner, sometime , in sync with other indicator

so I think I might follow this one and hope to earn 20 pips for volatile pair

I just test it on historical old chart -- not live yet -- and I guess low volatility is not too cool with this indicator

I think I will use this for EXIT -- as very few indicator are good for that

 

MT4 - ALARM when pending order has opened...

Dear guys,

I look for a function (indicator e.g.) that gives me an alarm when my pending order opened in MT4. I do not mean the regular alarm function in MT4 where I have to insert the price level seperately to have an alarm but an automatic function.

Can someone help me please? Thank you very much for your help!

Kind regards, Uli

 

CodersGuru

I took the liberty and added your explainations to your code. That way when someone goes to use it they dont have to go looking for the documentation or examples That you supplied on how to use your code.

I always try to include documentation at the end of my code, which includes the purpose of the code, its usage, a record of version updates with a list of planed future inprovements along with debuging and coding notes. Its a nice finish touch too. This aids myself, as well as others in the usage of my code. Its a practice I wish more people would use.

I, by no means, am trying to be critical of your work. You of all people, have given of your time for the benefit of others. You do alot of coding here, and I just figured if you were to pick up the ball in this area and run with it, maybe others will take notice and follow your leed and document their code too.

Thanks again, your effects donot go un-noticed.

The CockeyedCowboy

codersguru:
Hi folks,
I know very much the pain of using iCustomfunction and thousand of requests asking me about Alertson crossing an indicator another indicator.

Well, it will not be painful anymore.

Just download this new indicator and wait my description.

Please vote if you like it !
 

Hey Guys,

i need an indicator which sends an eMail, (and maybe gives an acoustic signal) when two different EMAs cross!

The first one is a 9 period EMA (on open price)

and the second one is a 8 period EMA shifted by -1 (on close price).

Can somebody help me?!

regards,

tyquu

 

Adding/changing arrow displacement option

Hello,

What should I add/change in the code of this indicator to change the arrow displacement (vertically) ?

I'm asking this, because there are some others I'd like to do the same with.

Hope it's not too complicated, thanks for giving me an example.

 
airquest:
Hello, What should I add/change in the code of this indicator to change the arrow displacement (vertically) ?

I think I did it.

Changed

CrossUp = Low - iATR(NULL,0,20,i)/2.0;

CrossDn = High+ iATR(NULL,0,20,i)/2.0;[/CODE]

to

extern double arrowDisplacement = 4.0;

and

[CODE]CrossUp = Low - arrowDisplacement*iATR(NULL,0,20,i)/2.0;

CrossDn = High+ arrowDisplacement*iATR(NULL,0,20,i)/2.0;

Hope it's right. Anyway it works.

 

airquest

Yes, that is good.

To make it even simpler, you can leave out the "/2.0" part from that code snippet and that way you control the displacement exclusively with arrowDisplacement parameter (since you can assign fractional values for displacement the "/2.0" is not necessary)

airquest:
I think I did it.

Changed

CrossUp = Low - iATR(NULL,0,20,i)/2.0;

CrossDn = High+ iATR(NULL,0,20,i)/2.0;[/CODE]

to

extern double arrowDisplacement = 4.0;

and

[CODE]CrossUp = Low - arrowDisplacement*iATR(NULL,0,20,i)/2.0;

CrossDn = High+ arrowDisplacement*iATR(NULL,0,20,i)/2.0;
Hope it's right. Anyway it works.
 

Nice one,

i've been doing it manually by just changing the number for a while

(now something else for the to do list)

 

Can anyone Kindly help creating an indicator.

Using the same Concept of the STOPLIGHT Indicator Lights.

I would Like an Indicator that does the following.

iCustom Indicator that has a #property indicator_buffers 4

1) If a Trade is Open = Red

2) IF a Pending order has been set = Yellow

3) If a Market Order has been set = Yellow

4) If No Trade, Pending Order or Market Order is Open = Green

Note I am Using Molanis Strategy Builder V3.1

Thanks in Advance.

mt4_ma_set3_stoplight.mq4

Files: