I try to modify the below EA, I need to be alert when SMA50 Start Rising or Falling and the current bar closed.
// Code //
Just like last week when I meant to type buy limit but I forgot to change the instant order drop down to pending order, although I have done it before several times, but after rested a while for a week I forgot to change this drop down, I suggest that Metatrader programmer consider this and have 2...
Does anyone have a Linear Regression indicator that draws new channels once price has moved a certain distance above/below the channel, while keeping previous channels on the charts such as in the attached pic? Thx.
Anyone here trading currency options? It would be awesome if you could shed some light on forex option stategies and list of platforms/brokers you can buy options. With economic calendar I can predict the exact minute when prices move violently 100 pips or more. It's just the direction prediction is...
I'm sure this is simple, but it has me confused.
EURUSD, GBPUSD, NZDUSD, the pip value in USD is a whole number (for 1 lot of EURUSD each pip is worth $10).
This is not necesarily so for EXOTIC, or CAD or JPY pairs... they come in at various values USD...
Is there a way to...
Hi guys, i'm testing this EA that i've made. I'm sharing it and i hope people improve it, it's my first EA, so, the code is not the best. I notice, that, it works cool in almost every pair, i'm trying for now these: GBP/JPY, EUR/JPY and CHF/JPY It's only a 2 day test, but i would like other people...
Hi folks I wanted to help some of you who are struggling in forex. Herebelow are 2 E A S They should be left running from 4.45 am every morning . Only 4 pairs are traded .The standard EA trades gbp/usd,euro/yen and usd chf.The euro /usd version trades euro /usd. Thet produce around 1500...
Hi, everyone, I tested my EA, and got the following error message in the journal: 12:22:42 TestGenerator: unmatched data error (volume limit 102 at 2007.06.29 04:00 exceeded) 12:22:42 TestGenerator: unmatched data error (volume limit 102 at 2007.06.29 04:00 exceeded) 12:22:42 TestGenerator:...
I am a Metrader Newbie and amd trying to put together a Expert that Will Close a Position at a Certain Time. Nothing every happens with the Expert Below. Can someone tell me what is wrong?
Let say I write two EAs as follows:
ea1: To operate in H1 by default all indicators have NULL second parameter.
ea2: Same as above except to force H1 on all indicators.
Then run both in demo account and same broker:
ea1 in H1 and ea2 in H4 on the same PC. The results should be the same just...
I just used "Insert - Text" and "Insert - Text Label" to add text to my chart window, but whatever I do I can't delete them again even if I reload my template. How can I get the text off my chart?
Many thanks for your help.
When using an EA, do you have to have the indicators loaded on the chart with it for it to trade correctly? Or just the EA? Also, does anyone here trade with their EA only. No manual trades? Just curious. Sorry if its been asked before.
Currently developing a trend-following system to trade GBPUSD. I'm trying to mimic the Turtle System money management rules, which require the calculation of "Dollars Per Point" (i.e. dollar value of a pip). Has anyone tackled this in MQL? Here's a English example of the logic I'm trying to...
There are a few possible bugs I've come across over the last month which I thought you might like to know about:
1. If a chart is opened and quotes need to be downloaded, the download fails if MetaQuotes looses it's connection which is to be expected - no connection, no quotes downloaded....
I have 'searched' the forum but cannot find this mentioned - if it has been addressed, apologies.
Attach an EA that uses 'Messagebox' in the Init function to a chart and it works fine - but only once! Even removing and re-attaching the EA to the chart fails to get the Messagebox to open a menu box...
I read what I could find on the volume indicator in Metatrader, and that seems to suggest the Volume refers to the number of ticks per unit time, rather than the amount of lots traded per unit time.
Is there a clearer definition of this indicator?
Hi all, can any one have Z score indicator for MT, below is given in Metastock code format for it C-MA(C,60)/ Stddev(C,60) The z score normalizes the prices over a period. We will select three months as the period for normalization.( 60 days assuming 20 trading days per month)
Newbie question this, but how can I set an order so it closes when one MA crosses another MA?
For example here's my code to open a trade:
if ((CurrentMA1 > CurrentMA2) && (PriorMA1 <= PriorMA2))
StopLossLevel = Bid-(10*Point);...
New MetaTrader 4 Client Terminal Build 210 has been released.
1. Fixed displaying of profits "as Term Currency" for futures.
2. Tester: removed the checkbox "Recalculate". Now the testing sequence is generated each time anew at clicking "Start".
3. Tester: improved the generation...