View Single Post
  #10 (permalink)  
Old 07-22-2006, 10:34 PM
Alex.Piech.FinGeR's Avatar
Alex.Piech.FinGeR Alex.Piech.FinGeR is offline
Senior Member
 
Join Date: Oct 2005
Location: Germany
Posts: 305
Alex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud of
Quote:
Originally Posted by mico
Hello I am new to this programming thing and I do not know anything. I know how to trade but not how to program.
I would like help in writing an EA for this system:

- Use the 15 minute chart for the currency of your choice.
- Find the High and Low for the 8:30 - 9:00 (EST) time frame
- Then buy if price goes 4 pips above the high OR sell if price goes 4 pips below the low
- Do only one trade.
- Do not buy and sell ( either Buy or sell but not both).
- Buy or Sell whichever comes first.
- Do not trade if one of the bars in the specified time frame ( 8:30- 9:00) is over 50 pips.
- Manually adjusting the Stop Loss, Trailing stop and Profit limit.

Thanks,
Mico
try EA

use BUYSTOP and SELLSTOP but if ASK and BID - HIGH and LOW < 5 PIPS = direct BUY and SELL ORDER

Parameters:

OffSetHour = 6
//Displacement of hours : default ALPARI BROKER TIME 6 Hours

HourOpenPos = 9;
//09:00 EST from 9 o'clock
HourDeletePos = 23
//Close pending Orders 23:00 EST
HourClosePos = 23
//Close BUY and SELL Orders 23:00 EST


regards
Alex
Attached Files
File Type: mq4 e 02-07-2006.mq4 (10.5 KB, 40 views)

Last edited by Alex.Piech.FinGeR; 07-22-2006 at 10:52 PM.
Reply With Quote