Forum

exceed number of maximum "99" charts at same time!

how to open more than 99 chart in the same time

Different type of Conditional Operator! I don't know what to call it!

which operator should I use ? step 1 to start up the case, all conditions no 1&2&3 should be achieved. step 2 to stay in the case, not all the conditions should be still achieved, conditions no 1 is enough to stay in the same case. or, exit the case if all conditions are not achieved, not only one

From int start (which returns value) to be void OnTick (which don't returns values)

I have an old code MQL4 indicator, I want to use it to create EA but in new MQL4 language. How to change this part of the code from int start() (which returns value) to be void OnTick (which don't returns values) ? int start() { if ( Bars <= 10 ) return ( 0 ); ExtCountedBars=IndicatorCounted();

how to code this in MQL4 "if total opened positions = 2, set buy stop position" ?

Hi, I need a help, I'm still learning MQL4 , but I Stuck. how to code this in MQL4 " if total opened positions = 2, set sell stop position " ? I use this code but not working properly! for ( int i= OrdersTotal ()- 1 ; i>= 0 ; i--) { if (! OrderSelect ( 2 ,SELECT_BY_POS,MODE_TRADES))