I have been racking my brain to figure out how to get my indicator to use a simple dash instead of Wingdings. I am trying to avoid using ObjectCreate if possible. I know there must be a simple way, because it's listed in the online help at MT4 site. If I'm reading it correctly the number 4 should be a dash, however when I use the number 4 as and arrow, it gives me the default checkmark.
I'm not looking for a dashed line, just a single dash to mark a point on any given bar.
What kind of code would I need to make an EA Buy at exact cross on stochastic but make it wait at least new bar to apply the close position rules but still apply SL-TP-TS.
And also to make the EA wait until next opposite cross to take another position.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
A beautifull stop hunt scheme ... by IBFX
Dear Sir,
can help for post 1102??
sonic
I am trying to do this...
Normal OzFX signal will trigger when AC go above 0...
look @ the 2 "BlU" line....I will want to issue a buy signal if the different between current bar(k) and previous bar(k+1) is too large....
can i use this code to write??
doji related...
Hello All:
I am trying to code my first indicator/ea and i need some help.
Here is how i define my doji: if(Open==Close)
Now, if i want to redefine my doji as the Open and Close are within 2 pips up or down, how do i code it?
To clarify: let's say Open = 1.5510 and close is either 1.5512 or 1.5508.
Any help will be appreciated.
Regards,
forexcel
if(MathAbs(Open-Close)*1/Point<=2)
this will do it for you...
let me know
Hello All:
I am trying to code my first indicator/ea and i need some help.
Here is how i define my doji: if(Open==Close)
Now, if i want to redefine my doji as the Open and Close are within 2 pips up or down, how do i code it?
To clarify: let's say Open = 1.5510 and close is either 1.5512 or 1.5508.
Any help will be appreciated.
Regards,
forexcelThank you for your help. I will try it tonight and will let you know.
Regards,
forexcel
if(MathAbs(Open-Close)*1/Point<=2)
this will do it for you...
let me knowHi IN10TION'
I tried it last night and it worked great....
Thanks a million
Regards,
Forexcel
if(MathAbs(Open-Close)*1/Point<=2)
this will do it for you...
let me knowIndicator arrow as a dash
Guru,
I have been racking my brain to figure out how to get my indicator to use a simple dash instead of Wingdings. I am trying to avoid using ObjectCreate if possible. I know there must be a simple way, because it's listed in the online help at MT4 site. If I'm reading it correctly the number 4 should be a dash, however when I use the number 4 as and arrow, it gives me the default checkmark.
I'm not looking for a dashed line, just a single dash to mark a point on any given bar.
Great thread, by the way.
Hi CodersGuru,
What kind of code would I need to make an EA Buy at exact cross on stochastic but make it wait at least new bar to apply the close position rules but still apply SL-TP-TS.
And also to make the EA wait until next opposite cross to take another position.
Thanks for your good work!
I would like to know what bar the highest high and lowest low occurred for today on H1 or less time periods.
I know I can use a for loop and check.
Is there a more elegant way to do this?
Is there a first bar of today function?
Thanks.
How do I add an expiration date to my EA?