- Search Crypto Craft
- pah replied Mar 2, 2025
But even if you were to modify the menu items programmatically I would expect the restrictions to be applied by the trade server (assuming MT4/5 server here) anyway? url
How to place a Buy Limit order inside the spread by mouse?
- pah replied Mar 2, 2025
You would need to be below the bid to get a buy limit on and above the bid to place a sell limit so you would only be able to place sell limits in between the spread (between bid and ask) but not a buy limit. I have tried it here on bitcoin (in ...
How to place a Buy Limit order inside the spread by mouse?
- pah replied Mar 2, 2025
Hi emmzett, In MT4 you have buy/sell stop & limit orders available on the right click. You just have to make sure you right click above or below current price to see the appropriate type of orders. Or do you mean you want something quicker like a ...
How to place a Buy Limit order inside the spread by mouse?
- pah replied Feb 26, 2025
There is quite a lot wrong with this code so it's not a trivial task to fix it such that it is robust enough for live trading. Have a look at the OrderReliable.mqh code which should help you create something decent. Also, BUY at Ask, SELL at Bid and ...
I will code your EAs and Indicators for no charge
- pah replied Feb 26, 2025
It would depend on which Buys you wanted to close(magic number, etc), how many buys there might be (one or many) , the type of buy orders (open, stop, limit, etc...). Search for OrderReliable.mqh which provides functions such as opening, closing ...
I will code your EAs and Indicators for no charge
- pah replied Feb 26, 2025
Just click subscribe at top of page, adjust settings to your preferences. Regards.
Gold
- pah replied Feb 24, 2025
That's great, everyone likes a happy ending
Regards.Win11 often unconsciously closes MT4
- pah replied Feb 22, 2025
Your last posts before today were back in Sept. 2021. Today you've posted these images to 4 different threads without any explanation or commentary. What is the purpose of your posting them??
Gold
- pah replied Feb 20, 2025
G'Day David & FerruFX, I'll happily second that endorsement for all you've done over the years, thank you. You probably know the saying, "you can't do right for doing wrong". More apt these days than ever. One point I must pick you up on though, you ...
Where to find free historical economic data
- pah replied Feb 19, 2025
I've often had trouble with 3rd party AV software and now prefer to just run the built in defender. I've had no issues at all. Did you manage to check the event logs? Regards.
Win11 often unconsciously closes MT4
- pah replied Feb 16, 2025
Have you considered that no-one is interested in your opinion of what we should be watching and reviewing. You've re-introduced a topic similar to the recent methods described by Miss D which gives the impression that you believe she might have ...
Gold
- pah replied Feb 16, 2025
The Mob and the Markets There once was a town, not big, not small, Where folks kept watch from the gossip hall. They’d cheer for the dull, applaud the bland, But sneered when brilliance took the stand. A baker arrived with pastries divine, Flaky and ...
Gold
- pah replied Feb 15, 2025
Hi TT, I'm simply providing the quickest fix to try before falling down the rabbit hole completely. It has worked for me in the past, not just with MT4, so it might help the OP. Whilst it's true that detailed diagnostic approaches and fault finding ...
Win11 often unconsciously closes MT4
- pah replied Feb 15, 2025
If I understand you correctly, just use the particular PERIOD_xxx of interest with a shift of zero:- datetime currentbar = 0; currentbar = iTime(Symbol(), PERIOD_M5, 0); //current M5 bar time currentbar = iTime(Symbol(), PERIOD_M30, 0); //current ...
Get iTime Automatically for Other espective TF's Datetime
- pah replied Feb 15, 2025
You can also run Event Viewer and look for errors in the Windows Logs/Application section which may shed some light on why it's misbehaving and what to look at in terms of a fix. Regards.
Win11 often unconsciously closes MT4
- pah replied Feb 15, 2025
Before you do anything too drastic, try running the terminal.exe (the MT4 executable file) in compatibility mode as shown in the pic. If this doesn't work you can try other steps. This dialog for the setting can be found by shift & right clicking on ...
Win11 often unconsciously closes MT4
- pah replied Feb 2, 2025
Hi, Out of interest, when would you re-enable the Auto Trading after it was disabled by either number of orders or lot size limits being reached? Regards.
I will code your EAs and Indicators for no charge
- pah replied Feb 2, 2025
Hi, I've used this code to reliably enable/disable the Auto Trading button from expert code. Regards. #define MT4_WMCMD_EXPERTS 33020 #include <WinUser32.mqh> #import "user32.dll" int GetAncestor(int, int); #import int ErrorFlag = ERR_NO_ERROR; ...
I will code your EAs and Indicators for no charge
- pah replied Jan 25, 2025
I found a use for this myself and have updated it with a status message so you can more easily see the times when experts are enabled/disabled. You can use it if you like, otherwise, just continue with the first version. All works exactly the same ...
EA that closes/disables trading
- pah replied Jan 25, 2025
No worries, glad it's all working well. All the best.
EA that closes/disables trading