Hi,
Im really struggling to code this entry formula
I have a trend system that when a particular stock closes above/below a 52 Week High, it enters the trade.
I want it to correlate as well with its sector
so for example
Berkshire Hathaway Closes Above Its 52 Week Highest High and Also The Financial Sector either within the last month has closed above its 52 Week Highest High.
So the entry is only valid if the stocks particular sector
has closed as well above its highest high within the last month