Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
I never post before in this forum, just catching up reading and learning, great forum by the way!. I have a question, does anybody know of a software that will make putting your orders faster than the one provided by metatrader, I mean a front end program like "autotrader", "bracket trader", but just for metatrader, or may be there is an EA that does that?
Thanks!
Guys i have an Hedge EA but i don't understand why it's always closed all open position when the target profit even that position is opened by another EA. Can somebody help me to give magic number to make this EA work well? So with the magic number the EA only closed the postion that opened by itself. Hope there is someone around here can help me....
Well i there is another people help me with this EA it gives magic number but now the problem is this EA only Open one position on second pair only that is USDCHF. I don't know why it doesn't open position on the first pair EURUSD?
Can somebody help me? Here's the script...
double Ilo1=0, Ilo2=0;
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
//init global variables
if (!GlobalVariableCheck("_CanClose")) {
GlobalVariableSet("_CanClose",0);
}
//if (!GlobalVariableCheck("_CanSet")) {
//GlobalVariableSet("_CanSet",0);
//}
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
Ilo1=Lot1; Ilo2=Lot2;
if (UseMM) {
Ilo1=TradeLot(AccountBalance());
Ilo2=TradeLot(AccountBalance());
}
//----
double Commissions=0;
if (Operation1=="buy" || Operation1=="BUY") OP1=OP_BUY;
if (Operation2=="buy" || Operation2=="BUY") OP2=OP_BUY;
if (Operation1=="sell" || Operation1=="SELL") OP1=OP_SELL;
if (Operation2=="sell" || Operation2=="SELL") OP2=OP_SELL;
void CloseAll() {
int _total=OrdersTotal(); // number of orders
int _ordertype;// order type
if (_total==0) {return;}
int _ticket; // ticket number
double _priceClose;// price to close orders;
//Closing all opened positions
if (GlobalVariableGet("_CanClose")==1) {
for(int _i=_total-1;_i>=0;_i--)
{
if (OrderSelect(_i,SELECT_BY_POS))
{
_ordertype=OrderType();
_ticket=OrderTicket();
switch(_ordertype)
{
case 0:
// close buy
_priceClose=MarketInfo(OrderSymbol(),MODE_BID);
Print("Close on ",_i," position order with ticket ¹",_ticket);
OrderClose(_ticket,OrderLots(),_priceClose,0,Red);
break;
case 1:
// close sell
_priceClose=MarketInfo(OrderSymbol(),MODE_ASK);
Print("Close on ",_i," position order with ticket ¹",_ticket);
OrderClose(_ticket,OrderLots(),_priceClose,0,Red);
break;
default:
// values from 1 to 5, deleting pending orders
Print("Delete on ",_i," position order with ticket ¹",_ticket);
OrderDelete(_ticket);
break;
}
}
}
if (CntOrd(OP1,0,Sym1)==0) {
if (OP1==OP_BUY) OpenPrice=MarketInfo(Sym1,MODE_ASK);
if (OP1==OP_SELL) OpenPrice=MarketInfo(Sym1,MODE_BID);
OrderSend(Sym1,OP1,Ilo1,OpenPrice,0,0,0,"HT",Magic Number,0,Red);
//return;
}
if (CntOrd(OP2,0,Sym2)==0) {
if (OP2==OP_BUY) OpenPrice=MarketInfo(Sym2,MODE_ASK);
if (OP2==OP_SELL) OpenPrice=MarketInfo(Sym2,MODE_BID);
OrderSend(Sym2,OP2,Ilo2,OpenPrice,0,0,0,"HT",Magic Number,0,Green);
//return;
}
}
int CntOrd(int Type, int Magic, string Symb) {
//return number of orders with specific parameters
int _CntOrd;
_CntOrd=0;
for(int i=0;i<OrdersTotal();i++)
{
OrderSelect(i, SELECT_BY_POS, MODE_TRADES);
if (OrderSymbol()==Symb) {
if ( (OrderType()==Type && (OrderMagicNumber()==Magic) || Magic==0)) _CntOrd++;
}
}
return(_CntOrd);
}
Hi guys,
The "BuySellCloseModify + BasketTrades [Script]" can quickly Open, Modify, or Close any number of Buy/Sell order(s). It also has Money Management, Hedging, and Basket Trade options. I know it's loaded with options but I needed something that had all the trading options I required at any given moment...
__________________ Pipping ain't easy but someone's got to do it!
Take the High (buy stop script) or the low (Sell Stop Script) of the previous candle.
Buy Stop script
When the price breaks to the high side 3 pips above the trigger candle's high a stop is placed 5 pips below the low of the same candle. Now this is the previous candle
Sell Stop Script
When the price breaks to the low side 3 pips below the trigger candles low a stop is placed 5 pips above the high of the same candle. now this is the previous candle
In the picture this is an exampl of a buys stop
a buy stop would be place at 119.23
with a S/L of 118.73 with is the candles low -5
Code mq4 who help me for application.... percentEquitytrailing
who help me ! I would an ea that closes all trades open
whit percentEquitytrailing 0,40 % in my account.
The trades are put manually ! Is it possible ? thank you !
who help me ! I would an ea that closes all trades open
whit percentEquitytrailing 0,40 % in my account.
The trades are put manually ! Is it possible ? thank you !
Try e-CloseByPercentProfit.mq4. It's on current thread.