@MathTrader, you write in Post #1 "End Hour must be LOWER than Start Hour, otherwise the EA won't take any trade!". I guess you mean HIGHER, not lower...
Martingale, Anti-martingale, and Compounding 40 replies
Martingale, Reverse Martingale, Modified Martingale, Maths 1 reply
Martingale Calculation EA (also reverse martingale) 3 replies
How to change this Martingale to Reverse Martingale ? 3 replies
Martingale vs. Non Martingale (Simplified RoR vs Profit) 1 reply
DislikedVersion 1.93 of the EA released (I updated Post 1). - An input parameter is added to let the user set a delay between Martingale orders. - Bug fixes.Ignored
Disliked{quote} i think you set the tp in money too high, looking at the pic, the 7th order should close the cycle in profit. and dont use the ea in cross-pairs, use only in major pairs.Ignored
Disliked@MathTrader, you write in Post #1 "End Hour must be LOWER than Start Hour, otherwise the EA won't take any trade!". I guess you mean HIGHER, not lower...Ignored
DislikedVersion 1.92 of the EA released (I updated Post 1). - Dynamic grid size based on daily ATR added. - Bug fixes.Ignored
Disliked{quote} Will it possible to turn the "Dynamic grid size" off in future version using one of the preset parameters? As I mentioned elsewhere - it's not really a good strategy and my tests yesterday proved it again - static grid distance works bestIgnored
Disliked{quote} set the Daily ATR Period to zero and it will be disabled.Ignored
//+--------------------------------------------------------------------------------+ //| ********** f_Point() ********** //| //| Returns correct Point multiplier depending on Broker Digits //+--------------------------------------------------------------------------------+ double f_Point() { if(Point==0.00001) return 0.0001; else if(Point==0.001) return 0.01; else return Point; } //+------------------------------------------------------------------+ //| fm_ScanTicketRange() //+------------------------------------------------------------------+ void fm_ScanTicketRange(int _magic, int _ticket1, int _ticket2, int _order_type, double &_total_lots, double &_total_pips, double &_total_profit, double &_breakeven_price) { _total_lots=0; _total_pips=0; _total_profit=0; _breakeven_price=0; if(_ticket1==0 || _ticket2==0 || _order_type<OP_BUY || _order_type>OP_SELL) return; //--- First Pass (calculate lot size total for all open orders) for(int _apos1=0;_apos1<OrdersTotal();_apos1++) { if(OrderSelect(_apos1,SELECT_BY_POS,MODE_TRADES)==true) { if(OrderSymbol()==Symbol() && OrderMagicNumber()==_magic && OrderType()==_order_type && OrderTicket()>=_ticket1 && OrderTicket()<=_ticket2) _total_lots=_total_lots+OrderLots(); } } //--- Second Pass for(int _apos2=0;_apos2<OrdersTotal();_apos2++) { if(OrderSelect(_apos2,SELECT_BY_POS,MODE_TRADES)==true) { if(OrderSymbol()==Symbol() && OrderMagicNumber()==_magic && OrderType()==_order_type && OrderTicket()>=_ticket1 && OrderTicket()<=_ticket2) { _total_profit=_total_profit+OrderProfit()+OrderSwap()+OrderCommission(); if(_total_lots>0) _breakeven_price=_breakeven_price+((OrderLots()/_total_lots)*OrderOpenPrice()); if(OrderType()==OP_BUY) _total_pips=_total_pips+((OrderClosePrice()-OrderOpenPrice())/f_Point()); else if(OrderType()==OP_SELL) _total_pips=_total_pips+((OrderOpenPrice()-OrderClosePrice())/f_Point()); } } } _total_lots=NormalizeDouble(_total_lots,2); _total_pips=NormalizeDouble(_total_pips,1); _total_profit=NormalizeDouble(_total_profit,2); _breakeven_price=NormalizeDouble(_breakeven_price,Digits); return; }
DislikedVersion 1.93 of the EA released (I updated Post 1). - An input parameter is added to let the user set a delay between Martingale orders. - Bug fixes.Ignored
DislikedHi MathTrader, first of all I want to thank you for your work and for spending this EA to us !!! I am looking to this EA since yesterday and of course there are many questions The first one was just answered (EndHour LOWER StartHour). Another one is: What happens when EndHour is reached? Will open tredes be closed? Introduncing your EA with Post 1 and update Post 1 when changes are done is a very good idea. The problem for people like me who entered later is, that the changes made are written in the thread and not at Post 1. The options in the...Ignored
Disliked{quote} Hi Gugun555, Tp was set to 5.0. A very low value. You are right regarding cross-pairs... It was only an experiment where I wanted to know how easy was to reach the martingala orders limit. Thanks for your advices! RegardsIgnored