Forum

GoHan Scanner: A Brand New Forex Scanner

PROBLEM: The Forex market is filled with information across a variety of currencies with different Technical Analysis patterns. With a 24-hour market, there is consistent information out there, but no real effective way to look at it all. There could be patterns out there right now that you're not

iMA: What's the difference between shift and ma_shift???

I'm using iMA to create a crossover (of course!). I'm trying to understand the difference between the parameters shift and ma_shift . Obviously, I'm trying to find out the current MA and then one for the previous period of whatever the chart time is. It *looks* like I can use 0 for shift and only

What exactly does it mean to have a trade result "requote"

I have a solid set of MQL5 code and I finally have the ordering right but I'm getting a lot of the '10004' message for the trade result. I know that this is listed as " requote " in the manuals but what exactly does that mean? I have tried re-submitting my requoted orders and it usually results in

New bar detection in MQL 5???

Can someone please post a snippet of code for detecting a new bar in MQL 5. I kinda remember how to do it in MQL4 but I was hoping that it would be different/easier in MQL 5. I was hoping that they would FINALLY make this an event procedure, but that doesn't seem to be the case. TIA

FREE CODE: New bar scanner

In the world of daytrading stocks, most traders use overnight scanning software that tells them when a stock has met some conditions. As far as I can tell, there's nothing similar to this for Forex. Besides, there's no "overnight" in Forex, so a scanner would need to be constantly working. I've

FREE CODE: Finding Resistance Prices

I cooked up some new code because It would be cool to develop a function that returns the price of resistance I'm lame and I have nothing better to do on a Saturday than think about forex Plus, I think you guys will be able to improve on it. This attempts to find prices that have exhibited

Parse a String?

I'm using FileWriteArray/FileReadArray to store some data that I need. But I'm stoing the data as a comma-delimited string because I need to be able to store multiple values. When I get the string back from my file, how can I parse it? I started this project assuming that there would be a "split"

FREE CODE: Scrolling Comments

I've been writing quite a few EAs and I decided that I wanted to see the output of them in a "scrolling" fashion on the left side of the chart. So, I wrote this little function and I thought I'd share it. Basically, you call the function by sending a new comment string. That will be output at the

Carriage Return in Objects

How can I add a carriage return in something like: ObjectSetText ("Right_Status", "some text string", 10, "Verdana", White); I've already tried using \n and that does not seem to work. Do I need to add another, new, object or is there a better way

Open a chart with code?

I don't know if this even possible: Can I open a new chart in MT4 with code that's called from an EA? I have an EA that monitors more than 1 symbol and when a particular condition happens, I want the chart that relates to a particular symbol/timeframe to open within MT4. Is there code to do this