ryan
ryan
Friends

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

ryan
Registered at MQL5.community
ryan
Added topic too many orders at once
it seems for some reason when I back test my strategy I get several orders per minute. It is just a simple stop and reverse system based on a double moving average crossover. 28 2007.09.17 04:27 close 14 1. 00 1. 3871 0. 0000 0.0000 -30. 00 9244. 70
ryan
Added topic getting height of window in pips
I need to know the height of the main chart window in pips or pixels, so I can place objects at just below the top of the chart window
ryan
Added topic Use the MA from the chart
I am trying to get a variable for a 50 minute simple moving average, the one that appears on the chart when I apply it to one. I am using: double MoveA = iMA (NULL,PERIOD_M1,50,0,MODE_SMMA,PRICE_MEDIAN,0); When I use the print function to print out
ryan
Added topic ldrawing lines on visual backtest window
Trying to find examples of how to add simple graphics to the chart window that is displayed when backtesting in visual mode. The graphics would be very similar to a custom indicator . I cannot seem to find this info anywhere in the MT4 or MQL4 help
ryan
Added topic Backtesting help
Can't figure out why this code won't backtest properly. The backtest runs, but no results and no trades occur. The code seems correct to me. Anybody have any ideas? int start () { double PosHigh = High [ iHighest ( NULL , 0 , MODE_HIGH , iBarShift (
ryan
Added topic Closing the open position
I have some real basic code here but I can't seem to get it to work because I do not know how to get the ticket number from current or open order. int start(){ double buyhigh = High[iHighest(NULL, 0, MODE_HIGH, iBarShift(NULL, 0, OrderOpenTime())
ryan
Added topic How to find highest price after buy
Is there a built in way to do this with MQL? Something like, high(openorder)? Or do I have to get in the mess of setting up dynamic arrays
ryan
Added topic Basic Code Syntax
Hello all. I am trying to develop a basic MQL expert advisor for fully automated trading . I have looked around and haven't found very many tutorials on how to write EAs. Below I have attempted to write a simple EA, but am not sure about the syntax