Hi all, I´m bad coding, I try many things and fail, but keep learning. I have a condition I´m triying to code and I ask for help:.
If (priceClose(0)>SMA(200)) during the last 100 bars. How can I code It?
Do I have to write 100 times the condition?
Because if I code this;
I guess enters Long if the condition is met any time during last 100 bars, and I want to enterLong only if the whole last 100 priceClose are above SMA(200).
Thank you very much