- Search Metals Mine
- 41 Results (1 Threads, 40 Replies)
- wolfe replied Aug 12, 2009
I would be interested in looking at the code for what you have so far. If you are willing to share it.
Triangulate & Destroy
- wolfe replied Aug 3, 2009
FrinkFX, In your compiled dll solution, do you have a .def file declaring your dll exports? .def file should look something like: LIBRARY Your_dll_Name EXPORTS tibbsNUM A nice tutorial: url Excerpt from link: Error 127: By far the most common ...
DLL imports
- wolfe replied Aug 2, 2009
I'm running a 32-bit system with windows XP. I park my dll in the path: C:\WINDOWS\system32 This works great for me.
DLL imports
- wolfe replied Jul 31, 2009
Thanks for the clarification hanover. You're right, post #12, the "backslash" (calling it the correct name now) needs to be in front of the n. When I first posted, I had it right but the backslash wasn't showing up in the code for some reason. When ...
Adding New Comment Line
- wolfe replied Jul 30, 2009
This: "" is what I call a "forward" slash two posts previous. Try it. It works.
Adding New Comment Line
- wolfe replied Jul 30, 2009
Here is an example of how to do this: Comment (" Account Company: ", AccountCompany () , "n\ Account Number: ", AccountNumber() , "n\ Account Name: " , AccountName (), "n\ Account Leverage: ", AccountLeverage(), "n\ Account Margin: " , AccountMargin ...
Adding New Comment Line
- wolfe replied Mar 24, 2009
I was unable to write to an external file (outside of metatrader) without a dll for my application. I know you can write to a file within metatrader with mq4, can you write outside of your terminal without the use of a dll?
for the programming genius' here:
- wolfe replied Mar 23, 2009
Not exactly sure what you are after here. Like Ron said, Global variables are the easiest way to go, if you don't need to save the information for longer than 3 weeks. Or... You could create a dll in c++, that allows an EA to write to an external ...
for the programming genius' here:
- wolfe replied Jan 20, 2009
I also love Global Variable use in EA's. It's one of the best ways to keep any information you don't want lost. Glad you found them tdion!
MT4 global variables: my new best friend
- wolfe replied Nov 15, 2008
Thank you Zen_Leow, I will try to to use your example and learn from it. I appreciate your help. -wolfe
Global Variable question:
- wolfe replied Nov 15, 2008
I thought you could only read/write to a text file within each respective mt4 terminal. Could you give an example of how to write to an external file if you have time? My other concern is the speed at which these operations could be performed. As I ...
Global Variable question:
-
Global Variable question:
Started Nov 15, 2008|Platform Tech|7 repliesHere is what I want to do: I have 2 separate mt4 broker terminals open. (Broker A & Broker B) ...
- wolfe replied Nov 7, 2008
New Bar Function: bool NewBar() { static datetime lastbar; datetime curbar = Time[0]; if(lastbar!=curbar) { lastbar=curbar; return (true); } else { return(false); } }
best was to detect new bar
- wolfe replied Nov 6, 2008
Do something like this: extern int Stop_Loss = 20; extern int Take_Profit = 20; if (OrderSelect(ticket,SELECT_BY_TICKET)==true) { double OpenPrice = OrderOpenPrice(); if ((Bid <= OpenPrice - Stop_Loss*Point) || (Bid >= OpenPrice + ...
Invisible TP and SL
- wolfe replied May 21, 2008
Excellent post Magnumfreak. I think you've covered it!
8 Keys to getting your Indicator or EA Programmed Successfully.
- wolfe replied Apr 27, 2008
No, didn't do that. But, now that I come to think about it, I open new accounts within the demo platform quite often. When I want to run fresh tests on EA's I just open a new account and delete the old one within the platform. I've never had a ...
Metatrader demo platform that doesnt close after 1 month
- wolfe replied Apr 26, 2008
I've had demo account on FXDD for over 2.5 years.
Metatrader demo platform that doesnt close after 1 month