MisterDog
MisterDog
Friends

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

MisterDog
Added topic Why is it so difficult to create a winning EA?
I would suspect that most of us at this forum do not yet have a winning program. Why? I don't think it's a lack of programming skills. The people at this forum are very generous in helping solve programming problems. Perhaps it's because we can't
MisterDog
Added topic Find the High or Low for a number of bars -- code
This function will find the High or Low of some number of bars . I was pulling my hair out debugging this thing. The High part of the function worked great but the Low part of function always return 0. Then I realized that The variable barApex was
MisterDog
Added topic Move Stop to Breakeven code
I'd like to learn more about open orders -- getting information and modifying. Moving the stop to breakeven should be a good project. I found plenty of discussion on the subject but no finished code illustrating the details of how it's really done
MisterDog
Added topic How to save properties in the Strategy Tester
Who loves the the gray grid in the Strategy Tester ? Is there a way to have the Strategy Tester remember the Property selections? Every time I run the Strategy Tester I've got to turn off that gray grid -- drives me crazy
MisterDog
Added topic determine if a trade is currently profitable (while still open)
How do I determine if a trade is currently profitable (while still open)? It seems like I should be using MarketOrder and OrderOpenPrice
MisterDog
Added topic 136: error "off quotes" and NormalizeDouble
I've been running into a 136 error frequently when my EA has been trying to place an order. What's this really all about? And apparently NormalizeDouble is an important part of the EA placing orders. I searched through my code and I'm not using
MisterDog
Added topic How to Draw a Reference Lines Every 10 Pips
Here's a handy script I use all the time. It draws reference lines every 10 pips to help me gauge movement in the market. I was really frustrated trying to figure this out by looking at the prices on the right-hand side of the screen so I created a
MisterDog
Added topic Measuring the price difference between a line and a bar
I know that you can measure the difference in price between the current price and moving average. And there are several other objects that can be used for this sort of calculation. But is there any form of a straight line that can be used to measure
MisterDog
Added topic Finding the OrderType of the last closed trade
I'm trying to take a lesson from RaptorUK and his article, What are Function return values ? How do I use them ? I assume that an OrderType has a numeric return value; for example OP_BUY is 1 and OP_SELL is 2. But I'm not sure that's the case and I
MisterDog
Added topic Boolean Function that checks for an open order
Here's a function that checks to see if there is an open order. I'm a rank beginner at coding in MT4 so I welcome your comments. But it does seem to work. bool NoOpenOrdersExist() //True when no open order, False when is open order {
MisterDog
Added topic Drawing lines from an EA
Is it possible to draw something like a Moving Average line from an Expert Advisor like you can and Indicator? Or do I need to make an Indicator that uses the same logic as the EA so I can have a visual of what is going on? Is there a good way of
12