Optuma Forums › Optuma Scripting › How to calculate positive and negative divergences › Reply To: How to calculate positive and negative divergences
April 3, 2021 at 10:17 am
#63297
- Topics: 15
- Replies: 20
- Posts: 35
Is it possible to use the TIMESINCESIGNAL command in the following way?
TIMESINCESIGNAL (Sig1 and Sig2) <3
(I would like to find divergence that has occurred on the current bar or the previous two bars.)
I assume I’m not able to do this as I’m not getting correct results. Is there a better way to do this?
Thanks
Steve