- Search Metals Mine
-
7bit replied Mar 21, 2010From what i see here the two arrays you are interested in are already properly mapped to indicator buffers, no change is needed. You can use iCustom() to access any value in any of these two arrays at any time. All you have to do is call iCustom() ...
Using a value of an array from an indicator
-
7bit replied Mar 21, 2010Of course the angle on the screen will change. It will not be the same for any two users. You can do a lot of coding and finally arrive at the ecaxt pixel coordinates of the objects on the screen and then even calculate angles derived from these ...
help on - Objprop_xdistance=0?
-
'Allow import of external experts'
Started Mar 20, 2010|Platform Tech|1 reply
Allow DLL imports is quite clear to me and i use it every day for calling external API ...
-
7bit replied Mar 20, 2010For example i recently fixed an annoying (and dangerous) bug that appeared when the internet connection was unreliable in the functions that send market orders (and check for errors) and added some additional bells and whistles to these fuctions. I ...
Drawign a vertical line
-
7bit replied Mar 20, 2010But there IS NO ANGLE, angles simply do not exist in the price chart! This is where all your problems originate from. I still don't know what you are really trying to do. Maybe you just want to calculate the slope of the MA-line at a certain time ...
help on - Objprop_xdistance=0?
-
7bit replied Mar 20, 2010maybe the existence of commission could be used? Are there ECN brokers that don't charge commission or non-ECN brokers that do? Unfortunately there is no MarketInfo() index for the commission, so this would have to be parsed out of the symbols.raw ...
ECN ordersend without ordermodify
-
7bit replied Mar 20, 2010put the file into the includes folder and then #include <common_functions.mqh> at the beginning of the EA and then i have all these functions at my disposal. It doesn't use more memory than needed and certainly not any amount significant enough to ...
Drawign a vertical line
-
7bit replied Mar 20, 2010Is there a way to programmatically find out whether we are running on an ECN broker or not, other than interpreting the error after a failed OrderSend() (I simply assume it would fail with an error, but who knows)? int OrderSendEx(...){ int t; if ...
ECN ordersend without ordermodify
-
7bit replied Mar 20, 2010use a horizontal line as object type, supply only price1 and leave time1 as 0 because it will be ignored anyways. It is a good idea to build yourself a library of such functions (plotting lines, doing other often used things) over time (everytime ...
Drawign a vertical line
-
7bit replied Mar 20, 2010I will update the EA (found and fixed some minor bugs) a few hours before the market opens. Pay attention to the version number (2010.3....) on the download page. Also the common_functions.mqh will need to be updated then.
Snowballs and the anti-grid
-
7bit replied Mar 20, 2010Attached are a few screenshots of charts and profit curves i was able to produce in the last few days. Some of them are from older prototypes where no stop orders were used but market orders and closing old orders in FIFO manner and not FILO with ...
Snowballs and the anti-grid
-
7bit replied Mar 20, 2010I guess with y the OP meant the y coordinate (vertical, price) and not the x coordinate (time) as in your example. For such a purpose a trend line is used (OBJ_TREND). time1 and time2 are set to the same time, and price1 and price2 are set to the ...
Drawign a vertical line
-
7bit replied Mar 20, 2010What are you trying to do? There is no concept of such a thing like an angle in the price chart because x and y are not of the same dimensions. You could measure an angle between two quantities of the same dimension, for example the dimension ...
help on - Objprop_xdistance=0?
-
7bit replied Mar 20, 2010"If the only tool you have is a hammer, you tend to see every problem as a nail." Excel is not a trading platform, and also it is no programming environment, its a spread sheet application, nothing more. MQL is an exceptionally simple language, ...
MQL4 or Excel for building strategies
-
7bit replied Mar 20, 2010From your posting I assume you don't yet know that there is extensive documentation and a reference manual available, just a few mouse clicks away from you. It is available directly in MetaEditor, just press the "F1" key to get help and examples for ...
Drawign a vertical line
-
7bit replied Mar 18, 2010use OBJPROP_TIME1 and OBJPROP_PRICE1 as the coordinates for the arrow. Also there are only a few arrows that are visible exactly at the price, the "normal" arrows are always a bit off:
help on - Objprop_xdistance=0?
-
7bit replied Mar 18, 2010You could ask your broker whether he has a better solution to this problem. Oanda for example would allow you to manage many client accounts automatically, maybe there is something similar for MT4 brokers?
How to broadcast a signal from my MT4 to 100s of other MT4 accounts?
-
7bit replied Mar 18, 2010You simply install the .ex4 file by putting it into the experts or the experts/indicators folder, depending on whether it is an indi or an EA. There is nothing else that you can do with an .ex4 file other than just using it. You cannot edit it, you ...
Problem with opening ex4 indies
-
7bit replied Mar 17, 2010You would have more and better responses and strategies to chose from if you just shared the code and everybody could experiment with it or even improve it. You would not lose anything, you would instead profit from it.
t3 contest
-
7bit replied Mar 17, 2010How can can the community help you completing the other half of your project if you don't share the code you already have? Publicly sharing all code is a requirement for developing software with the community. Otherwise you should just hire some ...
t3 contest