Hello,
My algo is running in M1 time frame but I would like to add a buying condition based on the M30 time frame,
If price> Moving avg [time frame M30] -> buy
If anyone has any idea how to code that it would be so niiiiice 🙂
Thanks
I think the best you can do until multi timeframe support comes along is to create an Average that is 30 x the MA period you require. It is not quite the same thing as it contains all the intermediate values but should be close enough.