|
The expert advisor for work after trading news for Metatrader has been written for simplification of work of the trader to the period an output of the important news. In fact after an output of news the market begins strong movement. Sometimes so strong, that manually simply physically it is impossible to make anything. For this purpose the advisor sets stop orders in advance from fixed distance from current price. The advisor will work well on any currency pair. After we get news will works one of two orders and at movement of the price in the necessary direction will work trailing stop to protect profit. The stayed (second) order will be deleted. If during certain time, after an output of news, the order have not worked, both order will deleted. Also there is an opportunity to use intellectual trailing stop. Specially for Payrols news the advisor sets four stop orders - 2 on small distance and 2 on big. Big distance orders has been sets in advace and before trade news, stays from price on fixed distance. At the help of this technology the author of the advisor increase the deposit in 2-3 times after output Payrols! And it not one month of laborious work. The news advisor will set orders at a time even without you. | NewsTrader |
Parameters - Shour1(14) - hour to set small order;
- Sminute1(29) - minute to set small order;
- Shour2(14) - hour to set big order;
- Sminute2(20) - minute to set big order;
- Sday(0) - day of month to set orders, if =0 then set orders every day;
- SetMin(1) - maximum time to set orders, in min.;
- Dist(1) - maximum error in suport price chanel for big orders in pips;
- TotalOrd(1) - if equal 1 - set 2 orders, if equal 2 - set 4 orders;
- OrdLife1(2) - life time small orders in min.;
- OrdLife2(30) - life time big orders in min;
- Range1(15) - distance in pips from current price for small orders;
- Range2(50) - distance in pips from current price for big orders;
- Stop1(15) - stoploss for small orders;
- Stop2(30) -stoploss for big orders;
- Profit1(120) - take profit for small orders;
- Profit2(100) - take profit for big orders;
- Lots1(0.1) - how many lots for small orders;
- Lots2(0.1) - how many lots for big orders;
- AutoTS(1) - if AutoTS=1, then we use intellectual trailing stop. If AutoTS=0 and Trailing stop=0 - trailing is off. If Trailing stop<>0, then will work standard trailing stop.;
- Patr(9) - period of ATR for calculating intellectual trailing stop;
- kts(4) - number, which define how close trailing will be at price. The smaller value - the closest to the price. Recommended value are: (1.5-4);
- Pslow(54), n1slow(9),n2slow(49) - periods for calculating long time trend;
- Pfast(9), n1fast(9),n2fast(49) - periods for calculating short time trend;
- Slippage(5) - number of slippage;
|