Reply To: ROC in date ranges

Optuma Forums Optuma Scripting ROC in date ranges Reply To: ROC in date ranges

#50663
Mathew
Mathew
  • Topics: 16
  • Replies: 919
  • Posts: 935

Hi Gerard,

This is an interesting one. There will need to be two components to it:

  1. A signal when the planet enters and exits the sign.
  2. How long has it been since each signal.

Here is a script that does that for Mercury in Libra (180 – 210)

p1 = PVAL(PLANET=[Mercury]);

// get a signal for entering and exiting the sign
s1 = p1 AngleCrossesAbove 180;
s2 = p1 AngleCrossesAbove 210;

// how long has it been since those signals
t1 = TIMESINCESIGNAL(s1);
t2 = TIMESINCESIGNAL(s2);

// what is the difference in times – that will be how long it took to traverse the sign.
t1 – t2

Hope that helps

Mathew

 

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close