BigAl
BigAl
Friends

Add friends via their profile or user search and you will be able to see if they are online

BigAl
Added topic Strategy tester failure
When running startegy tester the EA seems to be running correctly over a lot of days but then I get: OrderClose error 4107 invalid price 1.34216000 for OrderClose function This is very strange as the code to close the order has not changed Result =
BigAl
Added topic ticks I am puzzled??
I thought that a tick was an indication of a change in price BUT - I have an EA attached to EURUSDm 5 decimal place chart which does open trades on this pair as well as GBPUSDm without an open chart . if I
BigAl
Added topic #include variables clarification
Can someone please clarify how in mq4 you are supposed to declare variables. I always use the variable i for loop counting as do nost people. If I declare the variable i in my main program as "int i = 0;" and have the same declaration in a
BigAl
Added topic MQL4 search not working?
When I search for anything on this site (for example: https://www.mql4.com/search/profile) I get a message " Your search did not match any documents". Can anyone tell me what I am doing wrong, or, is the search engine faulty
BigAl
Added topic Partial Closing of orders - HELP PLEASE
Within my EA I want to partially close all open trades (eg close 50% of all open trades). The problem is how to do it! If I do a for (i = 0; i < OrdersTotal(); i++) and then select orders by position when I close an order the system will open a
BigAl
Added topic Detecting the start of a new bar
Can someone please remind me how an EA can recognise the start of a new bar. Is it that if (Volume[0] == 0) // means start of a new bar
BigAl
Added topic Manual Trade Maximum Deviation (error 180)
I am experiencing a lot of Error 180s which I have not be able to prevent even when using Trade Context flagging and . I have been told to use Maximum Deviation but I can only find this on the form for placing a manual trade. Can anyone tell me how
BigAl
Added topic CPU usage 100%
I am experiencing a problem whereby task manager shows CPU to be nearly 100% occupied with ( demo account ) terminal.exe. This only occurrs when the EA has been running for a long time (2-3 weeks). Logs show no activity at this time and trade profits
BigAl
Added topic 5 decimal place problems
Probably I am missing something silly but - I have changed my code to add X x 10 x Points etc and the EA works fine. However I do use a lot of print statements in my code and am frustrated by things like below: Print(Ask); Print(CurrentZig); etc
BigAl
Added topic False ZIGZAG/flipping
Can anyone explain this problem? I have been puzzled for some time as to why on stratiegy tester and demo accounts zigzag suddenly decides to flip (current zig gets previous zig values and previous zig values get current zig values) and a while
BigAl
Added topic StopLoss Min Distance
Ocassionally I need to move the stoploss as close as possible to a trade (open, limit or stop). I cannot seem to find the correct procedure to do this. For example with the pair GBPUSD I have tried using MarketInfo(Symbol(), (MODE_STOPLEVEL)) gives
BigAl
Added topic Select_By_Position
Hi All - I am having with the above code: for (i=0, i < TotalOrders() First thing to note is that I am using trade context code with global variables to prevent problems with trade timings and trade context errors. My code places a pending order
BigAl
Added topic Problem with RefreshRates() giving Error #129
I am using the same EA on several different charts. I am also using trade context monitoring via Global variables and RefreshRates() to update predefined variables. However I am still getting Error #129 returned occassionaly. Can anyone tell me why
BigAl
Added topic Chart Symbol Determination
I want to determine the chart symbol from a custom indicator or expert - can this be done and how. I can get bars, period etc but cant find anything for symbol
BigAl
Added topic Pending Order not placed due to invalid S/L or T/P when both were zero
Can anyone explain this for me please 08:30:40 '5234474': pending order buy stop 1.00 GBPUSD at 1.7671 sl: 0.0000 tp: 0.0000 08:30:41 '5234474': order buy stop 1.00 GBPUSD opening at 1.7671 sl: 0.0000 tp: 0.0000 failed [Invalid S/L or T/P]
BigAl
Added topic Requote on close says closing but order still open
Can anyone tell me why order #10948713 as shown in partial log below is still open? My EA relies on closing an order before another is opened. The order was supposed to be closed by the following line of code to limit losses OrderClose (myticket
123