bocaciblon
Freshie
- Messages
- 2
- Joined
- Sep 3, 2009
- Messages
- 2
- Reaction score
- 0
- Points
- 3
thanks aiman.
what u give u will get back..
what u give u will get back..
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

http://www.4shared.com/file/_diRLBfZ/manual_martingale.html
Ini expert kalau 1 pos close sama ada kena TP ataupun manual close, EA akan close semua pos termasuk PO. Tapi kalau delete PO, ea tak buat apa2.
Code://+------------------------------------------------------------------+ //| close 1 close all.mq4 | //| Copyright © 2010, Aiman | //| Aiman | //+------------------------------------------------------------------+ #property copyright "Copyright © 2010, Aiman" #property link "Aiman" int myOpenPost; //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { //---- if (totalOrder(true)<myOpenPost) closeALL(); myOpenPost= totalOrder(true); return (0); } int totalOrder (bool active) { int count; for (int i=0; i<OrdersTotal(); i++) { OrderSelect(i, SELECT_BY_POS, MODE_TRADES); if ( (OrderSymbol()!=Symbol() || OrderType()>1) && active) continue; if ( OrderSymbol()!=Symbol() && !active) continue; count++; } return (count); } void closeALL () { int type; while(totalOrder(false)>0) { for(int i=OrdersTotal()-1; i>=0; i--) { OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if (OrderSymbol()!=Symbol()) continue; type = OrderType(); switch(type) { case OP_BUY : OrderClose(OrderTicket(),OrderLots(),Bid,0,CLR_NONE); break; case OP_SELL : OrderClose(OrderTicket(),OrderLots(),Ask,0,CLR_NONE); break; case OP_BUYLIMIT : case OP_BUYSTOP : case OP_SELLLIMIT : case OP_SELLSTOP : OrderDelete(OrderTicket());break; default : break; } } } }

memang best EA ni..bro aiman,xbleh ke masukkan coding yg auto adjust TP sama dgn last layer(yg masuk post) dlm EA ni pastu bru close all..sory byk req..:">:">

memang best EA ni..bro aiman,xbleh ke masukkan coding yg auto adjust TP sama dgn last layer(yg masuk post) dlm EA ni pastu bru close all..sory byk req..:">:">
Kalau run EA ni tak perlu adjust TP. 1 TP je hit, atau pun SL hit, mana2 hit dulu, EA akan tutup semua. Kalau nak adjust semua kasi sama boleh pakai script adjust tp kat page sebelah2. Guna BE calculator untuk tenguk pips to BE, set target lebih sikit, kalau set kurang nanti dapat -ve profit. Rasanya complete tools dah ada kat sini.
