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.
Hello all,
Got a very simple question
I have this code in Expert Advisors and doesn't work. Same code in Custome Indicators and works, any idea? I excuting this code against 1 min chart
U initialized bars variable before start function - in global section?
Try to use if (Bars>bars)
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................ http://www.fxservice.eu/
........................................
I read THAT code I can`t understand the way it works but follow me through the index found that changed its signs and i found the solution to that>
do at the 0.2 level and the level at the 0.2-and in contact with the positive and buying in contact with the negative sale.
I've been following this forum for a while now and picked up a lot of valuable lessons already. Especially thanks to Coder Guru for the quickstart to MQL4.
I'm managed to build a few simple EA's just to get familar with MT4. Now I want to start a new project but I got stuck.
I want to enter a trade after a 10 pip move, not based on any indicator, just on the tick data, if price moves up 10 pips (eventually with a time limit), I want to enter long and and if it moves down, go short. I don't want to use the bar open or close as this may be late or miss some big moves. What I need is how to "freeze" the starting price to compare to the bid/ask to see when the condition is met.
This little piece of code is looking to give the % change of the current bar as compared to the daily bar open. I don't know why it won't work...I can get it to output AmtChange and also O (which is the open) and the numbers given are correct. However when I combine them into the line (AmtChange/O)/*100 the code does not output anything. If anyone can find my problem please point it out to me before I pull my hair out!!!
I just wanted to add that I was writing a correlation indicator last week that exhibited similar behavior...I checked every number going into the final calculation, but for some reason it was not outputting anything. Is there some kind of syntax violation I'm repeatedly committing? Again, thanks for any help offered.
I just wanted to add that I was writing a correlation indicator last week that exhibited similar behavior...I checked every number going into the final calculation, but for some reason it was not outputting anything. Is there some kind of syntax violation I'm repeatedly committing? Again, thanks for any help offered.
BW
It's possible that there is some error in the declaration of variables / buffers, so post the full indic here. Otherwise, check first if O != 0, because it can happen that a bar is missing or for whatever reason Open[i] = 0, then the whole indic stucs.