i am new to programming and just getting started in putting a strategy together that i was trading "by hand" recently.
i need to filter out highs and lows for specific timeframes (say 9:00am to 17:00pm) not only for the previous day, but also 2 and 3 days in advance.
example:
// Condition set 1
if (GetCurrentAsk() > PriorDayOHLC().PriorHigh[0])
{
EnterLong(1, "go long");
}
so what would i put to get me the high of the time between 9:00 and 17:00?
and would i put to call the same of two (or more) days earlier?
thanks so far!
Comment