Hi!
Can someone code the following:
Buy on break of previous day's high. User defined TP and SL.
Sell on break of previous day's low. User defined TP and SL.
Optionals:
1. We can have a small filter which can be added to previous day's high.
Example: Buy when price exceeds previous day's high by 5 pips.
2. We can have an instant trailing stoploss.
Pls can someone make an EA out of these very simple rules.
Thanks in advance!
edit: Also, we will have only one trade per day for one side. That is, we will trade only the first time price breaks high/low. It does not matter whether we have profit or loss...but we will trade again if price breaks out to opposite side later during the day (that too only the first break will be traded).
Can someone code the following:
Buy on break of previous day's high. User defined TP and SL.
Sell on break of previous day's low. User defined TP and SL.
Optionals:
1. We can have a small filter which can be added to previous day's high.
Example: Buy when price exceeds previous day's high by 5 pips.
2. We can have an instant trailing stoploss.
Pls can someone make an EA out of these very simple rules.
Thanks in advance!
edit: Also, we will have only one trade per day for one side. That is, we will trade only the first time price breaks high/low. It does not matter whether we have profit or loss...but we will trade again if price breaks out to opposite side later during the day (that too only the first break will be traded).