SMA at Daily Open
Hi, how can I make conditions as follows (all at Daily Open):
Daily Open > SMA 34 at Daily Open;
SMA 34 at Daily Open > SMA 50 at Daily Open;
it could be done like this considering daily open to be the price at 00:00
Hi Thomas. Thanks for your help. When I add an alert to your conditions, it seems like it only alert once on H1 chart, at the opening of the daily bar. Meaning the conditions are only true at the daily opening bar. When the conditions are true at the daily open, how can I get the alert throughout the day on H1 chart?
I wish I could attach my strategy file and screenshot.
You need to use variable for this. See example attached
If the condition is valid at the open, strategy is allowed to trade that day. It is reset when new day begins and also our condition is tested again (every day)
Thanks very much.
Viewing 5 posts - 1 through 5 (of 5 total)