dazamate
dazamate
Friends

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

dazamate
Added topic stuck on array out of range error. Please critic my indicator loop.
I am stuck with an array out of range error. I've done much search to try find common coding mistakes and have placed 'safeguards' in to try stop the indicator trying to fetch outside the range. The indicator works, but sometimes when I flick through
dazamate
Added topic Toggle (Flush/Redraw) an indicator buffer with keystroke event
Hi guys,  I am trying to figure out how to flush out, or 'reset' indicator buffers on a keystroke event . Here is what I have so far   void OnChartEvent ( const int id,         // Event
dazamate
Added topic Want to use Dialog Panel - Getting a better understanding of it's ability
Hi guys,  An old pre build 600 coder here trying to get familiar with all the new functionality. I want to create an mt4 application that can execute trade orders with specific settings and manage things like trailing stops. I would like to use
dazamate
Registered at MQL5.community
dazamate
Added topic What do the experts think of my price normalize function...
I made this function to normalize price if it needs to be rounded for pairs like gold with ordersends... What do you guys think about it? Have I gone about it correctly?    double normalizeprice( double price)    {
dazamate
Added topic Indicator Drawing troubles
Hey guys another question, I am trying to figure out the indicator side of programing. Having a few problems. First Trouble is one of the indicator buffers doesn't draw properly. A problem with buffer 3&4 which I basically want to make a Highest
dazamate
Added topic Trouble Closing order , logic problems?
Hey there, I want to close an order when 3 candles have closed in the stop loss area. It just seems like the logic is never true. I have other conditions for closing trades and they work fine. Here is my approach. P.s The Print functions don't get
dazamate
Added topic Adding to a datetime value
Hey guys How do you had to a datetime value. One thread said that it is held in seconds.. so to add 3 hours you would datetimevalue + (3*60*60) which would give you a datetime 3 hours ahead but that didn't work I basically want to use OrderSelect()
dazamate
Added topic Managing different trailing stop values for different trades
Is there any way I can store a trailing stop value that can be matched with certain trades. One way I was thinking was to store the ticket number into an array when the trade is opened and then store the stop loss value into that part of the array
dazamate
Added topic Problem with for loop
double highestrange, rangecalc; double range[ 6 ];    for ( int bcount = 1 ; bcount > 7 ; bcount++)     //scan the last 7 prevbars                {
dazamate
Added topic Problems checking for open trade
Hey there I have added this to my code to check if there is an open trade already. The problem is the code will execute one trade and that's it. Can anybody see a problem with this code. I am not a super expert with programing // Check for open
12