Forum

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

Expert calling other expert

Hi everybody, I would like to know if it is possible to call an expert inside of another expert

Indicator is slow and don't work in other time than 1 hour, why?

Hi, I was trying to built the Acceleration Bands indicator. I finished it, it looks okay, except by it does not seems to work in other time than 1 hour and takes long time to plot into the chart. If someone knows why, please help. I will provide it for free in this forum. Thank you rodrigosm

OrderSend error 4051, can you help me?

Hi, my expert gives me the error 4051, so, there is some problem with the lot amount, but I could not fix it, can you help me out? The expert was working fine until I put this function into the order send. Thanks ticket= OrderSend ( Symbol (), OP_SELL

How can I get the last trades results into an expert

Hi, I would like to get the last trades profit and loss that my expert had, how can I do that? Thanks

My expert starts a long position and finishes it in a few seconds, why?

I really don’t understand why my expert buy and sell the same symbol in 2 or 3 seconds, there is no reason for that in my formula. But, for sure I’m doing a mistake, I only don’t know where. Can you help me out with it? Thanks #property copyright "" #property link "" //---- EMAAngle indicator

Problem to build a function RSI (CCI)

Hi everybody, I was trying to build an indicator that calculates the RSI from a CCI indicator. The main problem is that I don’t know why this indicator doesn’t calculates in real time properly. When I open in real time, only the past data is ok, every new tick that is received change dramatically

Why I need to compile all the time the indicator?

Hi, I was trying to normalize the ATR between the values 0 and 100. 0 - to the lowest value and 100 to the greatest. I did the formula, but all the time, the indicator change to zero, and only the end start to move. I don' t have Idea why it’s happening. It only works when I compile it, but I need

How to send only one order per bar?

Hi, I was trying to send only one order to each bar. But, I’m having some problems with that, since my EA still sending millions of orders. My code is : Orders_total= OrdersTotal (); //---- Checking for orders ----// for ( int z = Orders_total - 1 ; z >= 0 ; z -- ) // checking for orders {

The indicator does not plot on the screen any other signal until I click on the compile

Hi friends, I’ve been trying to solve a problem in one of my indicator but I cannot solve it for while. When I plot the indicator It shows past results correctly. The problem occurs in real time, since the indicator does not plot on the screen any other signal until I click on the compile