Lowest low after 8.00

 

Hi all, I have an expert that runs on a daily graph.

The expert contains this condition: Hour()>= 8 && Hour()<=20.


I need to write the following condition.

The Low after 8.00 is < High[1], where High[1] is the previous day highest level.


Could you help me?

Thank you!

 

iHighest of the day, for 1 day only, something like


iHighest(Symbol,PERIOD_D1,MODE_HIGH)
 
The problem is not High[1] but the Low level after Hour 8.00
 
I try to explain: I need Low[0] only considering prices afert Hour 8.00
 
Alberto_jazz wrote >>
I try to explain: I need Low[0] only considering prices afert Hour 8.00

Hi Alberto,

I believe the condition you need is the following:

if(Hour()>=8 && Hour()<=20 && Low[0]<High[1]) ....

 

Sorry but it's difficult to explain.

My entry condition is Bid>High[1] between 8 and 20 o'clock.


The problem is that I don't want to trade if bid>High[1] at exactly 8 o'clock, whent the expert starts to work.

I want to trade only if bid triggers High[1] after 8 o'clock.

 
Alberto_jazz wrote >>

Sorry but it's difficult to explain.

My entry condition is Bid>High[1] between 8 and 20 o'clock.

The problem is that I don't want to trade if bid>High[1] at exactly 8 o'clock, whent the expert starts to work.

I want to trade only if bid triggers High[1] after 8 o'clock.

So if before 8:00 the bid is already above the high of the previous day you don't trade during the whole day right?

Ok, I think this is what you need:

if(Hour()>=8 && Hour()<=20 && iHigh(NULL,60,iHighest(NULL,60,MODE_HIGH,8,Hour()-7))<High[1] && Bid>High[1]) .....

Reason: