Hello, I’m trying to create a simple buying order that uses weekly and daily data. This is the code: timeframe(weekly) a=rsi[9]> 20 timeframe(daily) b=rsi[9]>20 if a and b then buy 10000 cash at market endif if rsi[9]>70 then sell at market endif Thanks in advance, Assaf