MQL4 and MetaTrader 4 - page 1425

Any help would be appreciated: if(stopLoss >0) { dollarrisk= equitypercent*AccountEquity(); riskperpip=dollarrisk/stopLoss; lots=riskperpip/10; } else { dollarrisk= equitypercent*AccountEquity(); riskperpip=dollarrisk/ATR2;...
[Deleted]
I'm a little confused re Ticks vs Bars... am I right in saying this using candles. Time[0] is the current tick time whereas iTime(Symbol(), 0, 0) is the time of the current candle... if so is iTime the open time? What is the difference between Open[0] and iOpen(Symbol(), 0, 0)? Thanks,
[Deleted]
Account: Name: Currency: USD 2009 August 31, 18:37Closed Transactions: TicketOpen TimeTypeSizeItem PriceS / LT / PClose Time PriceCommissionTaxesSwapProfit642355842009.08.28 19:24buy1.00eurusd1.434941.435081.435692009.08.31 16:441.435080.000.00-0.2014.00642348572009.08.28 19...
[Deleted]
hey foks, can any of you explaing in simple words, what exactly is neural networks , who should use it, and how it improve you tarde gains. thank you
  how to unload the dll  (117   1 2 3 4 5 ... 11 12)
using an external library via #import. When I unload the idnikator, the terminal still holds the dll. how do I get rid of it
  Forum divisions  (1)
Hello there. Here i'm proposing something: what you think about to make some "forum divisions" to keep everything classified, such as in example: - Beginner's section: beginner's help needed for code and/or mt4 language basics - Advanced user section: advanced user section to discuss topics in mql...
I am trying to store the MA values using iMAOnArray. For example, I want to store the current bar 0 to prev 4 valules of an MA in the array MA_Buffer[5]; Once I have them, I want to calcuate the highest value and lowest value and want to know the difference between them. For example. 0=1.4320 1=1...
some broker currency name is different with meta quotes server, so i encount a problem of downloading the history data how to solve?
Hi Programmers! Can I add an indicator to the chart by the Expert Advisor? Thank you in advance! Relative
For some reason when I ad a new fib level it does not display, shows ok in the properties window. did search of site .... and got nothing ...any ideas? Also does anyone know how to get the fib expansion tool to appear as a button on the tool bar? Currently it is only available from the insert menu....
[Deleted]
Hi; Could you please kindly help me about the code of open and close a trade at a specific time that I will choose. In example I would like to buy (100000 units) Eur\Usd at 1.00 pm and close it 3.00 pm. Thanks many...
[Deleted]
Please if anybody can help i tried to use (at_Itp4_Env indicator) for EA, what parameters in ICUSTOM i have to write to send order to upper line and other order to lower line? can be? this indicator is written by Nikolay Kositsin i tried several parameters, no success... thanks in advance, Samir...
Anyone can tell me how to find the period to use as string - this I want to go to the comment
-
Hi, As the subject states, I am looking for somebody to help code a custom indicator for an algorithm i've made. If anybody is interested in helping out, or is just interested in the indicator itself--it revolves around binomial distribution theory and standard deviation--I would appreciate it. Plus...
Hi, I was running an EA on a demo account, on M1 (minute) chart. I changed the period to another, I think, to Daily period, and all trades were immediately closed within a few seconds. Is the changing of the period the cause of the closing of the trades? Was the EA initialized again, like the...
Hello... I am new here and need to know where I can read how to use this interfaceie, pasting code into the text etc. ? Anyways I'll try to ask the question thebest I can without the use of copy and paste functions. I am a newbie coder soplease bear with me. What I am trying to do is take an extern...
[Deleted]
Can someone please tell me what the Variable 'Pips' is doing in these couple lines of code? if (l_ord_open_price_4 - Ask > Pips * Point && li_56 < MaxTradesPerChart) { OpenBuy(); ____________________ if (Bid - l_ord_open_price_4 > Pips * Point && l_ord_open_price_4 > 0.0 && li_56 <...
[Deleted]
Hi, I would like to know how it's possible to link indicator and EA: what is the code in the EA ? Shoud the indicator has to run on the chart where the EA is running or it s not necessary ? One indicator can run or be called by two different EA ? Many thanks UKalgo
  AUD/NZD Strategie  (22   1 2 3)
Hello, here I have maybe somethink interesting for you. This Strategie work on AUD/NZD Pair, but you need a low Spread somethink like 8-10 Pips, if you get this low spread then you can get the super results from my following backtest. The Broker by which I have use my Strategie has doppel my spread...
[Deleted]
Hwlp!! Noob Alert! I am trying to identify when a bar crosses an indicator line. I thought if i checked each time a new bar starts to be drawn - and used iClose, iHigh and iLow, i could some how measure when a bar has crossed over and indicator line and do some calculaion with that data. Any help...
[Deleted]
  Help a new comer  (2)
Hi guys, I'm pretty new to forex trading and I need lots of help. Last week I made more losses than profits on my live account. When is the best time to trade each currency pair? Which indicators can I use? How can I maximize profit?
I want to send pending orders,but don't know the execting meaning of the parameters,wouid someone tell me and post an example ? thanks
in tester mode, is there any way to simultaneous back test more than one symbol?
Hi,i have a custom indicator that is called "lucky line".When this indicator is green i must buy and when it turns red i must sell.I want to create an expert to make the trades automated.can anyone please help me?thanks in advance
I have a real good system with winning and profit consistency. I want to do further backtesting to optimize and maximize my profit potential. How do I get a whole year of MT4 backtest data for 2008? Where do I download the data from? I trade with FOREX.com and the representative there said that they...
copy the meaningful grid from DetailStatement.htm to .csv file plz fimiliarize how to use excel or openoffice to cut csv colon plz put the csv file to experts\files\ cut the useless grid (u can see the yellow area is useless, del them All !!! ) put Detail Statement_htm position show on Chart .mq4...
[Deleted]
Hi, What is the difference between the time series functions iClose, iOpen, etc and the predefined arrays Close[],Open[], etc? I don't really see a difference except the choice of timeframe and symbol. Is iClose(Symbol(), 0, i) == Close[i] ? cheers
Hi, Having already searched this forum for other people having the same issue as me, it has become evident that this error is simply due to a missing ( { or [ and vice-versa. But when I double-click the error in the compiler error pane, the cursor moves to a large section of greyed out code using /*...
[Deleted]
Hi, I'm new to Forex Trading and still learning. I'm very excited with this. Can someone help me with How to add arrows when entering or exiting a trade onto the chart? Many thanks!!! Alfonz
my name is Nusa. i come from indonesia...i have problem for using metatrader program to have some practice about how to make real trade. i always can't log in to the web. if there is any suggestion i will appreciate it so much!!!!!thanks or u can email me at disa_99@plasa.com. for all your...