Piotr
Added topic How many variables as extern type can I set in Expert Advisor made in MQL4 ?
I have 211 extern variables. My program does not work properly I think. But I don't know where is the problem
Piotr
Added topic How to check - using MQL code - if [prompt for manual confirm] is checked on the MT4 platform ?
I have the following problem: I have my own EA, but I would like to use it only if check box [prompt for manual confirm] on Meta Trader 4 platform is not set. Tools - Options - Strategies - Allow trade [set check box is OK] - Prompt for manual
Piotr
Added topic ERR_INVALID_FUNCTION_PARAMVALUE - 4051 - Invalid function parameter value.
ERR_INVALID_FUNCTION_PARAMVALUE - 4051 - Invalid function parameter value. Could you please describe for me this case of error code
Piotr
Added topic MQL4 and/or MQL5 code compressor program - question
Does anybody know any good MQL4 and/or MQL5 code compressor program ? Freeware or cheap shereware will be the best for me. I need compress source MQL code to minimum capacity with no empty spaces, without any comments
Piotr
Added topic OrderMagicNumber() - question
Can I open a few positions with the same OrderMagicNumber() for each ticket
Piotr
Added topic Does anybody know something about ULTRA MICRO LOTs like 0.0001 Lot and SUPER MICRO LOTs like 0.001 Lot ?
I mean about: http://www.forex4you.com/clients/conditions/ With Meta Trader 4 platform SUPPORT. Anybody knows BROKER like that? I would like to know if the BROKER uses the BRIDGE on the FOREX MARKET
Piotr
Added topic 5 decimal places after point BROKER for EURUSD etc... - SendOrder() question
I have non standard BROKER with 5 decimal places after point. When I open order I have to do something like following : extern bool FractionalPips = false; int start() { double ticket0, ticket1; if(FractionalPips==true) {pip=10;} else pip =1;
Piotr
Added topic Can I write FUNCTION/s in MQL4 what return/s the TWO DIFFERENT data types ?
For example : ExampledFunction(string Txt, double ProfitFromOrder) { ... expression... ; ... conditions... ; return (Txt, ProfitFromOrder); } If YES, then what the TYPE should I use in order to properly DECLARE the FUNCTION as above example: double
Piotr
Added topic How to GET random ITEM from the ARRAY defined as DOUBLE type ?
For example, I have five values in array named MyLots[] double MyLots[] = {0.01, 0.02, 0.03, 0.04, 0.05}; Array MyLots[] contains five values and now I would like to GET random value from the array table whenever I send open order. Can I please MQL
Piotr
Added topic How to check the OrderProfit() from 3 last closed orders for the current Symbol() in OrdersHistoryTotal() list ?
I mean about MQL4 syntax... I need separate values for 3 last closed orders profit or loss
Piotr
Added topic MQL4 question: CLOSE ORDER BY THE OTHER ONE
What is MQL4 syntax to close one BUY order by the other one SELL order ? I manage orders by Magic Numbers
Piotr
Added topic How to draw LABEL or TEXT under/above 10 points of the current bar?
I would like to get the current Ask price displayed above 10 points from the HIGH of the current bar and Bid price displayed under 10 points from the LOW of the current bar. How to do it? Please add any example if you can and you know how to
Piotr
Added topic How to call SCRIPT FILE under Expert Advisor MQL4 CODE?
Hi, Is possibility to call script under Expert Advisor ? If YES, then what expression should I use to call the script file from mql editor on expert advisor code ? Regards, Puncher
Piotr
Added topic How to use SpeechText function in MQL code ?
What DLL file should I import in order to use this function properly on MT4 build 225 (and newer) I would like hear Ask price if trend line will be broken. For example: SpeechText("Price " + DoubleToStr(Ask)); But it can not be compiled
Piotr
Added topic How to secure MQL4 source code using the extern dll file ?
How to write Expert Advisor using DLL file
Piotr
Added topic Oferuję usługi programowania strategii w MQL4
zainteresowanych zapraszam na: http://www.allegro.pl/item899894055_mql_programowanie_strategii_inwestycyjnych_mt4.html W przypadku pytań napisz na mail: polska.waluty@gmail.com
Piotr
Added topic What do the Martingale, Grid & Fap Turbo mean ?
I heard about Expert Advisors like Martingale, Grid & Fap Turbo - what mean EAs like that
Piotr
Added topic Can anybody help me to code in MQL4 drawing on current chart two trend lines? Green line as support and red line as resistance.
I would like draw the lines as the (E)xpert (A)dvisor on Meta Trader 4 and refresh it every next bar. Let's use only 100 last bars. The green line should be drawn as the connector between two points: 1/. LOW of the last bar (always) 2/. LOWEST bar
Piotr
Added topic Many Brokers have 5 decimal points for the currency EURUSD and the other pairs
My Expert Advisor is not compatible with this... Is there any special instruction for ModifyOrder(), OrderSend(), OrderClose() functions ? I wrote EA for standard values as 1.4555 for EURUSD not 1.45559 for example... then Spread equals 23-25 points
Piotr
Added topic IsTradeAllowed() function on Meta Trader 4 - question
What should I do on Meta Trader platform in order to make enable function IsTradeAllowed()