Crossover if previous value was equal and current value is high #773
bhavesh0009
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have data of Close and Previous Day High, and I wrote code like following
Of course my first condition is true and when it searches for a crossover it is not generating any trade. It may be because the previous close was equal to PDH and the current close is greater than PDH. Is there anyway to generate trade in such a scenario as well?
Beta Was this translation helpful? Give feedback.
All reactions