Forum

Find second strongest value from array

How to find second max/min value from array? (first down from strongest valute) This is my code for max/min values: int num_array1[8]; num_array1[1]=USDstrenght; num_array1[2]=EURstrenght; num_array1[3]=JPYstrenght; num_array1[4]=CADstrenght;

How take indicator value exactly at OrderSend moment, MT4

Please coders, help, Im not so experienced in MT4 coding. I wont to take and show in EA, RSI value at moment of opening ticket, OrderSend. My EA opens tickets in RSI range 30-70, but I need to know RSI value exactly in OrderSend moment and show that value in Chart for analysing and optimising

MQ4, array problem, error: constant expression required

Please help some experienced coder. After compiling get error constant expression required. Problem is in array, strenghts is in pips. My idea is to get stongest and weakest pairs. Code: int num_array1[8]