Someone has the indicator and oscillator CandleCode developed by Viktor Likhovidov? Could someone develop?
Hi, I just realized that there are two template-folder one on the level of the terminal.exe this one is used for the charts and another one in the expert-folder for what is this folder? Is this one used if I want to create a new indicator for its structure? Thanks in advance! gooly
[Deleted]
Hi can somebody tell me how to calculate profit for all orders in the history ?
New article Marvel Your MQL5 Customers with a Usable Cocktail of Technologies! has been published: MQL5 provides programmers with a very complete set of functions and object-oriented API thanks to which they can do everything they want within the MetaTrader environment. However, Web Technology is an...
It is requested that somebody create an indicatorfor me with following parameters, Thanks and regards in advance 1. The standard MT4 envelop indicator in theoscillator section should be used 2. The indicator should indicate envelop prices,both upper and lower by adding spread to upper...
Hi, I have create a code which detect new bar been form. but seems there is a bug. What i wanted is, when we attach the EA to any chart, if at the time when attach to the chart.... the current bar still not yet finish perform.... it will wait for new bar to begin then alert new bar been form. If the
[Deleted]
while((AB * (GlobalClosur / 100)) > H){ This produces Wrong results while((AB * GlobalClosur / 100) > H){ This produces correct results Is this not the same code ?.. except brackets that I hope the order is prioritized
[Deleted]
Indicator help request- How do I add this indicator to my "Custom Indicator" list as an MQL4
(14 1 2)
MetaTrader4 code for price extremes indicator Indicator buffers: #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Yellow #property indicator_color2 Blue extern int CountedPeriod=5; Buffer names: double hi[]; // for high border double lo[]; // for low...
[Deleted]
In a recent post, see "ea runs on my broker but not on another", I posted my code for a program that automatically sets the stoploss given the lots opened on a trade and a predetermined risk level inputted to an extern variable. It would not run, so it seemed, on two different brokers. It turns out
Is there a more elegant way of running a cycle loop in increments greater than one: i = 0;While(i < 100){.....code.i = i + 3;} Is there a format using the 'For' function? thanks
[Deleted]
Hello everyone, After wrinting serveral indicators for the first time, I'm facing a simple, but very annoying, problem. My indicators work well. But they update to the current situation only if I change my timeframe to another one. If I keep my screen on the same timeframe, the situation between my
[Deleted]
Hi I am trying to export the historic data to some tabuled format. I know to export to csv from History Center, but it export on selected timeframe M1, M5, etc. But I wanted it tick by tick. There is a way to do it trough MetaTrader 4, or it have to be trough some script? Thanks
Hello coders, I would like to program a very simple indicator which displays an alert when the last bar's low is above the SMA20 and the space between the bar's low and the SMA20 must be smaller then the bar's size. Until now that is no problem. But the indicator should check this not only for the...
Greetings All! I am trying to get to the bottom of an incredibly strange issue, where my experts log and journal log are not matching up. The primary problem is that i am seeing two trades taken in the journal, but only 1 in the experts log, which from looking at the code is impossible. Please see...
I don't know why, but when i was making an indicator, i can't obtain a correct division. Is this bug or is missing me something?? Example: double ResultOf=5/2;// Should give the Result of 2.5, however in comment i have 2.// Anyone knows why?? or is one more Bug??
[Deleted]
There is a serious bug in MT4 for ipad version. I lost money because of it. When the keypad is open, if you hit the "SELL" button, "BUY" command is applied. VERY WORST BUG!! Note: I tried it on demo accounts of various broker companies. This problem does not occur on all of the broker companies'...
I developed an EA on EUR-USD pair using Eikon Reuters data but the results and signals on Reuters feed and Mt4 feed are vastly different. In Reuters,I am generating the signals on bar close,But in mt4 while doing strategy testing there is only an option for open price only. Even discarding this,...
Hi Coders! I have a DLL file (download) consists two functions for simulating new tick arriving. The functions are: IceLock_StartTicker() and IceLock_StopTicker(). Usage: #import "IceFX.TraderAgent.dll" void IceLock_StartTicker(int a0, int a1); void IceLock_StopTicker(int a0);#importint...
Someone knows how to access to the value of a compiling property? if we Define this property in the head of our ea... #property link " http://www.yotrader.com/ " How may I access to this value set in "property link"? because this not works... Print(#property link) Print(#link) Is there any system...
[Deleted]
Hello all. Just landed in the big world of forex trading and remeber when all you lot started out I have a ton of questions Have tested a few demo brokers made some profits made some huge losses but picked up loads of information along the dayabout forex some Ive digested some doesnt make sense Have...
[Deleted]
I put this question, as the leading free signal provider for MT4 has changed his signal from free to a subscription charge, in the belief that less people will subscribe. Consequently those that continue will sustain less slippage when trades are copied. Or is it that brokers have the foresight that...
Hi, anybody know of a program, indicator, ea, etc that will close my position when a candle closes on the wrong side of the stop loss, not when it punches through just to go right back in your favor, dramatically...? I hate those pesky stop hunters...
//+------------------------------------------------------------------+//| SupportResistTrade.mq4 |//| Copyright © 2008, Gryb Alexander...
[Deleted]
Hello, The Print command has no effect in a script? Thank you kindly confirm.
Heya guys (and gals perhaps?)! I´m new to metatrader, been doing some very simple ea's and slowly making them more advanced. I am now trying to make an ea that buys when RSI is below 10 and when the last periods MA50 is higher then it has been duuring the last 50 periods. I have been searching alot...
I saw it somewhere but can't dig it up. Don't even know how to describe it. In strategy tester you can move through the preceding bars (or ticks?) instead of hitting the pause button every other second.
[Deleted]
Hello sir how to show copy right on the chart lets say #property copyright "Copyright 2012" but this is not working on my chart ?
my EA has written the value of "Bars" to the MetaTrader log file. Since yesterday afternoon there is an unusual phenomenon. Nearly every two hours, the value is reducing by 128 points. example given: time value of Bars14:30 120014:31 120114:32 120214:33 107414:34 1075...17:41...
[Deleted]
Today i got a never seen before error when i tried to compile. It read like this "Variable name too long". I dont recall reading anything like maximum variable name length in mql4 book. Could this mean some things weren't published in the book?