Desmond Wright / Profile
- Information
7+ years
experience
|
3
products
|
313
demo versions
|
0
jobs
|
0
signals
|
0
subscribers
|
Friends
136
Requests
Outgoing
Desmond Wright
Added topic orderclose - bid or ask for buy or sell ?
hi guys what is the correct bid / ask usage when closing buy or sell orders: is the correct ? OrderClose(OrderTicket(),OrderLots(),Bid,slippage,CLR_NONE); ----- buy orders OrderClose(OrderTicket(),OrderLots(),Ask,slippage,CLR_NONE); ----- sell orders
Desmond Wright
Added topic limitation on comments - doesnt make sense .......
ok take the code below and compile it, there will be no errors. now un comment one of the comments and compile it, it gives a error: " ')' - wrong parameters count C:\Program Files\Ava MetaTrader\experts\junk.mq4 (68, 10) " does anyone have
Desmond Wright
Added topic help - is my if / else statement correct ?
the code section below: it does not execute: store_ind3="blank"; store1_ind3="blank"; am I doing something wrong ???? ... string store_ind3; string store1_ind3; ... RefreshRates();
Desmond Wright
Added topic 5000 to 50 000 EA - 10 year backtest results
my latest ea, still in beta mode, working with a difficult currency, here are some results: check out my website: http://sites.google.com/site/dmweadev/
Desmond Wright
Added topic help - why am I getting:OrderClose error 138 - closing code included in post
I keep getting this error when optimizing: 2010.05.18 00:31:40 1999.10.14 13:55 uma test-3.1 USDCHF,H1: OrderClose error 138 I have deleted the history file and re downloaded it 3 times now here is the closing code: //close order routine
Desmond Wright
Added topic Simple Trail EA
This EA will move the stop loss (S/L) on your MetaTrader 4 terminal up or down depending if the trades are buy or sell automatically depending on the settings that have been entered. Introduction ------------ This EA will move the stop loss (S/L) on
Desmond Wright
Added topic the best news trading EA
With the EA you will be a able to set a time and date that 2 or more pending orders will be placed, buy and sell. It is very useful when trading news events because you can program your date / time that you want your pending orders placed. If the
Desmond Wright
Added topic backtesting Ea closes all open trades when done - how to stop this ?
Hi all when I do a backtest of a Ea it always closes all the open trades when it completes, this gives incorrect results on the report, is there any way to configure the backtest to just leave the open trades open when testing is completed
Desmond Wright
Added topic help - how to place mark on chart using date / time
Hi all you expert programmers. simply please tell me what function to use to place a single mark (arrow, X, etc ...) on a chart . IE if (price > price2) ........"place mark on chart" thanks
Desmond Wright
Added topic sleep () not working in back testing - is there any way that I can get the sleep () to work
my Ea uses some sleep () functions but they do not work in back testing, is there any way that I can get the sleep () to work in back testing ? thanx
Desmond Wright
Added topic help -I want to find out what the ask / bid price was 60 seconds or 600 seconds ago....
Hi what functions can I use to get ask / bid price from the past in minutes or seconds ? example: I want to find out what the ask / bid price was 60 seconds or 600 seconds ago. thanks ]
Desmond Wright
Added topic HELP -simple code for sl , something is not working and I cant figure it it out
im trying to code a simple trailing EA, here it is below. if the trade is a buy it moves the stop loss up and a sell it moves it down. but something is not working and I cant figure it it out
Desmond Wright
Added topic HELP - want simple code for sl / tp
hi everyone does anybody have a simple piece of code that I can insert into my EA that will: 1. scan all open positions 2.determine if trade has reach predefined sl / tp 3. close trade accordingly btw, Im a ex cobol programmer and still new to mql4
Desmond Wright
Added topic anyway to insert variable into ObjectSetText without using if ?
I want to add a variable into the . here is the code: extern int wtime=10000 ; wtime = int wtime2; ObjectsDeleteAll (); ObjectCreate("wait_time", OBJ_LABEL, 0, 0, 0);// Creating obj. ObjectSet("wait_time", OBJPROP_CORNER, 4); //
: