- Search Forex Factory
- 43 Results (2 Threads , 41 Replies )
- RickD replied Oct 27, 2012
I use TFOT within 2 years and very happy with this forex robot. My personal recommendations.
- RickD replied Oct 19, 2011
1) You can compare initial lot with actual lot size of orders. If actual lot size is less than initial lot then partial close was applied so you need to skip PartialClose function. 2) It would be better for you to change the conception. Just open ...
- RickD replied Oct 5, 2011
If you close half of lot then the rest is another 50% of closed lot. Please specify your question.
- RickD replied Sep 30, 2009
I think that BJF divergence conception showing great promise.
- RickD replied Apr 10, 2009
Hi, MetaTrader supports DDE protocol to export MetaTrader data real-time. There is DDE-Sample.xls file in MetaTrader root folder.
- RickD replied Oct 28, 2008
Right, use OrdersCount function from the first page of the topic. int orders = OrdersCount(OP_BUY); if (orders == 0) Buy(... You can modify OrdersCount function to pass the symbol as param: int OrdersCount(string symbol, int type) { ... }
- RickD replied Mar 24, 2008
Hi, Select the last order and don't trade some time. int MinTimeSec = 60; //no trade 60 seconds after last close int Magic = ... void start() { ... if (LastOrderSelect(MODE_HISTORY, OP_BUY, OP_SELL)) { if (TimeCurrent() - OrderCloseTime() < ...
- RickD replied Jan 24, 2008
I suggest to use the following function: extern double Lots = 0.1; extern double MinLot = 0.1; extern double MaxLot = 5.0; extern int LotPrec = 1; extern bool DynamicLot = false; extern double LotStep = 0.1; extern double BalanceStep = 500; double ...
- RickD replied Jun 17, 2007
There is alternative solution... Distance trading: Multitrade-Fx image
- RickD replied Jun 17, 2007
It seems there is no way to change the settings of an individual level. void SetLevelStyle( int draw_style, int line_width, color clr=CLR_NONE) The function sets a new style, width and color of horizontal levels of indicator to be output in a ...
- RickD replied Jun 17, 2007
It seems there is no way to change the settings of an individual level. void SetLevelStyle( int draw_style, int line_width, color clr=CLR_NONE) The function sets a new style, width and color of horizontal levels of indicator to be output in a ...
- RickD replied Jun 17, 2007
MQL4 Guide How to close all market orders etc.
- RickD replied Jun 17, 2007
int BuyCnt = 0; int SellCnt = 0; int BuyStopCnt = 0; int SellStopCnt = 0; int BuyLimitCnt = 0; int SellLimitCnt = 0; int cnt = OrdersTotal(); for (int i=0; i < cnt; i++) { if (!OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) continue; //if ...
- RickD replied Jun 17, 2007
Use iBarShift function to map a bar into desired timeframe.
- RickD replied Jun 17, 2007
You need interprocess communication software. BrokerB -> Interprocess Agent -> BrokerA Them most simple way is to use the files for interprocess communications.
- RickD replied Jun 17, 2007
i-OneThird i-OneThird indicator highlights bullish and bearish candles in HeikenAshi style. The difference between the high and low of a candle divides into three parts each one corresponding 1/3 of the candle. The indicator calculates where the ...
- RickD replied Jun 7, 2007
You can use the following approach: if (ObjectFind(...) == -1) ObjectCreate(...);
- RickD replied Jun 6, 2007
bool CreateVertLine(string name, datetime tm) { bool bRet = ObjectCreate(name, OBJ_VLINE, 0, tm, 0); if (!bRet) { Print("Can't create vertical line! code #", GetLastError()); return (false); } return (true); }
- RickD replied Jun 6, 2007
i-HighLow i-HighLow indicator draws the channel with borders correspond to highest high and lowest low values of the bar's shadows for the last N bars. Indicators' parameters are: extern int N = 20; - searching of highest/lowest bars for the last 20 ...
- RickD presents
i-Breakeven This indicator collects and groups information on open positions. It is useful for ...