Forum

I need a programmer to colaborate with me to finish and to improve a good strategy that is codified already, but have some problems in real account.

Hi, I am testing my strategy and I have good results in my test, but when I test my code in real, I have problem that I can't solve. I would like to share my code and ideas with you, and I would like to know if you will help me to solve the little problem and to improve the strategy, because I think

how to know the price of the penultimate active order?

Hi, I need to know the price of the penultimate order active. The code below is the code to know the price or the last order active, but I need to know the price of the previous order. How can I know it? double retorno_precio_apertura_ult( int NMagb, int NMags) { int num3= 0 ; int ot3= 0 ; double

I want to select an order and modify their volume.

Hi, I have one EA working and I'm trying to modify one order, the case is as follows : I want to select an order and modify their volume . For example if I have a working order BUY sent to volume 1 and I want to select it and close half of its volume , ie I select this order BUY of volume 1 , and

range bars.

Hi, I am doing an Expert working with range bars , but I want to include the code range bars inside my EA, because I don't want to have to install it separately . Is this possible ? Thanks

know the profit of two overlapping contrary orders on the same underlying, for example eurusd.

Hello , I want to know the profit of my current order , but I can not to know the profit when I have two contrary orders open on the same underlying . For example to find the profit of a buy order in the eurusd use the function: int retorno_profit_buy( int NMagb) { int resultprofitb; RefreshRates

How to know the price of the last active order?

hello , try to know the price of the last active order . For example if I have three buy orders active, only know the price of the first buy order entered , not the last , the function I use is: double retorno_precio_apertura(int NMagb) { double resultprecioultimaorden; RefreshRates(); if(

I need a function to add orders when pass a number of ticks determined by my.

I need a function to accumulate orders, for example if I have a purchase order, and the market is going up, and up 20 pips above my active order, I have to enter another order. If again after 20 pips above this last another order, another order released. So until I get the state to close all orders

I need to know the price of the orders I have in the market to decide what to do with them if they are winners.

I need to know the price of the orders I have in the market to decide what to do with them if they are winners. I need the function to know the price they have when I have to get another order to decide whether or not you can help me

problem with order send.

Hi, I have a little problem when I send my order in the EA. This order not works properly in all kinds of markets, the order however works fine on the EUR/USD. I need to change any part of the order to work properly in other markets than the EUR/USD? May be I need put the stoplosss or the take

I need help about how to test automatic system with candles range in the strategy tester.

Hi, I am doing an automatic system and I need to test it. I can do it in 1, 5, 30, etc minutes candles, but I can´t to test it in range candles, because the metatrader is not able to do in this kind of candles. Do you know if is possible to insert this kind of candles in the strategy tester ? How