In MT4, I would like to draw some boxes on a chart via the code. Would i use SetIndexStyle and the style to DRAW_SECTION?
Can someone provide an example for this?
I would image that to draw a box you will need to give the drawing routine 4 points to build the box.
Thank you for your...
I have found emailing meta .MQ4 files around with outlook express and sometimes yahoo
once the .MQ4 file is save to its apprropriate directory it becomes visible but will not run
i have found for some reason if i add 4 blank lines to the top of the file and recompile it then works..
Drag and Drop the MA indicator on a subwindow and apply it on
the indicator displayed in this subwindow is really fine.
I tried it on the RSI but both (RSI and MA(RSI)) are displayed
but I'd like to see only the MA. Someone knows ?
I developped a custom indicator (a filter) and I'd like to apply...
thanks for the function to apply indicators from different timeframes to your chart. it's working very nicely. just a question, is there a way that you can update your chart if you're in a 30min timeframe every 30mins so that your indicator from a longer timeframe doesn't look dragged out...
i would like when a zig zag line ends, then automatically a linear regression channel to be created based on bottom and top of zig zag line. time frame mainly one hour. is that possible? and in affirmative how?
// it is important to enter the market correctly,
// but it is more important to exit it correctly...
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if(OrderType()==OP_SELL && // check for opened position...
Will it be possible to have a managed account system within ver. 4?
E.g. If I have 3 clients, I would like to have the ability to highlight them within the accounts section and excecute 1 trade for all 3 clients and should the lot size be different the ability to set different lot sizes as well...
I only just noticed today, that the levels that are marked out on the fibonaci fan are wrong.
put it on a chart and you'll notice that the 38.2 retracement is marked as a 61.8 retracement and the the 61.8 is marked as being the 38.2 retracement.
I tried deleting the levels and re-adding them...
I've been searching high and low for a custom MACD indicator which shows the histogram along with the 2 signal lines. This is the common (at least in my world) format viewing of this indicator and I use the two signals for seperation.
Is this something you're able to assist me with?
Please help me ! conversion code to MQL4_code
extern int N=10;extern double P=2;extern double Q=30;extern int K=15;Direction:=CLOSE - REF( CLOSE , N ) ; XX:=ABS( CLOSE - REF( CLOSE , 1 ) ) ; Volatility:=SUM( XX , N ) ; ER:=ABS( Direction / Volatility ) ; FastC:=...
Whilst on the subject of MACD, are there any indicators which highlight MACD divergence against price action?
I've done the usual Google as well as a search of the Yahoo site but to no avail.
Anyone? Thanks for any help
Is there any chance that you can add some more crosses to the DDE. Even just the AUD/USD and CAD/USD would be great..
Thanks as always....
Sorry, I just realised that you have already done this, GREAT WORK, thanks :))
MetaTrader 4. Build 156.
Attention: MetaTrader 4 Client Terminal Build 152 and less than 152 is not supported by MetaTrader 4 Server. Please update your client terminal.
1. Updated array passing as parameter into imported functions.
2. Updated account history displaying by new transactions.
I am new with MT - I still little confuse with the language
can some one help me tranfer this indicator from Visual trading language to MT Language?
Res :=valuewhen(1, Cross(Mov(C, LBP,S),C), HHV(H, LBP));
Sup :=valuewhen(1, Cross(C,Mov(C, LBP,S)), LLV(L, LBP));
in human language.....
MetaTrader 4. Build 155.
1. Updated initialization of global strings in compiler.
2. Updated parameter passing with type casting in imported functions in compiler.
3. Added constant OBJPROP_DEVIATION in MQL4.
4. Updated helpfile of MetaEditor IDE.
5. "Angle" object properties are measured in...
I am quite new to MT and so far I am astonished by the quality of the tools and the platform.
I would like to know if the option "Strategy Tester" is going to be introduce in MT4 as it seems like it is not integrated ?
I had to download the previous version MT3.85 to be able to...
I need some help to code the double moving average of RSI(14).
I would like to know if it's the right way to do?
for (i=0; i<1000; i++)
RSI_Buffer[i] = iRSI (NULL, 0, 14, PRICE_CLOSE, i);
for(i=0; i<1000; i++)
tmp[i] = iMAOnArray (RSI_Buffer, Bars, 14, 0, MODE_EMA, i);