Join our fan page
- Views:
- 9381
- Rating:
- Published:
- 2010.05.10 08:54
- Updated:
- 2014.04.21 14:54
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The strategy of trade - the breakdown of the maximum / minimum of the selected time period.
To compensate for the unprofitable orders, use the "tumbler" with an increase in the lot on the principle of the Martingale.
This advisor calculates the maximum and minimum prices in the time interval between
TimeStart (start time of the observation period) and
TimeEnd (end time of the observation period)
So you can choose the most optimal for trading period.
Next, in excess of the maximum price of this period, exhibited a warrant to purchase. If the price went below the minimum, then for sale.
Stop loss is exposed on the opposite border of the period.
TP exposed to a level equal to the height of the observation period.
Open orders can be closed at certain times Adviser
TimeCloseOrder (time in which occurs the closing of all orders)
If you set TimeCloseOrde = 0 or less TimeEnd, then the closure orders will only footsteps, excluding TimeCloseOrder.
If the order is closed by the loss, it opens the opposite order with the increased by a factor K_martin lot.
Feet from the new order is placed in such a way as to cover the resulting loss. If the order was closed profit, then the adviser awaits launch of the next period (TimeEnd) and all repeats.
Parameter No_Loss - go to no loss, when a order half of its profits, SL order is transferred to the level of open orders.
An Expert Advisor feels great to brokers with 4 and 5 characters, but will not work in the DC, where barred foot with the discovery orders
Period, a time frame allocated to the price chart.
To succeed under this strategy must be clearly understood when the price can make a "breakthrough." Ie take into account the time-critical news and the opening sessions.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/9658
![3 Simple Scripts](https://c.mql5.com/i/code/script.png)
3 Scripts to simplify scalper operations. The scripts puts new OrderBuy, new OrderSell or CloseAllPositiveOrder.
![Multi function price indicator](https://c.mql5.com/i/code/indicator.png)
Multi function price indicator
![Drop Pending Buy Script](https://c.mql5.com/i/code/script.png)
This script opens a pending buy order by just point and drop the script in the place you want. The script will automatically place a "limit buy order" if you point and drop below actual bid. The script will automatically place a "stop buy order" if you
![Drop Pending Sell Script](https://c.mql5.com/i/code/script.png)
This script opens a pending sell order by just point and drop the script in the place you want.