- Search Metals Mine
- 59 Results
- ecntrader replied Sep 13, 2011
Use this function: int getOpenOrders(){ int liOrders = 0; for (int i = 0; i < OrdersTotal(); i++){ if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES) == false){ continue; } if (OrderSymbol() != Symbol() || OrderMagicNumber() != MagicNumber){ continue; } ...
- ecntrader replied Aug 7, 2011
I'm short @ 1.4274.
- ecntrader replied Aug 7, 2011
What institutional feed do you use?
- ecntrader replied Aug 2, 2011
I modified CurTime() to TimeCurrent(). Anyway, the code did not solved my problem. I even tried to put OrderExpiration() in the OrderModify() and did not worked. I also tried to add a second OrderModify() only for expiration, with the previous SL ...
- ecntrader replied Aug 2, 2011
My broker supports expiration. If I set the expiration without SL and TP works, but if I put SL, TP and expiration in the same line then it doesn't I don't know why...the expiration is set for 24 hours. expiration=CurTime()+PERIOD_D1*60;
- ecntrader replied Jul 31, 2011
TP hit. 20 pips
- ecntrader replied Jul 31, 2011
2 / fxopen
- ecntrader replied Jul 31, 2011
77.25 on XE
- ecntrader replied Jul 31, 2011
77.08. I need 77.60 for my TP!
- ecntrader replied Jul 27, 2011
No need to cover the lot size...20 lots/trade = 40
- ecntrader replied Jul 26, 2011
You are right!
- ecntrader replied Jul 26, 2011
Will look into it. Thanks for all your help
- ecntrader replied Jul 26, 2011
It returns 1 in "nNew Bar: "+New_Bar() but the if condition is not triggered. I don't know why....
- ecntrader replied Jul 26, 2011
Okay. Thanks.
- ecntrader replied Jul 25, 2011
Okay. Thanks for your help. Will try to modify it.
- ecntrader replied Jul 25, 2011
Added that line, but no luck. Everything is showing, even when a new bar is formed. But when there all 3 bars are up or down, the alert is not triggered.
- ecntrader replied Jul 25, 2011
Here is what I have done so far. Why the Alerts don't trigger? Moved to lower TF to check when a new bar is formed. Any further help?
- ecntrader replied Jun 28, 2011
Thanks, will try to work on it.
- ecntrader replied Jun 28, 2011
I got it working but it will only write ticks each minute. How can I do it to work for each second? See attached.
- ecntrader replied Aug 31, 2010
You can use CUDA if you can write your own Strategy Tester