Ian Venner
Ian Venner
  • Information
10+ 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

Ian Venner
Added topic Simulated live trading
Hey guys I was wondering did anyone code their EA to simulate live trading on the live feed ? I am going to code mine to do that and would appreciate any ideas/input. I figured I would code some functions to simulate the server responses to
Ian Venner
Added topic OrderModify
Anyone got any idea why this happens ? In my EA I test if an order stoploss has been modified like this: if (sl > openprice+ 5 * Point ) if that is true it should mean order was not already modified because the original stop loss was much larger
Ian Venner
Added topic parameters object&array[]
I noticed in ArrayResize() the formal parameters are defined as such: int ArrayResize ( object &array[], int new_size) Is object&array[] a way to allow the passing an array of any type as a refered parameter and why cant I do that in my own
Ian Venner
Added topic MT4 updates and chart history
Is it a fact, that applying mt4 updates wipes out all the chart history ? If it is shouldnt there be some kind of warning about this before the update installs ? I did not update my terminal since late 2009 so I had 3 years continuous 1 minute chart
Ian Venner
Added topic Close half a position
When you close out half of a postion does the rest of it retain the same ticket number and does the closed half of the position make an entry in the history pool showing a closed order with the same ticket number as the other half which is still open
Ian Venner
Added topic Strategy Tester Report Problem
Strategy Tester doesnt seem to be giving correct results in the report, the numbers dont add up for instance this report states there was 100 consecutive wins totaling 107,000 but in the graph you can see it never went anywhere near that level
Ian Venner
Added topic Strategy Tester slowing down during test
I know this topic has been taked about before but I didnt find a difinitive answer, I have been running some 1yr and 18month backtests the first few months are executed speedily but the test slows down considerably after that until at the end of an
Ian Venner
Added topic Should we really discount Martingale?
Everyone says Martingale will blow your account, and I agree under most circumstances it will but, what if the system over a whole year backtest has a maximium 6 consecutive losses and an average of 2, would this not seem to be a good system to apply
Ian Venner
Added topic Problem with accessing other time frames
I created an indicator based on a macd to show the status of the hourly MACD on lower timeframes. So the indicator should show 2 identical bars for each hour when attatched to the 30 minute chart, 4 when attached on the 15 minute chart, 12 when
Ian Venner
Added topic Getting Last Closed Order
total = OrdersHistoryTotal ()- 1 ; if (( OrderSelect (total,SELECT_BY_POS,MODE_HISTORY)==true) && ( OrderSymbol () == Symbol ()))   { Print ( " Last Order Ticket = " , OrderTicket ());   } In previous topics about this, it
Ian Venner
Added topic Invalid buffer index
I have a problem in my EA, strategy tester reports invalid index buffer number error repeatedly throughout the test so I created a simple test EA/Indicator combination to try and find the cause but I still get the same results in tester, I cant see
Ian Venner
Added topic Looking for advice about multiple order management in EA
I'm writing an EA based on a strategy that uses several predetermined levels to open orders, so the EA needs to manage several orders at once and make sure only one order is opened per price bar, per level so if there are 4 levels a maximum of 4
Ian Venner
Added topic bar time problem
I was wondering what might be the best way to identify the open time of the bar the last order from the order history pool closed on. I need to do this so to identify which of the other orders in the history pool were closed on the same bar as the
Ian Venner
Added topic replying to forum posts
Has anyone else noticed an issue when replying to posts in this forum where the cursor dissapears/freezes up ? Or is the problem on my own computer only
Ian Venner
Added topic Does EA reload custom indicator at every start() ?
When an EA uses a custom indicator does it load the indicator into the terminal one time then access it from there to get the latest values, or does it have to reload the indicator to get the latest value at every iteration of start() ? Reason I ask
Ian Venner
Added topic Text problem
I have an issue with my indicator which I dont understand. I have a makelabel function which is supposed to create a text by each bar with a number. the alerts are just for my testing while trying to figure out this error void makelabel( int index) {
Ian Venner
Added topic easy language to mql4
trying to convert some easy language code to mql4, anyone know if AbsValue(Error) in easy language would be the same as mathabs(Error); in mql4
Ian Venner
Added topic Include Files
A few quick questions for experienced programmers about include files, when using .mqh include files, what do you do about variables declared in the main program on global scope ? By that I mean when attempting to compile an include file that
Ian Venner
Added topic actual price where lines intersect
Anyone know if is it possible to get the actual price where two lines intersect as this usually happens in between bars
Ian Venner
Added topic Error in iMAOnArray() LWMA Algorithm
Anyone know why when I use iMAOnArray the lines created change position when I change the length of the chart history to be used ? for instance if I draw lines for chart history of 500 bars the lines reposition if I change the chart history to be