I have an issue with my entry trigger.
I would like to set a entry trigger when 2 candles above the high of the Low bar, the entry trigger it is active.
It can also happen that there are several candles above or in the Range, then the trigger also should be activated.
It can be for example 10 candles, how can I put it in code?
For better understanding look at the attached picture.
specific example in the attached picture:
//Trigger
((Low[1] > Low[4] && Low[2] > Low[4]) && (High[1] > High[4] && High[2] > High[4]))
//Entry
if (CurrentBid() < Low[4])
{
EnterShort()
}
Comment