Dominic Gilbert
Dominic Gilbert
  • Information
9+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Friends

Add friends via their profile or user search and you will be able to see if they are online

Dominic Gilbert
Added topic Close out % lot if H1 closes above/below 21 EMA?
Hey all, Very straight forward what I am looking for All I want is a script to monitor a position on the given market at hand and to then close out a percent of the overall lot value of my choice (e.g. lots open 0.50 - close out 50% = 0.25 left open)
Dominic Gilbert
Added topic Easiest way to halt trading on stop loss being hit?
So I know when a stop loss was hit: what's the easiest way to halt trading for 1 hour when I know this?  I.e. OnTick fails on an equality statement every time for 1 hour after I discover a stop loss was hit? cheers 
Dominic Gilbert
Added topic IsNewBar() - specific time instead?
Can I change this: //+------------------------------------------------------------------+   //| Ensuring its a new candle
Dominic Gilbert
Added topic FXCM - Tick Value is wrong - compromise?
So I have touched on this before briefly in a fairly old thread but I am not wanting to come up with an efficient solution to this issue. The programmers at FXCM have emailed me saying that I need to use: Print ( " -- Tick Size is: "
Dominic Gilbert
Added topic Risk - Not factoring in Denominated Account?
So, I just wanted another set of eyes on this because as far as I am aware, in my risk (lot) calculation's, all I am calculating is what the pip value is in the term currency and not in my deposit currency?  Therefore, depending on the market I
Dominic Gilbert
Added topic Move comment box into top right?
I'm guessing I do not use "Comment" but something else? What's the easiest way just to put a Comment in the top right hand corner of chart?  Cheers! 
Dominic Gilbert
Added topic error 141 - ERR_TOO_MANY_REQUESTS
     if ( OpenOrdersThisPair( Symbol ()) == 0 && LotSize_Buy >= minlot )          {          BuyTicketOrder1 = OrderSend ( Symbol
Dominic Gilbert
Added topic zero divide error on demo testing but not ST?
//+------------------------------------------------------------------+ //| Order Entry function - Buy or Sell (pending orders)              |
Dominic Gilbert
Added topic 2D Optimization - How to read it?
Forgive me for asking what may turn out (based upon the answer I receive) to be a stupid question, but what additional value am I gaining from the 2D optimization screen vs scatter graph? What am I "looking" for when using the 2D optimization. What
Dominic Gilbert
Added topic "String" in "Enum"? Is this allowed?
I am wanting to have a drop-down box on the parameter window of my EA that correspond to a string variable within OnInit() // --- Global --- enum Bias         {None = "None" , H4_up = "H1 is up" }; extern
Dominic Gilbert
Added topic iCustom() - How to use it?
So I am wanting to incorporate ADR into my algorithm and have picked up a public indicator rather than spending time writing it myself. Does the trick for what I am after. //+------------------------------------------------------------------+
Dominic Gilbert
Added topic Wait "x" number of bars before calling function "y"
I can't remember how to do this, but this snippet of code here: ...         if ( H1_close > ema60 && ema21 >= H1_low )             {
Dominic Gilbert
Added topic OnInit() - Check historical Bias?
When I drop an updated EA onto the given chart, it has no way of determining a bias from the historical price action. Instead, it will have to then wait for a bias to form off of the new price action.  I am wanting to get the bias on
Dominic Gilbert
Added topic Back-test slow due to 100,000+ trades...
Once an initial trade is placed, if the new stop price is > old stop price, the pending order will delete and the new "calibrated" order (stop, lots and targets) is then placed.... Problem is, We're talking 100k+ as each trade setup may
Dominic Gilbert
Added topic enum or switch? - switching orders for closing?
//--- global --- enum SelectTicket   {Order1= 0 ,Order2= 1 ,Order3= 2 ,Order4= 3 }; extern SelectTicket SelectOrder = Order4; How do I translate the above to correspond to the right TicketOrder()? I am wanting to be able to change the
Dominic Gilbert
Added topic Storing average spread per trade taken?
I'm just looking for ideas on how people already do, or think might be a good idea in tracking what my average spread has been per trade on each market? Is there a way to "print" the spread per open and closed trade in the comments box (comment box
Dominic Gilbert
Added topic Yes or No "switch"?
Whats the simplest way of using an extern string "Yes" or "No" to activate or deactivate a void function
Dominic Gilbert
Added topic Back-test slow - Will this speed it up?
Now, first off, I regard myself as being marginally higher than a novice in MQL4. So that means my knowledge stretches as far as to say that I appreciate the fact that the speed in which the back-test runs is based upon a few variables. I.e
Dominic Gilbert
Added topic OrderModify failed 0 (using Market Orders for backtesting = quicker)
//+------------------------------------------------------------------+ //| Expert tick
Dominic Gilbert
Added topic Selecting last history OP_BUY or OP_SELL - Did it hit stop?
//+------------------------------------------------------------------+ //| Check History to see if trade hit