Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
You do not really need a function, it's enough to put in the init() function:
PHP Code:
myPoint = 0.0001;
if (Digits < 4) myPoint = 0.01;
I would do it your way if I only had a few EAs to worry about. I actually have this code in a library along with numerous other functions that use myPoint instead of Point in the code. That way I only need to change code in one place and recompile all EAs. Just in case some broker decides to add another decimal place.
Yesterday at 5 PM to 3:00 AM today... then want to look at the bars between that range.
I dont see a function to get the beginning of the day (seconds from 1970)
I can do the math myself, by using modulus etc. but wondering if there any easy mt4 functions Im not seeing to do this..
There must be an easy way in MT4.
...
I dont see a function to get the beginning of the day (seconds from 1970)
I can do the math myself, by using modulus etc. but wondering if there any easy mt4 functions Im not seeing to do this..
There must be an easy way in MT4.
I'm trying to figure out what is wrong here. I wrote this little indicator as to try and find out why I can't seem to draw arrows on every single bar in a chart. No good reason to.
I have another indicator that i'm working on that'll be discreet on choosing which one, i wrote this to try and figure out what the darn problem is.
It only draws an arrow on the bottom of the candle for the last few bars. It should draw arrown on every single bar in the chart on the top and bottom of each candle.
And only 1 candle's data is showing up in the data windows.