Graham from Brisbane
Graham from Brisbane
Friends

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

Graham from Brisbane
Added topic How can I draw a simple moving average on a newly created chart?
Hi All, I've searched everywhere for the answer to how to draw a MA on a newly opened chart . The chart opens as expected, but no MA. Here is the code, but I'm missing something somewhere. void OnStart ()   { long _longchart = ChartOpen (
Graham from Brisbane
Added topic SymbolInfoMarginRate - I can't understand it
Hi, I'm trying to find how much margin is required to open a buy a standard lot of different forex pairs/share CFDs/ etc.in MQL5. I think I might be heading in the right direction, but there's a good chance I'm miles out. Anyhow ...... I have trolled
Graham from Brisbane
Added topic Clear the Alert Panel
Hi, Have the developers found a way to clear the popup alert window without restarting the terminal yet? Cheers
Graham from Brisbane
Added topic How include date and time in a csv file handle
Hi All, I hope somebody out there can help me. I want to add the date and time to my csv file handle, so that my filename will be something like 2022.12.08 10:40 Result.csv If I do this:- string _filename=TimeToStr( TimeLocal (), TIME_DATE |
Graham from Brisbane
Added topic How write to a CSV from an array, but append each value to the END of the line, NOT the next line
Hi All, I want to add the contents of an array to a csv file, but I want to append each value to the end on the current line, not to the next line. Here is the code which works perfectly, except for the positioning of the output in the CSV file
Graham from Brisbane
Added topic Drop down list for timeframe
Hi all, The MT4 code below presents allows me to set the time frame for the current chart by way of a drop down list.  Unfortunately, it doesn't work with MT5. Would somebody please point me in the right direction. regards  .... enum
Graham from Brisbane
Added topic Stop Trading Between Times
Hi All, I've searched all over the forum, but I can't find a way around my problem, which is to prevent my EA from continuing to trade between two times. I can do this between two hours (Hour()), but when it comes to times that include minutes, I get
Graham from Brisbane
Added topic Ticket number as a GlobalVariable
Hi, I'm not sure if this will work GlobalVariableSet (_ticketshort, OrderSend ( "XAUUSD" , OP_SELL ,PositionVolume, Bid , 0 , 0 , 0 , "" , 0 , 0 , clrNONE )); and later, if ( OrderSelect ( GlobalVariableGet (_ticketshort), SELECT_BY_TICKET )) { etc
Graham from Brisbane
Added topic Switch to Disable Autotrading on Startup
Hi All, hope you can help me. I have found that if my terminal is shut down by way of power crash or accidental click on the terminal x button, the EA that I was running at the time continues to run when I reopen the terminal, probably due to the
Graham from Brisbane
Added topic Drag and Drop function
Hi all ... It's easy enough to create a horizontal line, but I would like to add the ability to drag and drop the line into a new position on the chart and return it's position. I'm wish to use the returned value as a stop loss value . Any ideas
Graham from Brisbane
Added topic iTime question
Hi All, Having a little (ok, a lot) of trouble with iTime functions . I'm trying to determine the closing price of a bar that opened at a particular server time today . I assume I need to get the shift to the bar, and than query the closing price. My
Graham from Brisbane
Added topic Dynamic Array
Hi all .... I'm absolutely hopeless when it comes to arrays, sort of a brain freeze, so I hope to get some help here. To really simplify, I am trying to add an orders ticket number to an array whenever a new order is opened. For example, the first