- Search Crypto Craft
-
FXEZ replied Apr 11, 2012I always place the following code just before an order is placed / closed to prevent this error, while still executing the trade / exit. while(IsTradeContextBusy()) Sleep(100); RefreshRates();
MT4 error "Trading Context is busy"?
-
FXEZ replied Apr 10, 2012As far as I understand it, Bezier curves are non-causal and as part of their algorithm recalculate based on recent data (the lines will jump if the anchor points are changed even a little bit). This means that the indicator would redraw if you ...
Advanced Bezier Trailing
-
FXEZ replied Apr 7, 2012Based on the description you gave above, I would approach it something like this: string symbol1 = "USDJPY"; string symbol2 = "USDCHF"; m=i+1; double ATR = 0.0; double a=iCCI(symbol1,0,20,PRICE_CLOSE,m); double b=iCCI(symbol2,0,20,PRICE_CLOSE,m); if ...
Working with pairs of extremes
-
FXEZ replied Apr 1, 2012It seems we're on similar development paths. However, I'm planning to use sockets for my implementation rather than named pipes. At this time I'm thinking of implementing sockets in the C# DLL rather than directly in MQL4. I plan to just have MT4 ...
Calling named pipes dll from MT5. How to?
-
FXEZ replied Apr 1, 2012Demo Code for C# DLL to MT4 — Jason, did you ever figure out how to create your C# DLL and call it from MT4? I've just been tinkering with it the past few hours and can share some code if you like: MT4 Script 'testDLL' code below: File ...
Calling named pipes dll from MT5. How to?
-
FXEZ replied Mar 27, 2012The OP's first post is a true classic! Sums up individual and group psychology and group think from a forum perspective better than I've seen. Nice job! It is interesting how poorly individuals (as a rule) actually understand or deal with ...
The life of a trading system on Forex Factory
-
FXEZ replied Mar 25, 2012MelbTrader, You might find the article How to write a close all script in MQL4 useful. I wrote it as a sort of tutorial for those looking to understand how the components fit together. The goal of the article is that at the end of it, you should be ...
Help with 'Close all orders'
-
FXEZ replied Mar 20, 2012I created a simple RSI EA template that does what the OP requires and may be used as a template for other types of Expert Advisors. The article How to create a simple MT4 expert advisor that trades once per bar covers the issues related to using an ...
Looking for simple RSI EA
-
FXEZ replied Mar 20, 2012I think nubcake has already posted all these links and discussed the major issues, but a while back I wrote up this short and easy to understand summary on how to write a C# DLL for Metatrader, in the event that I ever get around to doing this ...
Calling named pipes dll from MT5. How to?
-
FXEZ replied Mar 17, 2012The type of vehicle used is not the reason for the lawsuit. There is a reason the CFTC is pursuing legal action against a firm that comingled its clients' funds. In case you missed it, there were some important lessons to be learned from Refco's ...
MB Trading Futures - Introduction
-
FXEZ replied Mar 16, 2012Honest mistake - lol apologies - deleted the post. Though the thought still applies - be careful who you choose for your counterparty!
MB Trading Futures - Introduction
-
FXEZ replied Mar 13, 2012Agree with everything hayseed said. It is good practice to periodically reevaluate the pairs in comparison to each other. This has already been mentioned in general, but I'll just add that since so often trading is a real grind, looking to minimize ...
The easiest pairs to trade?
-
FXEZ replied Mar 6, 2012As Hanover stated, the idea is to implement simple fraction algebra to create a synthetic pair from the desired combination. This synthetic pair will not be exactly equal to the underlying due to the slight differences in price, and this is related ...
G/U x U/J = **** indicator ,anybody knows ?
-
FXEZ replied Mar 5, 2012I'm going to disagree with the blanket conclusion of point #2 (above). Given the method used in developing a system (tracking past history) I can see your point. But that isn't the best (or only) way to go about system development IMO. I prefer to ...
What works?
-
FXEZ replied Mar 5, 2012Not sure how many use IB here on FF. You might try asking your question on a more focused list such as TWSAPI. url
How to get live data from Interactive Broker to Excel
-
FXEZ replied Mar 5, 2012Here are two scripts and a tutorial that you might find helpful: Close All Open Orders in Profit Script Close All Open Orders in Loss Script Tutorial step by step how to write a close all script I added profit and loss comparisons to the generic ...
Looking for two simple close out position scripts
-
FXEZ replied Mar 2, 2012Here's another article that gives instructions for writing a C# dll for MT4: url
Creating Metatrader DLLs with Lazarus / Free Pascal
-
FXEZ replied Mar 2, 2012An Update — I've just been back through reading this thread from a couple of years ago. It is interesting to see how my thoughts have progressed from that period to the present. When I started this thread, I was hoping to explore more deeply ...
What Is a Trend?