rodrigosm / Profile
rodrigosm
Added topic 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
![Thad Padilla Thad Padilla](https://c.mql5.com/avatar/avatar_na2_micro.png)
Thad Padilla
2021.08.20
rvkejjf rbckj ekfddkebsfdbgfc ds
rodrigosm
Added topic 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 ()
rodrigosm
Added topic 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
rodrigosm
Added topic 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 ""
rodrigosm
Added topic 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
rodrigosm
Added topic 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
rodrigosm
Added topic 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 =
rodrigosm
Added topic How can I execute a calculus only once per bar
Hi, I would like to know how can I execute a calculus only once per bar. I was trying to compare current time to last bar beginning time, but it did not work and to me it makes no sense. I already read others posts here, but I could not find any
rodrigosm
Added topic Problems to change some formulas from MQL4 to MQL5
Hi everybody, I’m trying to change some formulas from MQL4 to MQL5, but I’m having some problems with that. It’s my first trying. Could you please check my formula and inform me where my mistake is? It did not plot a line. Thanks
rodrigosm
Added topic Where I can get more data in good quality?
Hi, I’m running some back test in 15 minutes chart, but I can only go back to 2009. I need more data than that to see how my model would behave in a very bear market, like 2008. Where I can get more data in good quality? I can buy it if necessary
rodrigosm
Added topic 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
rodrigosm
Added topic Is it possible to build an indicator simulating my account balance?
Hi, I would like to simulate my trading account as an indicator, is it possible
rodrigosm
Added topic Problem to change an ARROW for a LINE
I was breaking my head trying to do a very simple thing: Change an arrow style for a line style. I usually change only the SetIndexStyle, but this time it didn’t work, and the indicator disappear. Do you know where my mistake is? #property
rodrigosm
Added topic Bar Counting
I would like to count bars since an event occurs. I used a flag showing the time of the event and I insert it on the formula iBarShift. I don’t know where my mistake is, but the result is always the same, and don’t start with 0, 1, 2… I think that is
rodrigosm
Added topic Inverting unprofitable systems to generate a profitable one
I built a system, very unprofitable. The exit point is based on fixed take profit and stop loss. Then, I decided to invert the system waiting for a profit. But, not like I was thinking, the system still as the same. If the trade don’t have fixed take
rodrigosm
Added topic How to close a trade one bar after the entry point?
Hi, I would like to know how can I close my orders at the next bar of my entry point. Thanks
rodrigosm
Added topic Problem with Trailing Stop
Hi, I was implementing a trailing stop on an expert. I did it based on an indicator called " BBands_Stop_v2 " (I will post the code below). When a backtest the expert in a visual mode I can see the trailing stop line, but it never works
rodrigosm
Added topic Looping For
I built an indicator that shows +1 when stochastic is above +80 and shows -1 whent it's below +20. I would like to biult one other indicator which sum +1 for each time the stochastic remains above +80 and sum -1 for each time the stochastic still
rodrigosm
Added topic Taking Profit based on event
I was trying to figure out why this take profit is not working. The take profit is based on event which plot only "-1", "0" and "1". The buy side will get out when iCustom plot 1 and stay waiting for a signal if it's
: