fulltilt
fulltilt
fulltilt
Added topic problem w/ delete condition
   for ( int i= 0 ; i< OrdersTotal (); i++)      {    OrderSelect (i,SELECT_BY_POS,MODE_TRADES);        if ( Symbol ()==OrderSymbol() && OrderMagicNumber()==MagicNumber
fulltilt
Added topic how to find out whether the last 2 orders were closed by signal
I need to find out whether the last two orders were closed by signal OrderClose() there are 3 or 4 magicnumbers and therefore it is enough if it is filtered by symbol only how can I find out whether the last two orders were closed with OrderClose()
fulltilt
Added topic how to use MA as breakeven?
how to use MA as  breakeven
fulltilt
Added topic problem w/ ext. indicator signal condition
can someone help to fix this signal condition? it did not open any order double upsign= iCustom ( NULL , 0 , "Fratelli_BB_MACD_V1" , 12 , 26 , 10 , 2.5 , 0 , 0 ); //up=buffer 0 double dnsign= iCustom ( NULL , 0 , "Fratelli_BB_MACD_V1" , 12 , 26 , 10
fulltilt
Added topic order close function modification
I need a profit order close function for a EA, but this one will close all working orders anyone can help to allow close for symbol and magic only? if ( AccountProfit ()>= My_Money_Profit_Target)    {      for (i=
fulltilt
Added topic magic number - letters allowed?
is it possible to add symbol letters into magic? fex: int MagicNumber = Symbol()12345;
fulltilt
Added topic new order only if bar is not older than 10 minutes
I want to prevent my EA from open new order if bar is older than 10 min ... is there a simple function i can use which returns 0 if bar is older than 10 min
fulltilt
Added topic problem with month - day condition
i should stop trading between dec15 and jan15, but in BT nothing gets blocked ... what is wrong? if ( Month ()== 12 && Day()>= 15 || Month ()== 1 && Day()<= 15 ) return ( 0 );
fulltilt
Added topic how to allow 1 trade per day only
how to allow 1 trade per day only
fulltilt
Added topic deleting all pending if found one working order
all pending orders should be deleted if an active order is available ... what I 'm doing wrong ? for (pos = OrdersTotal ()- 1 ; pos >= 0 ; pos--) if ( OrderSelect (pos, SELECT_BY_POS) &&   OrderMagicNumber ()  == Magic
fulltilt
Added topic condition problem w/ tsd newsfilter
I would like to change following conditions so that it start trading instead of stop trading ... it should only start trading 5 min after high impact, can anyone help? fex. if NewsRatings[i] == 3 && TimeCurrent () <= AfterNews return ( 0
fulltilt
Added topic possible to get data signals from mysql over php auth file
is it possible to receive signals from mysql database using php auth file? I'm looking for information about storing trades into mysql and provide as trading signals
fulltilt
Added topic check buy or sell action from 2 symbols
how to check buy or sell action from 2 symbols w/ one EA (chart)? fex. if eurusd = sell && gbpusd = buy if ( OrderType ()>OP_SELL && OrderSymbol ()==EURUSD)
fulltilt
Added topic DayOfWeek() Alternative?
is there a alternative i can use instead of DayOfWeek()? i have problems in backtesting with condition: if (DayOfWeek() ==5) because gmt and dst shift, i need a condition to open exactly every friday at 23:58 ... is it possible to use the day of week
fulltilt
Added topic do not trade if spread is higher as max spread?
is this working? extern double MaxSpread = 5.0 ; Spread = (Ask-Bid)* 10000 ; if (Spread >= MaxSpread) { return ( 0 );}
fulltilt
Added topic how to backtest timebased EA
how to make backtest possible for this code? if (DayOfWeek()== 5 && Hour () == EntryHour && Minute ()>=EntryMinute)         {
fulltilt
Added topic how to open pending order at 23:58
how to open a pending order at 23:58h ? i have tested w/ following but did not work: int start()   { int      OpenTradeTime = 2358 ; int      MinutesToWaitForTick = 1 ; int ct, EndTradeTime; ct = Hour
fulltilt
Added topic time based OrderClose Problem
I have problems w/ OrderClose function ... can someone help please? the order should be closed on Monday at 00:01 OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES); if((DayOfWeek()==1) && (Minute()>=1) ) { if (OrderType()==OP_SELL) {
12