At the moment we do not want to use this functions..Ploples » Mon Jun 16, 2014 12:09 pm wrote:Do it is possible to add RSS FEED support to forum?
I moved your post here as this is the right topic..
Cheers
Tommaso
At the moment we do not want to use this functions..Ploples » Mon Jun 16, 2014 12:09 pm wrote:Do it is possible to add RSS FEED support to forum?
Okay I modified the board coding, now the user can select in the UCP/Board Preferences/Edit display options how much posts she/he wants to see per page, look the attached imagine how to do it.. CheersLeon » Tue Jun 17, 2014 11:43 am wrote:Would it be possible to set the number of shown posts per page?
The default 10 posts per page is too few.
I would prefer 40 or even more posts per page.
Is it possible?
Code: Select all
void CloseFriday(string strSymbol,int nMagic)
{
int ticket=-1;
if((DayOfWeek()==5) && (TimeHour(TimeCurrent())>=FridayCloseHour) && (TimeMinute(TimeCurrent())>=FridayCloseMinute))
{
for(int i=OrdersTotal()-1; i>=0; i--)
{
if(!OrderSelect(i,SELECT_BY_POS)) continue;
if(OrderMagicNumber()!=nMagic) continue;
if(OrderSymbol()!=strSymbol) continue;
if(OrderType()==OP_BUY)
{
ticket=OrderTicket();
if(AllowedSpread(strSymbol)==true)
{
while(IsTradeContextBusy()) Sleep(100);
Alert("CloseFriday:Attempting to close ",strSymbol);
Print("CloseFriday:Attempting to close ",strSymbol);
if(OrderClose(ticket,OrderLots(),Bid,slippage,Red))
{
Alert("CloseFriday:Close ",strSymbol," Succeeded !");
Print("CloseFriday:Close ",strSymbol," Succeeded !");
}
else
{
Alert("CloseFriday:Close ",strSymbol," Failed !");
Print("CloseFriday:Close ",strSymbol," Failed !");
}
}
}
if(OrderType()==OP_SELL)
{
ticket=OrderTicket();
if(AllowedSpread(strSymbol)==true)
{
while(IsTradeContextBusy()) Sleep(100);
Alert("CloseFriday:Attempting to close ",strSymbol);
Print("CloseFriday:Attempting to close ",strSymbol);
if(OrderClose(ticket,OrderLots(),Ask,slippage,Red))
{
Alert("CloseFriday:Close ",strSymbol," Succeeded !");
Print("CloseFriday:Close ",strSymbol," Succeeded !");
}
else
{
Alert("CloseFriday:Close ",strSymbol," Failed !");
Print("CloseFriday:Close ",strSymbol," Failed !");
}
}
}
}
}
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
I did move your post here, as this is the right place.oldfella » Tue Oct 13, 2015 3:34 pm wrote:Hi Tommaso,
I know that this is not the correct place to ask this but have no idea where or who I should contact.
Since downloading Windows 10. The automatic logon does not work and I have to enter "username and password" every single time.
Is this a problem caused by Windows 10 or is it something to do with this forum.
Would be grateful of any assistance and advice you can give.
Kind regards
Oldfella
Log me on automatically each visit
this should resolve the problem...check your cookie settings, or try firefox as browser..oldfella » Wed Oct 14, 2015 9:02 am wrote:Hi Tommaso,
Thanks for the reply, but I have to do what you have suggested in your reply as below, every time I need to login.
" T his has probably to do with your update to Windows10, make sure that you check Log me on automatically each visit this should resolve the problem
Regards Oldfella