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