- Search Forex Factory
- 211 Results (1 Thread , 210 Replies )
- pah replied Jun 9, 2023
The trade's entry doesn't really matter. Confused now...
FX Math: Expected Return based on Risk:Reward ratios
- pah replied Jun 9, 2023
I'd say from my own experience that such a strategy would depend significantly on the time of day and where the instrument is currently situated(within it's daily/weekly range) and where it is in relation to other important levels. Also, you could ...
FX Math: Expected Return based on Risk:Reward ratios
- pah replied Jun 9, 2023
Hi, It's not really clear what question you're asking, maybe expand a little on what it is you're doing, which instruments you've back-tested on, etc... Were they trending, ranging, how were the trades placed and at what time and so on. What you've ...
FX Math: Expected Return based on Risk:Reward ratios
- pah replied Jun 6, 2023
Make sure you have the .ex4 files in the correct folder. Best way to make sure is click File menu and choose "open data folder ". Expand the MQL folder and you should see an Indicators folder, open that and this should be where your files are. If ...
Trying to get ex4 files to work
- pah replied May 9, 2023
Hi, As you have attached code, it makes it look like you can code to some extent. I've compiled the modified code I posted earlier which you can try. You will have to modify the BUYs script yourself based on the changes you find in this one. Or... ...
Need help with this Script
- pah replied May 9, 2023
Hi, The code you attached above is still trying to send the order with TP & SL on the OrderSend() line. Have you tried the modified code as a new script or adding the changes to the existing scripts to see what happens? Are there any error messages ...
Need help with this Script
- pah replied May 8, 2023
Hi, What I think JoeeF meant was to add code to apply the SL & TP. Try this modified code which does this as a second step. There is no error checking in the code as it is but this isn't a major issue for a script which you will be applying and ...
Need help with this Script
- pah replied May 5, 2023
Thank you. So I presume you will be looking for price action signs on the lower time frames in determining if a level is broken or held? Regards, Paul.
Gold
- pah replied May 5, 2023
Thanks for your posts, you make excellent commentary with very accurate prices, your Fibonacci levels are pretty accurate on gold. Would you share your criteria for determining when a level has been broken or has held. I for one would be very ...
Gold
- pah replied Apr 28, 2023
Hi, Not sure whether you can use EventSetTimer in an indicator, maybe only for EA's. You'll have to look that up. Is it not doing it's processing in the OnCalculate() event? Also, your error suggests you are using the millisecond timer, not the ...
Speedometer (Points/Sec)
- pah replied Apr 18, 2023
Just for info. I ran an EA on Bitcoin which seems to work with the correct values displayed. I notice on your tester screenshot that trades are opened and immediately closed at s/l or t/p. This suggests that your maybe specifying the take profit or ...
BTCUSD spread in mt4 strategy tester not working
- pah replied Apr 18, 2023
Sorry if I wasn't clear. The attachment is a script which you store in the scripts folder and drop onto any chart. It will print out selected values for all symbols in your market watch window to the experts tab of the terminal. In testing, with ...
BTCUSD spread in mt4 strategy tester not working
- pah replied Apr 18, 2023
Hi, Have you had a look in the tester journal at the start of a test run. This should show the spread it's working with. If you find this is zero even when you have specified a larger spread it would suggest there is some internal limit to the ...
BTCUSD spread in mt4 strategy tester not working
- pah replied Apr 6, 2023
Hi Matt, To help with the "can't set event timer" issue I use the following ( taken from OnInit() event ). Since adding this I haven't seen the error, usually occurring on VPN sessions as you mentioned earlier. while ( ! EventSetTimer(10) ) { if ( ...
Speedometer (Points/Sec)
- pah replied Oct 14, 2021
You make the magic number an input parameter to the EA so that you can start multiple instances of the same EA but each one can have it's own unique magic number and deal with it's own trades. Regards Paul
Do I need a separate BB Mean Reversal EA for each chart?
- pah replied Oct 14, 2021
I wouldn't rely on it. Depending on changes involved the 'update' may do more than just download a new .exe FYI, Mine have upgraded to version 1350 this morning which is out of step with the above post from emmzett... Regards, Paul.
MetaQuotes "This is the last MT4 upgrade"
- pah replied Oct 7, 2021
You need to read the documentation more carefully. The call to the GlobalVariableSet() function takes two parameters, first is a STRING which is the NAME of the variable, second is a double holding the VALUE. ...
Trying to code for setting beginning daily balance
- pah replied Sep 30, 2021
I think you should read url You are confusing the issue in trying to store your account balance in a variable declared in the EA as no other instances of the EA (e.g. the other 19 on the other charts) can access such variables. If you store the ...
Trying to code for setting beginning daily balance
- pah replied Sep 15, 2021
You might fix some issues by running the program in compatibility mode (Probably with W7), see below. url Regards Paul.
MT4 & Windows 10 compatibility
- pah replied Sep 10, 2021
It is creating 256 objects over the last (default) 15 bars. When you change the chart timeframe to H4 or Daily there are too many objects in too small a space to make it useable. You would have to reduce the value of CountPeriods or make some lines ...
I will code your EAs and Indicators for no charge