- January 14, 2014
- Posted by: Forex Wiki Team
- Category: Expert Advisor
Name: |
|
||
Author: | Nil (2010.06.21 11:06) | ||
Downloaded: | 4550 | ||
Download: |
|
||
Hi, I got this EA from a friend. It is based on the previous day's open and close price, but I would want it to close all trade on friday at a certain time.
Any help? You may add the FridayClose option and paste it on this thread. I will appreciate this gesture for my good and the good of all who finds it helpful. Better still, you may sent it to my email address at [email protected] or [email protected]. Thanks buddy! |
|||
klam2404:
BarrowBoy:
gbrjnr: I run it on live account on EURUSD H1 only and on a VPS platform 24/7
Action is very thin this week, all my EA's are off.... FWIW -BB- if(DayOfWeek() ==5 && !TradeAtFriday) {//friday CloseAll("All",0); Nice of you to share some useful code, but we're not all experts (yet), so would you, or somebody else, explain also 31.12.2013 10:22 ronald123
Please, I will like to include a money management technique to my EA. The idea is to let only a fraction of your total margin be in use at any instant. For example, you can use only 50% of account; with 50% margin usage the EA risk only 50% of account in worst scenario. Any help as to how to generate this code and include it in my EA at http://www.mql4.com/users/brayt? You can find details of where this idea is applied at http://www.fxpromaker.com/advanced50.html. ANY HELP PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
06.10.2010 16:00 brayt
BarrowBoy:
gbrjnr: I run it on live account on EURUSD H1 only and on a VPS platform 24/7
Action is very thin this week, all my EA's are off.... FWIW -BB- if(DayOfWeek() ==5 && !TradeAtFriday) {//friday CloseAll("All",0); 18.07.2010 10:18 klam2404
gbrjnr: I run it on live account on EURUSD H1 only and on a VPS platform 24/7
Action is very thin this week, all my EA's are off.... FWIW -BB- 07.07.2010 16:18 BarrowBoy
gbrjnr: I run it on live account on EURUSD H1 only and on a VPS platform 24/7
BarrowBoy:
bnbb2004:
Nil, What timeframe and pair have you tested this on? Thx for sharing! GL! No idea on the origins but has some promise on the H1 chart of the majors plus EURJPY -BB- So far it's traded 3 wins. Majors + E/J on 1H chart. 07.07.2010 16:16 brayt
bnbb2004: I run it on live account on EURUSD H1 only and on a VPS platform 24/7
BarrowBoy:
bnbb2004:
Nil, What timeframe and pair have you tested this on? Thx for sharing! GL! No idea on the origins but has some promise on the H1 chart of the majors plus EURJPY -BB- So far it's traded 3 wins. Majors + E/J on 1H chart. 07.07.2010 16:16 brayt
No idea on the origins but has some promise on the H1 chart of the majors plus EURJPY After some thought I'd leave off GBPUSD and NZDUSD from the list, IIRC they have too different a 'wave action' for this So the list would be on the hourly chart for EURUSD, USDJPY, USDCHF, AUDUSD, EURJPY And as always, lets be careful in the Forex -BB- 04.07.2010 12:27 BarrowBoy
I've had some posts asking about the detail of this EA Re Code Logic ((Open[t1]-Open[t2]) > Real.delta_S * Point)) t1 and t2 are numbers set at the top of the EA So the EA is looking at the Open price t1 candles ago and comparing it to the Open price t2 candles ago The Real.xxxxxxx values are set by the function HandleDigits() to automatically handle full or sub-pip pairs/accounts The values for TakeProfit & StopLoss have been generated by back-testing, so the values may need changing from time to time Certainly the EA needs a certain minimum average daily range (iATR indicator) to work well 02.07.2010 17:51 BarrowBoy
BarrowBoy:
bnbb2004:
Nil, What timeframe and pair have you tested this on? Thx for sharing! GL! No idea on the origins but has some promise on the H1 chart of the majors plus EURJPY -BB- So far it's traded 3 wins. Majors + E/J on 1H chart. 02.07.2010 00:25 bnbb2004
bnbb2004:
Nil, What timeframe and pair have you tested this on? Thx for sharing! GL! No idea on the origins but has some promise on the H1 chart of the majors plus EURJPY -BB- |