I am calling an indicator with iCustom, from an EA. When I run the EA live on demo, all works fine, and I can print the values for the indicator for testing in the Experts Tab. So far so good. But when I run backtests, the same printed values are always 0. Does anyone know what is wrong here, and...
hi, it is nice to be introuced to such nice forum which discusses different ideas of trading and systems .. I noticed when surfing the forum that no one is talking about different currencies strength relative to each other.. where I think is Important, When We trade - we some times say we are...
In the long term, if you are going to continue developing MT, you ought to think about formating all the reports from MT in XML. This would allow 3rd-party apps to more easily read and consume data in the reports. 3rd party apps will only increase the usability of your software.
Hi there, I have a problem with issuing OP_SELLSTOP/OP_BUYSTOP. For example, I ran a script on EURUSD 1 Hourly: MyPrice = High + (iATR(Symbol(),0,6,1)*1.5); Ticket=OrderSend(Symbol(), OP_BUYSTOP, Lots, MyPrice,3, Low, 0,"BUYSTOP",0,0,Green); MyPrice returns 1.16925750. It gives me an error...
How are the data for individual time frame, M1, M5, ............ generated?
Are they generated locally by MT4 from each tick received or are they downloaded from the server?
I am trying to generate my own time frames from ticks and somehow cannot get same data as in M1, M5,...... modes...
I am trying to build an EA for MT3 in ZeroCode and need some assistance. I am building an advisor that puts in a trade when the 3 EMAs cross and exit when the 3 EMAs cross in the opposite direction or hit the stoploss, whichever comes First. Below is what my imputs are in ZeroCode except the exit...
Does anyone know if the servers are down for demo accounts? I have a "no connection" sign at the bottom right, but my Internet is working just fine.
Anything I could do differently?
Please explain why is there data discrepancy between MetaQuote account Interbank FX account both connected to Interbank-Demo Server.
Both accounts are opened on build 186, Nov. 10, 2005
For example I have opened in both accounts EURUSD,M5 and EURUSDm,M5 and sampled
2005.11.25. 15:25 Bar
I have an array of 20 items. Index [0 ... 10] filled with a value of 9, the rest empty (zero). Now, when I do an iMAOnArray with Shift 0 (Period 5) I would expect to get a result of 9 (average of items with index [0 ... 4]), same as if I did an iMA of shift 0 where I would get the average of...
Do file functions work in stratergy tester? I don't think they do
I was trying the following to no avail
handle=FileOpen("eurud_1min.csv", FILE_CSV|FILE_WRITE|FILE_READ, ";");
// write data...
would it be possible, or has anyone the code for metaeditor to change the colour of each bar to represent the different trading sessions this is somthing i used on tradestation and found it exellent when looking back at previous trades.
in my pc i already use your software but today your software is not working. i mean account is created but market watch is not updated so what is the problem and i already tried that is i uninstall the software and reinstall the software but no use. so what is the problem and...
This indicator is based on the chapter from the book Street Smarts by Linda B.Raschke. Original idea is to use the 2 period ROC in a separate window, but I made this to use it on the chart. It shows days when the market changes from buy to to sell day and vice versa. Use this on the daily chart.
I decided to hide this "FXFisherman Development" subforum from the public for now. This forum can only be seen by moderators and administrators. Whoever reads this please don't post anything about FxFisherman Bot outside this subforum. I do this because I think the public don't deserve to be users...
Hi folks, A lot of people asked me and metaquotes forum about file handling functions. I think MT4 have a lot of bugs in those functions. 1- They don't work in backtesting 2- They don't write outside "MetaTrader 4\experts\files" path. Today I opened my Visual C++ and wrote a file handling dll for...
I'd like to cancel pending orders (which has not been filled, e.g. when OP_BUYSTOP has not been reached).
How can I do that? I don't really care at what price it is closed but I need to know first of all that it is still pending.
1. I'd like to use OrderClose( int ticket,...
I have created an expert that opens a buy order when a fast MA is > a slow MA, with 30 Stop loss, 60 Takeprofit and 30 trailing stop (just a try).
The reversal for the sell.
The problem is that when the target is reached and the buy order is closed the expert opens another buy order imedeately...