rodrigosm
rodrigosm
rodrigosm
Added topic Highest Value in an array
I would like to know where I am doing a mistake in this formula, I couldn't find it. It is only showing the first buffer - Impulse[]. .Thanks. Rodrigosm #property copyright "Copyright © 2010, MetaQuotes Software Corp." #property
rodrigosm
Added topic Expert based on a Indicator
Hi, sorry to bother you again guys with my questions. I've been building experts based on the below structure. It worked for one strategy, and so, I was trying to use the same framework to another expert. I always build an indicator to show -1 for
rodrigosm
Added topic Indicator disappears
Hi everybody, I've been build some indicators, but most of them have the same errors: Just at the moment when a new bar appears, the indicator shows zero. If a new tick comes, the indicator come back to it's normal value. If I change the time frame
rodrigosm
Added topic Non-static Take Profit
Hi, I would like to know if the function OrderSend accepts inside the field "Take Profit" a variable value. For example: I want to close a buy order if price is greater than a moving average. I did like this: I read that in an EA the
rodrigosm
Added topic checking the number of Lot's
Hi, I would like to know how can I check the number of Lot's of each "security" that I have at the moment on may account. I was trying MarketInfo, but it not returns any direct information. Any idea? Thanks Rodrigosm
rodrigosm
Added topic indicator error - initialization
Hi everybody, I was trying to realize where is the problem on this indicator formula. When I insert it on the graphic, it's plot two horizontal lines , so, I have to open the code and click again on "Compile" button. Another problem is
rodrigosm
Added topic Replace Buffers for Arrays
Hi everybody Every time that I need to find a value for an array [] I have been using buffers, even if I don´t need to plot a line. That´s a big problem, once there are a limited number of buffers to be used. When I try to replace it for a common
rodrigosm
Added topic #include response latency
Is there any difference in response latency (trade latency) between using the #include method to get other DLLs functions and writing all in only one code? Thanks
rodrigosm
Added topic Expert calling other expert
Hi everybody, I would like to know if it is possible to call an expert inside of another expert
rodrigosm
Added topic very simple question - array
Hi all, I'm trying to do a very simple function, but without success this is the function: double hold_trade[]; int start() { for( int i=0; i<10; i++) { hold_trade[i] = i; Print(hold_trade[i]); } } This function is printing 0, instead of
rodrigosm
Added topic Absolute file path error in Win7
I'm trying to open a file using FileOpen() function in Win7 (running the terminal as a administrator) but I'm getting a "absolute file path not allowed" error. Does anybody has any idea of how to solve this matter? Thanks Rodrigo
rodrigosm
Added topic Help with Gap formula
Hi, I´m trying to find the points value of a gap. I already wrote it, but it did not work. Could you show me please, where I'm doing a mistake? //+------------------------------------------------------------------+
rodrigosm
Added topic Change to a Multi Time Frame indicator
I was trying to adapt the divergence formula to a multi time frame indicator, but I'm having some problems to make it works correctly. The formula is below. Any idea where I'm committing a mistake? Thanks
rodrigosm
Added topic Find the highest value of an indicator in a period X
Hi, I'm trying to find a value for the RSI highest value in 20 bars. I can't use "iHighest(NULL,0,RSI_Buffer[i],20,i), because it accepts only OPEN/LOW/HIGH/CLOSE/VOLUME/TIME. How can I find it? Thanks
rodrigosm
Added topic Flat Market Indicator
I was trying to do the Flat Market indicator Formula, but there is an error in the formula and I don't know where, the result is that it's not showing any value. The code is bellow. Can you help me out with this
rodrigosm
Added topic How to calculate a Awesome's average?
Hi everybody, I was trying to calculate a simple average of 3 periods of Awesome indicator, but it's never appears on the screen. I don' t know why it's happening. Here it is: //+------------------------------------------------------------------+
rodrigosm
Added topic Need help in a simple formula +1;-1;0
Hi, I'm new on metatrader stuff, and I'm trying to change some indicators, make some signals with some of them, but It's a little bit confusing. I would like to my indicator show 1 when the High is above accelaration upperband, and plot -1 when it's
12