[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 506

 
Martingeil:
Is Google not working or Yandex?

Probably got banned.
 
Please advise, I have 3 open orders, 2 buy and one sell, how can I change the stop loss of the buy orders?
 

Hi all!

What's the question, I'm running owls on the demo, seems to be good, I'm trying the strategy tester and the results are poor, what can I believe?

 
demlin:

Hi all!

What's the question, I'm running owls on the demo, seems to be good, I'm trying the strategy tester and the results are poor, what can I believe?


The real one
 
tripsus:
Please advise, there are 3 open orders, 2 buy and one sell, how to change the stop loss of a bay order?

Using OrderModify
 
sergeev:

realu
so the demo is more than a tester?
 
demlin:
that is more to the demo than to the tester?

the answer is simple.
1. you have today's orders on the demo.
2. Open the tester today and run your Expert Advisor.
3. will the orders appear in the same places as on the demo?
4.
 

Dear colleagues: I am writing this construct in start to make my Expert Advisor remember the high and low of the first candle of the day.

   if(TimeHour(Time[1])==HourOpen)//HourOpen=0
   {H=NormalizeDouble(High[1],Digits); L=NormalizeDouble(Low[1],Digits);  }

Then I compare (if the current price is higher or equal to the first candle's high)

if (Bid>=H)// продаем

But the Expert Advisor also sells when the price is below the H.

What have I done wrong? Can you tell me the right way?

 

Что сделал не так? Подскажите как будет правильно?

And on what period is it tested?

Again, if the condition has not worked H=0 and the sale is open.

 
splxgf:

And on what period is it tested?

Again, if the condition has not worked H=0 and the sale is open.

The period is H1.