Forum

how to create five dimensional array ?

double array[ 10 ][ 9 ][ 8 ][ 7 ][ 6 ]; // this is giving me an error: // '[' - wrong dimension double array[ 10 ][ 9 ][ 8 ][ 7 ]; // this is working normally

do you have this indicator?

I found a picture of interesting indicators, unfortunately, can't find them, if anyone got them or one of them stored on his computer

MT4 Library

hello my latest research require other pairs data for the calculation of the current pair, I wrote some code but my script are slow and sometimes freezes the MT4. is there any library that can solve my problem? I know MT5 is the right solution, but my broker is still on MT4

a successful strategy

I'm wondering if there is a very good strategy, how much will it cost ? if it is very expensive, will someone buy it

I need help with "iBarShift"

hello MQLers I have done drawing the monthly and weekly pivot point but the yearly is kinda tricky, here is my code //--- int Counted_bars,i; Counted_bars= IndicatorCounted (); i= Bars -Counted_bars- 1 ; while (i>= 0 ) { shift= iBarShift ( Symbol (), PERIOD_MN1 , Time [i], 0 );

how to fill an area between two IndexBuffers

how to fill an area between two IndexBuffers like the ichimoku cloud ? a small example can be very helpful (not the entire code)

Whats wrong with this Code

I started getting ERROR 130 when not using SL and TP, there is no prob, //+------------------------------------------------------------------+ void Buy( double lot, int magic){ int tp= NormalizeDouble ( Bid + 100 * Point , Digits ); int sl= NormalizeDouble ( Bid - 100 * Point , Digits ); if (

I Calculated PivotPoint, Support1 and Resistance1 for EURUSD using other currencies, check this indicator and give a feedback

Hello MQL please give a feedback on this Indicator it calc pivot point and R1 and S1 using the standard method and this method this method is simple math : EURGBP*GBPUSD=EURUSD , EURJPY/USDJPY=EURUSD ... #property indicator_chart_window #property indicator_buffers 0

Moving Average for the only last two days

hi guys ‌‌have anyone seen a modified moving average, I need one the gimme the MA of the only last one or two days if I apply it to short TF, and last week or two weeks if it is in for hours TF l‌ink or a hint on code will be good t‌hank you