The Date func has only “=” and “” operators and does not has greater or lesser than operator. May be I have misunderstood your reply.
I tried both “=” and “” and not the results I am looking for.
I have attached my sqw file, are you able to show me how to do this right? Thanks very much.
EMA 10(D1) > EMA 20(D1)
Date > 14 Aug 2014
I would like the signal to appear after 14 Aug 2014 so that the chart is not clustered with signals.Attachments in this forum are visible only for registered users.
The problem is that Date function returns date as a text only, so it cannot be compared to be bigger or smaller.
But there is a simple way how to compare a date, use:
Time > Custom Function: StrToTime(“2014.08.14”)
date format for StrToTime is is yyyy.mm.dd.
I’m attaching your strategy with this change.Attachments in this forum are visible only for registered users.
You must be logged in to reply to this topic.