Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 492

 
Neelan:

Please advise how to implement this function in an EA.

Suppose an EA is running, it has opened several orders (both Buy and Sell).

We need each of the open orders to be closed It has to open them in exactly 4 bars. After it has been opened, it should be closed irrespective of the result of the trade or timeframe.

Thank you.

   if(iBarShift(Symbol(),Period(),OrderOpenTime())>4) {
      // Закрыть
      }

The order must be pre-selected

 
Who met the Expert Advisor - Extrem Bar v.1.1 and what the result from it, is there a sense to tinker with it?
 
WASI12:
Who met the Expert Advisor - Extrem Bar v.1.1 and what the result from it, is there a sense to tinker with it?

Why don't you use the search at the top right? Or are you afraid that suddenly you will not find it? Type Extrem Bar v.1.1 and be happy!
 

When can the price variable in a design (in a script)

//в шапке
input bool     IsBuy=true;//это ордер в бай?
//в OnStart()
double price = IsBuy?NormalizeDouble(Ask, Digits):NormalizeDouble(Bid, Digits);//цена открытия
OrderSend...

may become equal to zero? This happens periodically from time to time.

 
borilunad:

Why don't you use the search at the top right? Or are you too afraid you won't find it? Type Extrem Bar v.1.1 and be happy!

I tried it but not anything neshol, that's why I thought maybe someone tried it in real life, and I wanted to know the reviews of these people????, because in search engine as usual write that he is very good, although as usual, it may be a scam (another).
 
borilunad:

Why don't you use the search at the top right? Or are you too afraid you won't find it? Type Extrem Bar v.1.1 and be happy!
By the way, my search didn't turn up anything. It did, but it's not the right one.
 
WASI12:

I tried it but nothing neshol, I thought maybe someone tried it in real life, and I wanted to know the feedback of these people????, because in search engine as usual write that he is very good, but as usual, it can be a scam (another).
I am not sure how to use it. Il it is paid for nothing?
 
artmedia70:
So test it in the tester, then in the demo, what's stopping you? Or is it paid for outright?


I don't know how to use it when I'm working on it but I'm getting a signal when I need it and I don't know how to check it when I'm working on it (yet I have enough PC's for these processes))), but I got a question if someone uses it and it works in real life.)If I had a real broker who uses it, I would have to ask, if someone uses it for real, it shows its performance and I'm curious. Many traders use it and many want 300 bucks for the same version.

 
Vitek2010:
I had to ask for help again (I've been working on this for months, many programmers have tried to help, so the question is not new), so the indicator is multi-currency, works on all pairs specified in the window _market overview_, shows the amount of movement in points, all pairs that move in the direction of the previous movement are added, those against - are reduced. all works like clockwork strictly according to this algorithm, counting cycle a week. history is displayed and fixed. I am saying all this to make it clear that the indicator works as it should. But for all his calculations and shows he takes the closing bar (0 - current, +1 - previous, +2 - before the previous one), and I need to take the closing of the weekly bar (0 - current, +1 - previous, +2 - before the previous one). For those who don't understand, it is a weekly bar close, and not a weekly bar size close (in seconds, minutes, hours, days). The indicator will be set on a shorter timeframe than the weekly one. Two more indicators I have created I can explain each line
MQL-code:
I'm waiting for help.

I'm looking for help. No one is interested in solving this problem, or there are no experts at that level:
 
Vitek2010:

Guys, no one is interested in solving this problem or there are simply no specialists at this level :

The closing of the weekly 1st bar can only be detected at the opening of the weekly 0th bar.

iBarShift() will help you

Reason: