nadiawicket
nadiawicket
nadiawicket
Added topic How to select last profit order for chart?
This is the last step to getting my system going. Really need this solved.    for ( int i= OrdersHistoryTotal ();i>= 0 ;i--)      {        if ( OrderSelect (i, SELECT_BY_POS
nadiawicket
Added topic Experts tab has a 60ish second offset?
Or is it just Wine? Seems to me the time in the Experts Tab is ahead by about 60 seconds compared to the Account History. This makes fixing EA errors harder than it should be.. Any fixes for this? So far just ignoring the time warp
nadiawicket
Added topic Function return value inside a string possible?
Is there a way to, for example, have the compiler put the chart's _Symbol right inside a string? FileDelete ( "Sell _Symbol " , FILE_COMMON ); If not, Ill have 30 EA's instead of just 1 because of having to write every single currency pair in there
nadiawicket
Added topic FileOpen and edit other directories?
Can I FileOpen and write other things in my computer or is it just the default /mql/files and the Common Folders that I can open and write to with an EA FileOpen
nadiawicket
Added topic How to write the actual _Symbol in a string?
Need to write a string variable that includes the current chart _Symbol. How to do this without the letters turning green/not being able to because of it or any other workaround? Dont want to use 40 eas when one will do
nadiawicket
Added topic Refresh enough or should I reload whole mt4 instead?
Is compile in editor followed by refresh in mt4 enough or should I always reload the whole mt4 while editing mq4 files back and forth? Both equally effective
nadiawicket
Added topic How to search different dimensions of the same array?
ArrayBsearch Searches for a specified value in a multidimensional numeric array sorted in the ascending order. The search is performed in the first dimension taking into account the AS_SERIES flag . I need to be able to individually search every each
nadiawicket
Added topic Compare one value to 100 element array?
How to do this without going one by one? Is there a way to compare for example x to every value of array[] , when array has 100 elements? or do we have to go one by one? ArrayCompare() just compares a single element to a single element in the second
nadiawicket
Added topic Array won't update
   double tickarray[ 10 ];    static int cnt= 9 ;    if (cnt< 0 )       cnt= 0 ;    if (tickarray[ 0 ]!= 0 )      {        for
nadiawicket
Added topic Question about TERMINAL_COMMONDATA_PATH
I'm using Wine in Debian Linux. I can't get it to find the common data file "com" which I have placed inside /home/l0l/.wine/drive_c/users/x/Application Data/MetaQuotes/Terminal/Common. Print (" TERMINAL_COMMONDATA_PATH = ", TerminalInfoString (
nadiawicket
Added topic Latency efficient a sell from command line linux terminal directly/without graphical MT4?
More MQL questions. Thanks in advanced to the answer. What is the absolute best way to lag free execute a sell right now from command line linux terminal directly/without graphical MT4 for better RAM usage? Need the code. Paying API Fees the only
nadiawicket
Added topic How to unglue this variable so that for loop resets variable every iteration?
   for ( int x= OrdersTotal ()- 1 ;x>= 0 ;x--)      {        if (! OrderSelect (x, SELECT_BY_POS ))          continue ;
nadiawicket
Added topic Why do orders get opened at different price than the actual Bid/Ask?
Print ( MarketInfo ( _Symbol , MODE_BID )); OrderSend ( _Symbol , OP_SELL , 0.01 , MarketInfo ( _Symbol , MODE_BID ), 0 , 0 , 0 , NULL , 0 , 0 , clrNONE ); Notice how, upon utilizing the code above, in the Experts tab you will see that there is
nadiawicket
Added topic Please consider adding AutoScroll toggle to right click in AccountHistory tab in the near future
Keeps borking out, really feels non-intuitive that its not there. There should be a checkmark just like in the Experts tab right click menu. My 2 cents. Auto scroll toggle feature upon right click should be there for all tabs, not just Expert tab
nadiawicket
Added topic Why does this code produce wrong SL half the time?
Why does this code produce a wrong SL sometimes yes sometimes no? OrderSend ( _Symbol , OP_SELL ,. 01 , Bid , 0 ,Bid, 0 , NULL , 0 , 0 , clrNONE );
nadiawicket
Added topic How to only execute once per tick?
Hello all and thanks in advanced. I am trying to only open new orders if they are going to be opened in not the same price as any of the already currently active opened orders (MODES_TRADES, not MODE_HISTORY). In other words, I don't want 2 open
nadiawicket
Added topic Why does MT4 automatically delete your acciount history randomly?
MT4 randomly deleted all of my account history. Why? I did nothing to this end at all. How do I prevent this? Any hidden settings/tricks
nadiawicket
Added topic How to modify USDJPY orders from EURUSD chart?
if ( OrderSymbol ()== "USDJPY_" && OrderType ()== OP_SELL && OrderProfit () < ( OrderCommission ()+ OrderSwap ())) OrderModify ( OrderTicket (), OrderOpenPrice (), Ask , 0 , 0 , clrNONE ); if ( OrderSymbol ()== "USDJPY_" &&
nadiawicket
Added topic Please help me retrieve last time price was same as current Bid
Tried using iClose, however it is only good for "candle close price ", I want whenever it actually happened so as to be more precise. So I went the HLINE route, and cant find a way to just give me the last time the current HLINE touched the same bid