beluck,
On what timeframe should we attach the expert to?
thanks
It works on any timeframe below daily.
I looked now at logic and can say that it is as follows:
- at 8:00 (checkhour) determine HH and LL for the current day (0:00-8:00);
- determine average range H-L for the last 7 days (days2check);
- open buy order at HH+avgrange/2 or sell order at LL-avgrange/2 (offsetK=2);
- profit is avgrange/2 (profitK=2), stop is avgrange/2 (lossK=2).
But it seems that there is one mistake in the code in closing orders and so far I'll be not fixing it, let's see how it goes (maybe this mistake made it profitable ).
Interesting expert. It has good backtest on eurusd.
I found it on viac.ru forum and made few minor modifications.
Forward testing required![](https://c.mql5.com/forextsd/smiles/cash.png)
What are the system rules this EA is performing?
- open buy order at HH+avgrange/2 or sell order at LL-avgrange/2 (offsetK=2);
What determines short or long? Using the logic above, does the EA simply set 2 limit orders (both short and long) and when one is taken, the other is cancelled?
What determines short or long? Using the logic above, does the EA simply set 2 limit orders (both short and long) and when one is taken, the other is cancelled?
no, it openes market order when price crosses one of the levels
Am also looking for a horizontal line order EA called TS. It places kind of straddle pendings(buy/sell) which you can move up and down the chart.
Please can any one help?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Interesting expert. It has good backtest on eurusd.
I found it on viac.ru forum and made few minor modifications.
Forward testing required![](https://c.mql5.com/forextsd/smiles/cash.png)