[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EL Help please - make a signal work on all bars of a given day.



PureBytes Links

Trading Reference Links

I need help with a signal please.

on intraday trading, a specific day to trade is picked out by a function which is intended to work on daily data.
then the entry signal only works on the second bar.
is there some code to make the signal work on the rest of the bars of the day?

for instance, for the first day of the month, using IF Month(date) <> Month(date[1]) then --- will only enter on one bar if the condition happens to occur, but not when the condition occurs during the rest of the day.
the if statement is only true for that second bar.
Thanks.
Greg Hunt