Forum

Orderselect last order open

Hi guys, I have a problem, i want to select the last open order and know the OrderOpenPrice, so i can do: OrderSelect(0,SELECT_BY_POS); double last_price = OrderOpenPrice It works fine but when i have 2 operations this function always returns the first operation OrderOpenPrice, I want to know the

Remote agent question

Hi all, I want to connect with a friend of mine via metatester. I want to share my CPU with him, so he can test with my computer also. We have tried lots of things, but we can't connect. Should we use our real IP? Someone tried to do this before us? By the way, I can connect my LAN computers

Volume indicator hourly based

Hi all, I was searching a volume indicator where I could see the average volume for a concrete hour. I haven't found anything. I want to know if the volume at 6p.m. is average with the last 30 days at 6p.m., do you understand me? I don't want to compare volume of today at 6p.m. with average daily

Optimization no result

My optimizations can't do all the results, do you know why?? I have some backtests under 200 optimizations working fine, but i have problems with more than 200 optimizations... I get a lot of "No result" boxes. reply

Writing to excel

Hi guys, I'm on the edge of insanity, my EA Print 3 things: initial_time max_price minimum_price Now, how can i wirte in my excel 3 columns like: Hour max price minimum price 12:31 1.3456 1.3423 etc... I need some advices or a mini-guide, i can't find anything useful for me! I'll be very greatful

Saving and extracting things

Hi guys, I was reading the forum and manuals but nothing... This is my code: for (int Count = 0; Count < OrdersHistoryTotal(); Count ++) { OrderSelect(Count, SELECT_BY_POS, MODE_HISTORY); if (OrderSymbol() == Symbol()) { double price_ini = OrderOpenPrice(); double time_ini = OrderOpenTime(); double

Saving some prices

Hi guys, I have a for function that returns me some prices. For example 1.4200, 1.4350 and 1.4400. I want to put Buylimit orders to the prices, but i have 2 troubles. I don't know how to save the prices and keep them with me because my for function only give me 1 price and not 3, I only have 1