indicator2 = Average[20](close) c2 = (close = indicator2) IF c2 THEN SELL AT MARKET ENDIF
can i set the 5 min close price hit 1 hour indicator then exit the market?
Hi. No unfortunately no. your conditions are tested at each run. if your timeframe is 1 H then it’s tested every 1 hour.
We need wait until multiframe time support for this to work- or scale your code down to 5 min TF and multiply your indicators to the match 1 H timeframe.
cheers Kasper