Forum

2 charts in 1 ?

Hi, I would like to draw eurusd & gbpusd charts in same chart. It is possible with mt4 ? Tx

Last open trade status (void function)

Hi, If anyone need. how can i to know the last open trade status ? void LastOpenTrade_function( int nb) { for ( int cnt= 0 ;cnt< OrdersTotal ()-nb;cnt++) { OrderSelect (cnt, SELECT_BY_POS, MODE_TRADES); if ( OrderSymbol ()== Symbol () && OrderMagicNumber

sending an orders from web interface to my MT4 ?

Hi, I would like opening some orders form my office but the network rules are blocked :( and Mt4 can not running :( :( in fact. the HTTP/HTTPS rules are open. Any EA for accepting an order from HTTP/https webpage ? Regards, S.T

Listing the Open Orders and create object

Hi everybody, I have an idea, i would like creating a button list with opened orders. When i click on it, the order is closed. There are 2 zones: green for Buy and red for Sell. The green button is in positive profit and red button is in negative profit. See screenshot below. Anyone has a sample

How to convert arraytimeframe from mql4 to mql5 ?

Hi, I use this code for my MTF indicator on chart in MQL4, i'm working for move to mql5: int tframe[]={ 1 , 5 , 15 , 30 , 60 , 240 , 1440 , 10080 , 43200 }; int tfnumber= 9 ; double IndVal[9]; for ( int x= 1 ;x<tfnumber+ 1 ;x++) { TREND0= iMA ( Symbol (),tframe[x- 1 ],21, 0 , MODE_SMA

Money Management - add the "Trading System Safety Factor" aka TSSF from Be in phase mind

Hi everybody :) I need to complete my Money Management system. Anyone has Trading System Safety Factor aka TSSF ( https://championship.mql5.com/2012/en/2008 ) EA in box ? Currenlty, i have these 3 cases: 1/ fixe 2/ geometrical 3/ proportionnal double Lots_ref = 0.1; int lastXtrade=10; int

[SOLVED] extern int & int array_tmp[]={a,b,c};

Hi, I have a probleme with comit extern int value in an array. extern int a = 1 ; extern int b = 2 ; extern int c = 3 ; int array_tmp [ ] = { a , b , c } ; When i compile, i have theses errors: a - expression on gobal scope not allowed b - expression on gobal scope not allowed c - expression on

How can i hide errors

Hi, It is my first post and happy day. I would like hide some selected error (error 0 & error 1) for displaying some other errors only, for example: error 3, 130 and 131. Anyone has a function for this ? Tx for help

ARRAY - array_push ?

hi Guys, i need to add some values on in Array. ARRAY_PUSH is available with mt4 ? If not, how can i add in array with same method ? regards