Can anyone please advise how I change the colour of pivot line labels? I am familiar with how to access the code of the pivot lines and have changed the colours of the lines themselves but have been unable to change the colour of the labels from the default grey (that does not show up very well...
I had a working order with active Trailing Stop. Altough the profit in points was even higher than TS level the Trailing Stop didn't work. The terminal was on all the time. In log file from that day there where messages:
modification of order #..... failed [Trade context is busy]
I have been using MetaTrader for several years now but have never seen this error until recently, and it's happening a lot! The problem is that the EA successfully closes the order but MetaTrader returns that a "Trade time-out" error occurred, despite the fact that the order has been closed,...
Please kindly let me know what is fast and slow stochastics. Is there separate indicators for slow and fast stochastic individually than what is available in the MT4?. If so kindly give information. If not how to use the available stochastic indicator to get the slower version.
Is there any support in this forum for copying trend lines withough altering their gradient (such as that found on the charts of Oanda)?
This is functionality that I think would be extremely useful to many traders and with MT5 now under test, there exists an ideal opportunity for its incorporation...
I've been using MT4 for quite a while now, and am starting to get familiar with certain hotkeys. What I miss now, is the ability to scroll through the different charts and timeframes.
In my opinion, it would be nice if it was possible to use CTRL+mousescroll or directional arrows to...
I am just wondering whether there is anyone here actually using expert advisor in real trading.
I have created some simple strategies and they all work fine in demo testing mode. I would like to have some advice on actually running the strategies in real trading mode. Are there anything I need to...
For example, how can I start Moving Average 5, Moving Average 15, Moving Average 25, three indicators in just one go.
Is it possible to start Expert Adviser from Custom Indicator, and vice versa?
From the MACD Sample EA:
// check for long position (BUY) possibility
if(MacdCurrent<0 && MacdCurrent>SignalCurrent && MacdPrevious<SignalPrevious &&
MathAbs(MacdCurrent)>(MACDOpenLevel*Point) && MaCurrent>MaPrevious)
Shouldn't MACD be ABOVE 0 for a long signal?
I'm having a slight problem here, I've an EA works on RSI only, it should open a trade when RSI cross line30 from BELOW, but it opens now false trades when it's near line30.
So anybody here knows the right code for opening an order when it crosses from BELOW.... Also that order would be after...
This error happened to me a few times. When it happens, IsConnected() returns TRUE, although the expert simply stops working! If you look at the bottom right hand side of MT4, u can see the top triangle is Green but the bottom one is Red. The situation can usually be resolved by manual Login again...
Please let me know what to do to get the same 4 hour bar chart on Meta like on Tradestation.
The server time is GMT on all of the two platform but the prices are differen
You can check it out on USD/GBP pair.
Best regards from Zoltan Gurzo
I'm running my MetaTrader on windows server 2003 standard edition 64bit, and the account history is not visible.
If I make a few trades and then go the the account history, I can see them, but once I click the 'All history' option, they all disappear.
Very strange behavior, and it seems to me...
Hi ! my name is troubador logging in for the first time. I have opened a practice account (MetaTrader 4)using expert advisors about six weeks ago and up until today everything was very much ok. Tried to login this morning but my screen told me 'INVALID ACCOUNT' so i wondered how this could be as...
When I print the iMA, it doesn't match the value disaplyed on the chart. How can I get the value that is actually displayed on the chart? I have tried all of the Price constants.
iMA(NULL, 0, 5, 8, MODE_SMA, PRICE_CLOSE, 0)
not sure how to write an if statement when I want to have two variables equal each other.
if(P = bid)
SendMail("MT4 Alert", "Price has reached Pivot Point");
P is a calculated value which works fine, Bid is the current bid price.
However this does not work giving me
'=' - illegal...
I notice that function UninitializeReason() define, learn from help:
REASON_REMOVE1Expert removed from chart.REASON_RECOMPILE2Expert recompiled.REASON_CHARTCHANGE3symbol or timeframe changed on the chart.REASON_CHARTCLOSE4Chart closed.REASON_PARAMETERS5Inputs parameters was changed by user...
The importance of image security -- a few years ago in China, a super star named Edison Chen was criticized by the fans because of photo scandal.
He installs the private photos in his computer and went to mend computer without encrypting them. Then the photos were copied and showed on internet....
Can someone help me to code an EA with the following rules:
1) price within 20 pips of the daily high/low - that is OPPORTUNITY
2) up/down candle closes
3) up/down candle closes - note the high price of the up/down candle
4) enter long at the up/down candle's high/low price
5) SL and TP...