MQL4 and MetaTrader 4 - page 1384

[Deleted]
My custom indicators are disabled and i could not insert in chart there is no error when compiling But if i changed the name of indicator then it works I don't know what happens please advice me As shown in below picture Thanks Advance e
[Deleted]
Is there a way in MT4 to have an EA programmatically load a presets file and reinitialize itself? RS
[Deleted]
Hi, Ive tried backtesting on 5min timeframe on two different mt4's. One for interbankfx and one for ODL. Both will only allow me to go back about 3 weeks back. If i try to back further i get a blank screen saying "waiting for update". Is there any broker who lets go further back and backtest months...
[Deleted]
Hi, Does anyone have an indicator that will show the bar or candle of another currency on the same chart, in a separate window? For example, I would like to show GBPUSD on the top and EURUSD below, but on the same chart, so I can scroll the one chart back and forth and keep them in sync. Thanks,...
Hi there, I'm having an issue with part of my code : I'm trying to close all open and pending orders, unfortunately it deletes the pending orders and closes only the first open order. Would a Refreshrates() inserted in the functions solve the problem ?? Thanks. while(MyOrdersTotal(Magic)!=0)...
[Deleted]
Hi I want to draw straight lines from lets say the closing price of index 100 to the closing price of index 20. How do I do this, without calculating all the values in between? If I give them no value, the indicator does not show anything. Thanks in advance
[Deleted]
Hi, I have an EA that operates in multiple pairs in real time without problems, but when I try to test the strategy it returns an error for every market but the one which graphic is open (IIRC, something as "unknown symbol name EURJPY for OrderSend function" when eurjpy isn't the one opened). Is it...
Hey there, I would like to determine the slope of the MACD Signal line. However, this slope also depends on what the current maximum and minimum range is on the MACD indicator window. I would prefer NOT to set the max and min values on the indicator. Instead, I would like to (in my EA) read what...
  Who does JAPAN LIGHTS shine on?  (177   1 2 3 4 5 ... 17 18)
For a year, after 5 years of manual trading, I've been trying to write an MTS. Tried many indicators and oscillators, but came to the conclusion that building MTS on their basis is like predicting their movement rather than price movement. I think they don't make any sense, on the contrary, they
Good day, Can anyone help me with a simple code to know if the last order closed(manual or stop loss) is profit or loss? I am trying to learn how to make a martingale EA that only doubles the lot if a previous order was a loss then reverts back to 0.10 lot if it gets a profit. Thanks in advance.
What's this: I wrote this script a long time ago, to help exercise and test my trading system, not with EA, but with manual trade.....Recently I find an EA (vhandstrade) out there, called Manually Trading, I say: it's just what I've done. And why use my solution? vhandstrade is so "real time"---...
[Deleted]
  DOW EA  (3)
have good profits.
[Deleted]
Could someone please help me with iCustom indicator calls??? What I need is iCustom calls for each of the 4 lines on this indicator? For the Bulls Main line, Bears Main line, Bulls Signal line, and the Bears Signal line. I would really appreciate anyone’s help!
I'm trying to take the Keltner_Channel strategy below and utilize its bands in an EA but I'm having trouble with being able to reference the individual bands (like you can do with the bollinger bands) in mql4. So far I've tried, " KeltnerP =iCustom(NULL, 0,"Keltner_Channel",0,0,0); without...
http://www.myfxbook.com/members/lenovos10e/us-dollar-index/3322/Z0O6HP426oPPGnhopI8z
[Deleted]
hi, i'm a new user of mt4. can someone help me to write a indicator of keltner channel applying on rsi? i'll like to create a indicator over another indicator. thanks all.
[Deleted]
  Ordersend error  (5)
Hello I have an expert, in some special trades(I don't know the reason), Ordersend can not open the trade. It returns -1, but getlasterror() is 0. I can't understand what is the reason. Could you please help? this is a part of log file of this expert: Account balance=100004.00000000...
[Deleted]
Hi all, Please i need help on how to get the value of Bollinger band indicator's middle band for my EA code. Any help would be highly appreciated. Thanks.
Hi all here, in our opinion, for an Scalping EA what will be an maximum acceptaple drawdown for live-testing? Thx for your comments and meanings
it appears that the reason parameter is not always correct in metatrader 5 for indicators. When changing the timeframe or symbol the value passed to OnDeinit = REASON_REMOVE. Shouldn't this be REASON_CHARTCHANGE? If I am incorrect how do you determine if the indicator is just being reloaded due to...
I found differences in the outcome of MA,s written in an EA and the standard MA,s used as an indicator. I wrote a symple EA that shows it. The actual Open, Close, High and Low values are OK, the SMA10 on the High is OK, but the values of the SMA10 on the Open and the Close are not the same as the
It just write the first line for the second file: "indicadores2.csv". Thanks in advance for any help.
Hopefully some one here may help me. Please keep in mind I am not a programmer. This is my attempt to create an expert looking for trading opportunities (section Peak Hours ORDER ENTRY) during a set time (section Day and Time Open for Trading). The expert does work, but its working to well. The stop
[Deleted]
Hi everyone, I have been looking on the site but I can't find this. Do you know what software / script (or any information/ guidelines would be helpful) I would use in order to run statistical test. I want to see the range a currency has with relation to time, day of week, and other stuff. I want to...
Help! - How do I hedge with the total of the opposite direction? Scenario: I have a couple of opened short positions, then price break the resistance. I would like to take a long position which is the maybe twice the TotalShortPosition() - (which is a function that calculate the total short...
I am testing my EA. I am in good position with sell order (with TP at 21174) but when market price down bellow TP (21168) Tester System does not close order to take profit. Someone please help me on this. Thank you very much
HI, I am new to meta trader. The problem i am facing is, when i use the mouse scroll button up/down, the whole chart moves leaving me not knowing about the recent price change. if i use the '+' or '-' change chart widens horizontally again leaving blank about the recent price. What i am looking at...
Hello I am new to forex and very new to forex programming. Testing (backtesting for now) my new Robot, which focus in very long trends hunting, I found that in its trading sometimes the Balance gets Negative but at the same time the Equity is very Positive however it continues going on testing....
[Deleted]
Hi The IndicatorCounted function tells you if there are bars that are not calculated, but it does not tell you if it is a new bar or and old bar (ie. when you scroll back in time and new bars are loaded). How can I determine this? If the IndicatorCounted returns all the bars-1 you do not know if it...
[Deleted]
A lot of programmer are wasting time and effort setting up strategies with back testing, often these tests give different results time by time. The must important thing is that the history chart have to be error free and the quality model must not to be "n/a" but almost "90%". I suggest to test the...